forked from Wicklets/wick-editor-2018
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
289 lines (250 loc) · 13.7 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
<!-- Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli -->
<!-- This file is part of Wick.
Wick is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Wick is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Wick. If not, see <http://www.gnu.org/licenses/>. -->
<!DOCTYPE html>
<html>
<head>
<title>Wick Editor</title>
<!-- Google analytics -->
<!-- THIS IS TEMPORARY DONT KILL ME PLZ -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-88233944-1', 'auto');
ga('send', 'pageview');
</script>
<link rel="stylesheet" type="text/css" href="styles/editor.css">
<link rel="stylesheet" type="text/css" href="styles/timeline.css">
<link rel="stylesheet" type="text/css" href="styles/scriptingide.css">
<link rel="stylesheet" type="text/css" href="lib/skin-win8/ui.fancytree.css">
<link rel="stylesheet" type="text/css" href="styles/library.css">
<link rel="stylesheet" type="text/css" href="styles/inspector.css">
<link rel="stylesheet" type="text/css" href="styles/toolbar.css">
<link rel="stylesheet" type="text/css" href="styles/colorpicker.css">
<link rel="stylesheet" type="text/css" href="styles/textBox.css">
<link rel="stylesheet" type="text/css" href="lib/rangeslider.css">
<link rel="stylesheet" type="text/css" href="lib/nouislider.css">
<link rel="stylesheet" type="text/css" href="lib/spectrum.css">
<link rel="stylesheet" type="text/css" href="styles/progressBar.css">
<link rel="stylesheet" type="text/css" href="styles/videoExporter.css">
<script src="lib/jquery.min.js"></script>
<script src="lib/jquery-ui.custom.min.js"></script>
<script src="lib/jquery.fancytree.js"></script>
<script src="lib/jquery.fancytree.filter.js"></script>
<script src="lib/potrace.js"></script>
<script src="lib/paper-full.js"></script>
<script src="lib/paperholefinder.js"></script>
<script src="lib/beautify.js"></script>
<script src="lib/FileSaver.min.js"></script>
<script src="lib/jscolor.js"></script>
<script src="lib/libgif.js"></script>
<script src="lib/lz-string.min.js"></script>
<script src="lib/jszip.min.js"></script>
<script src="lib/screenfull.js"></script>
<script src="lib/rangeslider.min.js"></script>
<script src="lib/gif.js"></script>
<script src="lib/gif.worker.js"></script>
<script src="lib/whammy.js"></script>
<script src="lib/filedownloader.js"></script>
<script src="lib/URLParameterUtils.js"></script>
<script src="lib/keyCharToCode.js"></script>
<script src="lib/timer.js"></script>
<script src="lib/canvasutils.js"></script>
<script src="lib/polyfills.js"></script>
<script src="lib/fpscounter.js"></script>
<script src="lib/base64-arraybuffer.js"></script>
<script src="lib/random.js"></script>
<script src="lib/Tween.js"></script>
<script src="lib/lerp.js"></script>
<script src="lib/bowser.js"></script>
<script src="lib/howler.min.js"></script>
<script src="lib/pixi.4.5.6.min.js"></script>
<script src="lib/scrollbar.js"></script>
<script src="lib/nouislider.js"></script>
<script src="lib/soundcloud-waveform.js"></script>
<script src="lib/html2canvas.js"></script>
<script src="lib/localstoragewrapper.js"></script>
<script src="lib/ace/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="lib/ace/ext-language_tools.min.js" type="text/javascript" charset="utf-8"></script>
<script src="lib/spectrum.js"></script>
<script src="lib/pressure.min.js"></script>
<script src="lib/WickEditorInputs.js"></script>
<script src="lib/idb-keyval-min.js"></script>
<script src="lib/offset.js"></script>
<script src="lib/floodfill.min.js" type="text/javascript"></script>
<script src="lib/webfont.js" type="text/javascript"></script>
<script src="lib/video-export/videoExporter.js" type="text/javascript"></script>
<script src="lib/croquis.js"></script>
<script src="src/project/WickDocs.js"></script>
<script src="src/project/WickFrame.js"></script>
<script src="src/project/WickLayer.js"></script>
<script src="src/project/WickObject.js"></script>
<script src="src/project/WickAsset.js"></script>
<script src="src/project/WickProject.js"></script>
<script src="src/project/WickProject.Exporter.js"></script>
<script src="src/project/WickProject.Compressor.js"></script>
<script src="src/project/WickProject.AssetLibrary.js"></script>
<script src="src/project/WickTween.js"></script>
<script src="src/editor/interfaces/Interfaces.Canvas.js"></script>
<script src="src/editor/interfaces/Interfaces.Canvas.Interactive.js"></script>
<script src="src/editor/interfaces/Interfaces.Canvas.Backdrop.js"></script>
<script src="src/editor/interfaces/Interfaces.Canvas.Fast.js"></script>
<script src="src/editor/interfaces/Interfaces.Canvas.ImageRenderer.js"></script>
<script src="src/editor/interfaces/Interfaces.Library.js"></script>
<script src="src/editor/interfaces/Interfaces.BuiltinPlayer.js"></script>
<script src="src/editor/interfaces/Interfaces.RightClickMenu.js"></script>
<script src="src/editor/interfaces/Interfaces.ScriptingIDE.js"></script>
<script src="src/editor/interfaces/Interfaces.ScriptingIDE.Reference.js"></script>
<script src="src/editor/interfaces/Interfaces.Timeline.js"></script>
<script src="src/editor/interfaces/Interfaces.Timeline.FramesContainer.js"></script>
<script src="src/editor/interfaces/Interfaces.Timeline.Interactions.js"></script>
<script src="src/editor/interfaces/Interfaces.Timeline.LayersContainer.js"></script>
<script src="src/editor/interfaces/Interfaces.Toolbar.js"></script>
<script src="src/editor/interfaces/Interfaces.Inspector.js"></script>
<script src="src/editor/interfaces/Interfaces.Inspector.Properties.js"></script>
<script src="src/editor/interfaces/Interfaces.Inspector.InputTypes.js"></script>
<script src="src/editor/interfaces/Interfaces.MenuBar.js"></script>
<script src="src/editor/interfaces/Interfaces.Breadcrumbs.js"></script>
<script src="src/editor/interfaces/Interfaces.AlertBox.js"></script>
<script src="src/editor/interfaces/Interfaces.CursorIcon.js"></script>
<script src="src/editor/interfaces/Interfaces.EditorSettings.js"></script>
<script src="src/editor/interfaces/Interfaces.Credits.js"></script>
<script src="src/editor/interfaces/Interfaces.ColorPicker.js"></script>
<script src="src/editor/interfaces/Interfaces.TextEditBox.js"></script>
<script src="src/editor/interfaces/Interfaces.VideoExporter.js"></script>
<script src="src/editor/tools/Tools.SelectionCursor.js"></script>
<script src="src/editor/tools/Tools.VectorCursor.js"></script>
<script src="src/editor/tools/Tools.FillBucket.js"></script>
<script src="src/editor/tools/Tools.Pencil.js"></script>
<script src="src/editor/tools/Tools.Paintbrush.js"></script>
<script src="src/editor/tools/Tools.Eraser.js"></script>
<script src="src/editor/tools/Tools.Rectangle.js"></script>
<script src="src/editor/tools/Tools.Ellipse.js"></script>
<script src="src/editor/tools/Tools.Line.js"></script>
<script src="src/editor/tools/Tools.Pen.js"></script>
<script src="src/editor/tools/Tools.Dropper.js"></script>
<script src="src/editor/tools/Tools.Text.js"></script>
<script src="src/editor/tools/Tools.Zoom.js"></script>
<script src="src/editor/tools/Tools.Pan.js"></script>
<script src="src/editor/WickEditor.js"></script>
<script src="src/editor/WickEditor.Settings.js"></script>
<script src="src/editor/WickEditor.WickActionHandler.js"></script>
<script src="src/editor/WickEditor.GuiActionHandler.js"></script>
<script src="src/editor/WickEditor.InputHandler.js"></script>
<script src="src/player/WickPlayer.js"></script>
<script src="src/player/WickPlayer.PixiRenderer.js"></script>
<script src="src/player/WickPlayer.HowlerAudioPlayer.js"></script>
<script src="src/player/WickPlayer.InputHandler.js"></script>
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Anonymous+Pro" />
<script>
$(document).ready(function() {
window.wickEditor = new WickEditor();
});
</script>
</head>
<body>
<div class="alpha-warning">
<script>function hideWarning () { var e = document.getElementsByClassName('alpha-warning')[0];e.style.pointerEvents='none';e.style.display='none'; }; if (localStorage.hideWarning) { hideWarning(); };</script>
<div class="alpha-warning-text">
NOTE: The Wick Editor is currently in open beta!<hr class="alpha-warning-hr" />Please report all bugs on <a class="forums-link" href="http://forum.wickeditor.com/" target="_blank">the forums</a>.
</div>
<div class="alpha-warning-closebutton" onclick="localStorage.hideWarning='true';hideWarning();"></div>
</div>
<div class="noselect">
<!-- Hidden element to always be selected so browser always fires copy/paste events -->
<input id="hidden-input" class="hidden" type="text" value="" />
<!-- Hidden element that gets clicked by other divs to open file dialog -->
<input type="file" class="hidden" id="importButton" />
<div id="alert-box" class="GUIBox">
<div class="alert-box-icon"></div>
<div class="alert-box-text"></div>
</div>
<div id="editor">
<div tabindex="1" id="editorCanvasContainer">
<div id="previewRenderContainer"></div>
</div>
<div id="cursorIcon" class="GUIBox"></div>
<div id="timelineGUI" class="GUIBox"></div>
<div id="breadcrumbsGUI" class="GUIBox"></div>
<div id="editorSettingsGUI" class="GUIBox">
<div class="editorSettingsGUITitle">Keyboard Shortcuts</div>
<div class="editorSettingsGUICloseButton"></div>
<div class="editorSettingsGUIHotkeys"></div>
</div>
<div id="videoExportGUI" class="GUIBox">
</div>
<div id="editorCreditsGUI" class="GUIBox">
<div class="editorCreditsCloseButton"></div>
<div class="editorCreditsContent"></div>
</div>
<div id="toolbarGUI" class="GUIBox">
<div id="tools"></div>
</div>
<div id="inspectorGUI" class="GUIBox">
<div class="inspector-title-bar">
<div class="inspector-selection-icon"></div>
<div class="inspector-selection-title"></div>
</div>
<div class="inspector-allitems-container">
<div class="inspector-properties-container"></div>
<div class="inspector-buttons-container"></div>
</div>
<div id="treeContainer">
<div id="asset-library-title">Asset Library</div>
<div id="treeFilterContainer">
<input id="treeFilterInput" type="text" placeholder="filter...">
</div>
<div id="tree"><ul></ul></div>
<div id="treeOptionsContainer">
<div class="tooltipElem assetLibraryButton" id="deleteAssetButton" alt="Delete Asset"></div>
<div class="tooltipElem assetLibraryButton" id="renameAssetButton" alt="Rename Asset"></div>
</div>
</div>
</div>
<div id="scriptingGUI" class="GUIBox">
<div id="scriptObjectDiv">
<div id="scriptEditor"></div>
<div id="scriptEditorSidebar">
<!--<div id="scriptEditorObjectName"></div>
<img id="scriptEditorObjectThumbnail" />-->
<div id="scriptEditorReference"></div>
</div>
</div>
<div id="noSelectionDiv">
<div id="noSelectionText"></div>
</div>
<div id="scriptingIDEHeader"></div>
<div id="resizeScriptingGUIBar"></div>
<div class="elemInRow">
<div class="button buttonInRow tooltipElem" id="beautifyButton" alt="Beautify Code"></div>
<div class="button buttonInRow tooltipElem" id="expandScriptingGUIButton" alt="Expand Scripting IDE"></div>
<div class="button buttonInRow tooltipElem" id="minimizeScriptingGUIButton" alt="Collapse Scripting GUI"></div>
<div class="button buttonInRow tooltipElem" id="closeScriptingGUIButton" alt="Close Code Tab"></div>
<div class="button buttonInRow tooltipElem" id="openScriptingGUIButton" alt="Open Code Tab"></div>
</div>
</div>
<div id="colorPickerGUI" class="GUIBox"></div>
<div id="dropFileMessage"><div id="dropFileMessageImage"></div></div>
</div>
<div id="builtinPlayer">
<div id="builtinPlayerGUI" class="GUIBox">
<div class="tooltipElem" id="closeBuiltinPlayerButton" alt="Close project"></div>
<div id="builtinPlayerProjectInfo"></div>
</div>
</div>
<div id="tooltipGUI" class="GUIBox tooltip"></div>
<div id="wick-editor-version"></div>
</div>
</body>
</html>