2012-08-23 02:57:35 +04:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
|
|
|
|
|
<title>Piskel</title>
|
|
|
|
<meta name="description" content="">
|
|
|
|
<meta name="author" content="Julian Descottes">
|
2012-09-02 02:44:55 +04:00
|
|
|
|
2012-08-23 02:57:35 +04:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2012-09-05 01:48:02 +04:00
|
|
|
<link rel="stylesheet" href="css/reset.css">
|
2012-08-23 02:57:35 +04:00
|
|
|
<link rel="stylesheet" href="css/style.css">
|
2012-09-05 01:48:02 +04:00
|
|
|
<link rel="stylesheet" href="css/tools.css">
|
2012-09-08 01:24:48 +04:00
|
|
|
<link rel="stylesheet" href="css/preview-film-section.css">
|
2012-08-23 02:57:35 +04:00
|
|
|
|
|
|
|
|
|
|
|
</head>
|
2012-08-27 04:05:13 +04:00
|
|
|
<body>
|
2012-09-02 02:44:55 +04:00
|
|
|
|
2012-09-05 01:48:02 +04:00
|
|
|
<!-- Tool section: -->
|
2012-09-15 22:25:45 +04:00
|
|
|
<div id="menubar" class="menubar">
|
2012-09-05 01:48:02 +04:00
|
|
|
<ul class="tools-group">
|
2012-09-15 22:25:45 +04:00
|
|
|
<!-- TODO: Remove that from here or change CSS class naming since
|
|
|
|
they are framesheet level actions, not tools -->
|
2012-09-05 01:48:02 +04:00
|
|
|
<li class="tool-icon tool-save" data-tool-id="tool-save" title="Save" onclick="piskel.storeSheet()"></li>
|
|
|
|
<li class="tool-icon tool-add-frame" id="add-frame-button" data-tool-id="tool-add-frame" title="Add a frame"></li>
|
|
|
|
</ul>
|
2012-09-02 02:44:55 +04:00
|
|
|
|
2012-09-15 22:25:45 +04:00
|
|
|
<ul id="tools-container" class="tools-group"></ul>
|
2012-09-05 01:48:02 +04:00
|
|
|
|
|
|
|
<ul class="tools-group">
|
|
|
|
<li class="tool-icon tool-palette" data-tool-id="tool-palette" title="Color palette">
|
|
|
|
<ul id="palette" class="palette">
|
|
|
|
<span class="palette-color transparent-color" data-color="TRANSPARENT" title="Transparent"></span>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="tool-icon tool-color-picker">
|
|
|
|
<input id="color-picker" class="color {hash:true}" type="text" value="" />
|
2012-09-07 00:37:19 +04:00
|
|
|
<input id="secondary-color-picker" class="color {hash:true}" type="text" value="" />
|
2012-09-05 01:48:02 +04:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<ul class="tools-group">
|
|
|
|
<li class="tool-preview-fps">
|
|
|
|
<input id="preview-fps" type="range" min="1" max="24" value="12" style="width:200px;"/>
|
|
|
|
<span id="display-fps">12 fps</span>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2012-09-09 01:43:16 +04:00
|
|
|
|
|
|
|
<ul class="tools-group">
|
|
|
|
<li class="tool-grid">
|
|
|
|
<input id="show-grid" type="checkbox"/>
|
|
|
|
<label for="show-grid">Show grid</label>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2012-09-05 01:48:02 +04:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class='left-nav'>
|
2012-09-02 02:44:55 +04:00
|
|
|
<!-- List of frames: -->
|
2012-09-08 01:24:48 +04:00
|
|
|
<ul class="preview-list" id="preview-list"></ul>
|
2012-08-23 02:57:35 +04:00
|
|
|
</div>
|
2012-09-02 02:44:55 +04:00
|
|
|
|
2012-09-05 01:48:02 +04:00
|
|
|
<div class='main-panel'>
|
2012-09-02 02:44:55 +04:00
|
|
|
<!-- Drawing area: -->
|
2012-08-31 12:45:07 +04:00
|
|
|
<div id="drawing-canvas-container" class="drawing-canvas-container canvas-container">
|
2012-08-27 04:05:13 +04:00
|
|
|
<div class="canvas-background"></div>
|
|
|
|
</div>
|
2012-09-02 02:44:55 +04:00
|
|
|
|
|
|
|
<!-- Animation preview: -->
|
2012-08-23 02:57:35 +04:00
|
|
|
<div class='preview-container'>
|
2012-08-27 04:05:13 +04:00
|
|
|
<div id='preview-canvas-container' class="canvas-container">
|
|
|
|
<div class="canvas-background"></div>
|
|
|
|
</div>
|
2012-08-23 02:57:35 +04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="cursorInfo"></div>
|
2012-08-30 02:48:22 +04:00
|
|
|
|
2012-09-02 02:44:55 +04:00
|
|
|
<!-- Core libraries: -->
|
2012-08-30 02:48:22 +04:00
|
|
|
<script src="js/lib/jquery-1.8.0.js"></script>
|
2012-09-08 04:50:59 +04:00
|
|
|
<script src="js/lib/jquery-ui-1.8.23.custom.js"></script>
|
2012-08-31 12:45:07 +04:00
|
|
|
<script src="js/lib/pubsub.js"></script>
|
|
|
|
|
2012-09-02 02:44:55 +04:00
|
|
|
<!-- Application wide configuration -->
|
2012-08-31 12:45:07 +04:00
|
|
|
<script src="js/Constants.js"></script>
|
|
|
|
<script src="js/Events.js"></script>
|
2012-09-02 02:44:55 +04:00
|
|
|
|
|
|
|
<!-- Libraries -->
|
2012-09-12 14:01:47 +04:00
|
|
|
<script src="js/utils/core.js"></script>
|
|
|
|
<script src="js/utils/pixelUtils.js"></script>
|
2012-08-29 00:24:58 +04:00
|
|
|
<script src="js/lib/jsColor_1_4_0/jscolor.js"></script>
|
2012-08-31 12:45:07 +04:00
|
|
|
|
2012-09-02 02:44:55 +04:00
|
|
|
<!-- Application libraries-->
|
2012-09-09 01:59:44 +04:00
|
|
|
<script src="js/rendering/DrawingLoop.js"></script>
|
2012-09-05 00:40:54 +04:00
|
|
|
<script src="js/model/Frame.js"></script>
|
|
|
|
<script src="js/model/FrameSheet.js"></script>
|
2012-09-08 17:08:00 +04:00
|
|
|
<script src="js/rendering/FrameRenderer.js"></script>
|
2012-09-05 00:40:54 +04:00
|
|
|
<script src="js/controller/DrawingController.js"></script>
|
2012-09-05 02:09:42 +04:00
|
|
|
<script src="js/controller/PreviewFilmController.js"></script>
|
|
|
|
<script src="js/controller/AnimatedPreviewController.js"></script>
|
2012-09-03 03:24:55 +04:00
|
|
|
<script src="js/LocalStorageService.js"></script>
|
2012-09-07 02:18:59 +04:00
|
|
|
<script src="js/HistoryManager.js"></script>
|
2012-09-12 14:01:47 +04:00
|
|
|
<script src="js/KeyManager.js"></script>
|
|
|
|
<script src="js/selection/SelectionManager.js"></script>
|
|
|
|
<script src="js/selection/BaseSelection.js"></script>
|
|
|
|
<script src="js/selection/RectangularSelection.js"></script>
|
2012-09-14 22:12:21 +04:00
|
|
|
<script src="js/selection/ShapeSelection.js"></script>
|
2012-09-04 00:30:53 +04:00
|
|
|
<script src="js/Palette.js"></script>
|
2012-09-03 03:24:55 +04:00
|
|
|
<script src="js/Notification.js"></script>
|
2012-09-15 00:20:00 +04:00
|
|
|
|
|
|
|
|
|
|
|
<!-- Tools-->
|
2012-08-31 12:45:07 +04:00
|
|
|
<script src="js/drawingtools/BaseTool.js"></script>
|
|
|
|
<script src="js/drawingtools/SimplePen.js"></script>
|
|
|
|
<script src="js/drawingtools/Eraser.js"></script>
|
2012-09-02 02:44:55 +04:00
|
|
|
<script src="js/drawingtools/Stroke.js"></script>
|
2012-08-31 12:45:07 +04:00
|
|
|
<script src="js/drawingtools/PaintBucket.js"></script>
|
2012-09-02 15:19:20 +04:00
|
|
|
<script src="js/drawingtools/Rectangle.js"></script>
|
2012-09-15 00:20:00 +04:00
|
|
|
<script src="js/drawingtools/Circle.js"></script>
|
2012-09-07 03:08:25 +04:00
|
|
|
<script src="js/drawingtools/Move.js"></script>
|
2012-09-14 22:12:21 +04:00
|
|
|
<script src="js/drawingtools/selectiontools/BaseSelect.js"></script>
|
|
|
|
<script src="js/drawingtools/selectiontools/RectangleSelect.js"></script>
|
|
|
|
<script src="js/drawingtools/selectiontools/ShapeSelect.js"></script>
|
2012-08-31 12:45:07 +04:00
|
|
|
<script src="js/ToolSelector.js"></script>
|
2012-09-02 02:44:55 +04:00
|
|
|
|
|
|
|
<!-- Application controller and initialization -->
|
2012-08-23 02:57:35 +04:00
|
|
|
<script src="js/piskel.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|
2012-09-05 01:48:02 +04:00
|
|
|
|