2012-08-22 22:57:35 +00: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-01 22:44:55 +00:00
|
|
|
|
2012-08-22 22:57:35 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<link rel="stylesheet" href="css/style.css">
|
|
|
|
|
|
|
|
|
|
|
|
</head>
|
2012-08-27 00:05:13 +00:00
|
|
|
<body>
|
2012-08-22 22:57:35 +00:00
|
|
|
<div class='debug left-nav'>
|
2012-09-01 22:44:55 +00:00
|
|
|
|
|
|
|
<!-- Frame actions: -->
|
2012-08-29 23:16:13 +00:00
|
|
|
<button onclick="piskel.storeSheet()" class="action-button">Save Framesheet</button>
|
2012-08-27 00:05:13 +00:00
|
|
|
<button id='add-frame-button' class="action-button">
|
2012-08-22 22:57:35 +00:00
|
|
|
Add a Frame
|
2012-08-25 00:25:44 +00:00
|
|
|
</button>
|
2012-09-01 22:44:55 +00:00
|
|
|
|
|
|
|
<!-- List of frames: -->
|
|
|
|
<ul id="preview-list"></ul>
|
2012-08-22 22:57:35 +00:00
|
|
|
</div>
|
|
|
|
<div class='main-panel'>
|
2012-09-01 22:44:55 +00:00
|
|
|
|
|
|
|
<!-- Drawing area: -->
|
2012-08-31 08:45:07 +00:00
|
|
|
<div id="drawing-canvas-container" class="drawing-canvas-container canvas-container">
|
2012-08-27 00:05:13 +00:00
|
|
|
<div class="canvas-background"></div>
|
|
|
|
</div>
|
2012-09-01 22:44:55 +00:00
|
|
|
|
|
|
|
<!-- Tool section: -->
|
2012-08-31 08:45:07 +00:00
|
|
|
<div id="tools-container" class="tools-container">
|
2012-09-01 22:44:55 +00:00
|
|
|
<div class="tool-icon tool-pen" data-tool-id="tool-pen" title="Pen tool"></div>
|
|
|
|
<div class="tool-icon tool-eraser" data-tool-id="tool-eraser" title="Eraser tool"></div>
|
|
|
|
<div class="tool-icon tool-paint-bucket" data-tool-id="tool-paint-bucket" title="Bucket tool"></div>
|
|
|
|
<div class="tool-icon tool-stroke" data-tool-id="tool-stroke" title="Stroke tool"></div>
|
2012-09-02 11:19:20 +00:00
|
|
|
<div class="tool-icon tool-rectangle" data-tool-id="tool-rectangle" title="Rectangle tool"></div>
|
2012-09-01 22:44:55 +00:00
|
|
|
|
2012-09-01 23:41:49 +00:00
|
|
|
<div class="color-tool">
|
|
|
|
<input id="color-picker" class="color {hash:true}" type="text" value=""/>
|
|
|
|
|
|
|
|
<ul id="palette" class="palette" onclick="piskel.onPaletteClick(event)">
|
|
|
|
<span class="palette-color transparent-color" data-color="TRANSPARENT" title="Transparent"></span>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2012-08-31 08:45:07 +00:00
|
|
|
</div>
|
2012-09-01 22:44:55 +00:00
|
|
|
|
|
|
|
<!-- Animation preview: -->
|
2012-08-22 22:57:35 +00:00
|
|
|
<div class='preview-container'>
|
2012-08-27 00:05:13 +00:00
|
|
|
<div id='preview-canvas-container' class="canvas-container">
|
|
|
|
<div class="canvas-background"></div>
|
|
|
|
</div>
|
2012-08-25 00:25:44 +00:00
|
|
|
<div>
|
2012-08-29 11:46:57 +00:00
|
|
|
<input id="preview-fps" type="range" min="1" max="24" value="12" style="width:200px;"/>
|
|
|
|
<span id="display-fps">12 fps</span>
|
2012-08-25 00:25:44 +00:00
|
|
|
</div>
|
2012-08-22 22:57:35 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="cursorInfo"></div>
|
2012-08-29 22:48:22 +00:00
|
|
|
|
2012-09-01 22:44:55 +00:00
|
|
|
<!-- Core libraries: -->
|
2012-08-29 22:48:22 +00:00
|
|
|
<script src="js/lib/jquery-1.8.0.js"></script>
|
2012-08-31 08:45:07 +00:00
|
|
|
<script src="js/lib/pubsub.js"></script>
|
|
|
|
|
2012-09-01 22:44:55 +00:00
|
|
|
<!-- Application wide configuration -->
|
2012-08-31 08:45:07 +00:00
|
|
|
<script src="js/Constants.js"></script>
|
|
|
|
<script src="js/Events.js"></script>
|
2012-09-01 22:44:55 +00:00
|
|
|
|
|
|
|
<!-- Libraries -->
|
2012-08-31 08:45:07 +00:00
|
|
|
<script src="js/utils.js"></script>
|
2012-08-28 20:24:58 +00:00
|
|
|
<script src="js/lib/jsColor_1_4_0/jscolor.js"></script>
|
2012-08-31 08:45:07 +00:00
|
|
|
|
2012-09-01 22:44:55 +00:00
|
|
|
<!-- Application libraries-->
|
2012-08-27 00:05:13 +00:00
|
|
|
<script src="js/frameSheetModel.js"></script>
|
2012-08-31 08:45:07 +00:00
|
|
|
<script src="js/drawingtools/BaseTool.js"></script>
|
|
|
|
<script src="js/drawingtools/SimplePen.js"></script>
|
|
|
|
<script src="js/drawingtools/Eraser.js"></script>
|
2012-09-01 22:44:55 +00:00
|
|
|
<script src="js/drawingtools/Stroke.js"></script>
|
2012-08-31 08:45:07 +00:00
|
|
|
<script src="js/drawingtools/PaintBucket.js"></script>
|
2012-09-02 11:19:20 +00:00
|
|
|
<script src="js/drawingtools/Rectangle.js"></script>
|
2012-08-31 08:45:07 +00:00
|
|
|
<script src="js/ToolSelector.js"></script>
|
2012-09-01 22:44:55 +00:00
|
|
|
|
|
|
|
<!-- Application controller and initialization -->
|
2012-08-22 22:57:35 +00:00
|
|
|
<script src="js/piskel.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|