summaryrefslogtreecommitdiff
path: root/shader-api.html
diff options
context:
space:
mode:
Diffstat (limited to 'shader-api.html')
-rw-r--r--shader-api.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/shader-api.html b/shader-api.html
index 416f21a..b860093 100644
--- a/shader-api.html
+++ b/shader-api.html
@@ -16,6 +16,13 @@ form { display: inline-block; }
#shader-name { width: 75px; }
#shader-id { width: 40px; }
a { color: #00f; }
+#help { float: right; }
+.dragging { cursor: -webkit-grabbing !important; }
+#instructions { position: absolute;top:20px;right:20px; width:190px;height:465px; box-shadow:5px 5px 10px rgba(0,0,0,0.3); background:rgba(255,255,255,0.8); display: none; cursor: -webkit-grab; }
+#instructions iframe {width: 100%;height:100%;margin:0;padding:0;border:0;}
+#instructions.dragging iframe { pointer-events: none; }
+#instructions .close { position: absolute; top: 5px; right: 5px; color: #f00; padding: 3px; border: 0;background: white; font-size: 10px; line-height: 10px; }
+
</style>
</head>
<body>
@@ -35,6 +42,7 @@ a { color: #00f; }
-->
<div id="shader-api">
+ <button id="help">help</button>
<button id="new-shader"><b>new shader</b></button>
<input type="text" id="shader-id" disabled><button id="fetch-info" disabled>info</button>
<button id="fetch-history" disabled>history</button>
@@ -74,6 +82,7 @@ a { color: #00f; }
</body>
<script type="text/javascript" src="js/vendor/acorn.js"></script>
<script type="text/javascript" src="js/vendor/jquery/jquery.min.js"></script>
+<script type="text/javascript" src="js/vendor/jquery-ui-1.10.3.custom.min.js"></script>
<script type="text/javascript" src="js/vendor/canvasquery.js"></script>
<script type="text/javascript" src="js/vendor/FileSaver/FileSaver.js"></script>
<script type="text/javascript" src="js/vendor/dataUriToBlob.js"></script>
@@ -122,4 +131,3 @@ function init(){
</script>
</html>
-- \ No newline at end of file