b89409f82e
So that the drawing canvas can expend full height
154 lines
6.4 KiB
HTML
154 lines
6.4 KiB
HTML
<!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">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="stylesheet" type="text/css" href="css/reset.css">
|
|
<link rel="stylesheet" type="text/css" href="css/style.css">
|
|
<link rel="stylesheet" type="text/css" href="css/tools.css">
|
|
<link rel="stylesheet" type="text/css" href="css/bootstrap/bootstrap.css">
|
|
<link rel="stylesheet" type="text/css" href="css/bootstrap/bootstrap-tooltip-custom.css">
|
|
<link rel="stylesheet" type="text/css" href="css/preview-film-section.css">
|
|
</head>
|
|
<body>
|
|
|
|
<div id="menubar" class="sticky-section">
|
|
<div class="wrap">
|
|
<ul id="tools-container" class="tools-wrapper"></ul>
|
|
<div class="palette-wrapper">
|
|
<div class="tool-icon tool-color-picker">
|
|
<input id="color-picker" class="color {hash:true}" type="text" value="" />
|
|
<input id="secondary-color-picker" class="secondary-color-picker color {hash:true}" type="text" value="" />
|
|
</div>
|
|
<div class="tool-icon tool-palette">
|
|
<div id="palette" class="palette">
|
|
<span class="tool-icon palette-color transparent-color" data-color="TRANSPARENT" title="Transparent"></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- TODO: remove grid -->
|
|
<div style="display:none;" class="options-wrapper">
|
|
<div class="tool-grid">
|
|
<input id="show-grid" type="checkbox"/>
|
|
<label for="show-grid">Show grid</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="column-wrapper">
|
|
<div class='left-column'>
|
|
|
|
<!-- List of frames: -->
|
|
<div class="preview-list-wrapper">
|
|
<ul class="preview-list" id="preview-list"></ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div class='main-column'>
|
|
|
|
<!-- Drawing area: -->
|
|
<div id="drawing-canvas-container" class="drawing-canvas-container canvas-container">
|
|
<div class="canvas-background"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="right-column">
|
|
<!-- Animation preview: -->
|
|
<div class='preview-container'>
|
|
<div id='preview-canvas-container' class="canvas-container">
|
|
<div class="canvas-background"></div>
|
|
</div>
|
|
<div>
|
|
<span id="display-fps" class="display-fps">12 FPS</span>
|
|
<input id="preview-fps" class="range-fps" type="range" min="1" max="24" value="12"/>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="application-actions">
|
|
<ul>
|
|
<!-- TODO: Remove that from here or change CSS class naming since
|
|
they are framesheet level actions, not tools -->
|
|
<li class="tool-icon tool-save" data-tool-id="tool-save" title="Save" onclick="piskel.storeSheet()" rel="tooltip" data-placement="bottom" ></li>
|
|
<li class="tool-icon tool-export" data-tool-id="tool-export" title="Export to PNG framesheet" onclick="piskel.exportToPNG()" rel="tooltip" data-placement="bottom" ></li>
|
|
<li class="tool-icon tool-upload" data-tool-id="tool-upload" title="Export to animated GIF" onclick="piskel.uploadAsGIF()" rel="tooltip" data-placement="bottom" ></li>
|
|
<li class="tool-icon tool-add-frame" id="add-frame-button" data-tool-id="tool-add-frame" title="Add a frame" rel="tooltip" data-placement="bottom" ></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Core libraries: -->
|
|
<script src="js/lib/jquery-1.8.0.js"></script>
|
|
<script src="js/lib/jquery-ui-1.10.3.custom.js"></script>
|
|
<script src="js/lib/pubsub.js"></script>
|
|
<script src="js/lib/bootstrap/bootstrap.js"></script>
|
|
|
|
<!-- GIF Encoding DEVICES ! OH YEAY! -->
|
|
<script src="js/lib/gif/GIFEncoder.js"></script>
|
|
<script src="js/lib/gif/b64.js"></script>
|
|
<script src="js/lib/gif/NeuQuant.js"></script>
|
|
<script src="js/lib/gif/LZWEncoder.js"></script>
|
|
|
|
<!-- Application wide configuration -->
|
|
<script src="js/Constants.js"></script>
|
|
<script src="js/Events.js"></script>
|
|
|
|
<!-- Libraries -->
|
|
<script src="js/utils/core.js"></script>
|
|
<script src="js/utils/PixelUtils.js"></script>
|
|
<script src="js/utils/CanvasUtils.js"></script>
|
|
<script src="js/lib/jsColor_1_4_0/jscolor.js"></script>
|
|
|
|
<!-- Application libraries-->
|
|
<script src="js/rendering/DrawingLoop.js"></script>
|
|
<!-- Models -->
|
|
<script src="js/model/Frame.js"></script>
|
|
<script src="js/model/FrameSheet.js"></script>
|
|
<script src="js/selection/SelectionManager.js"></script>
|
|
<script src="js/selection/BaseSelection.js"></script>
|
|
<script src="js/selection/RectangularSelection.js"></script>
|
|
<script src="js/selection/ShapeSelection.js"></script>
|
|
<!-- Rendering -->
|
|
<script src="js/rendering/CanvasRenderer.js"></script>
|
|
<script src="js/rendering/FrameRenderer.js"></script>
|
|
<script src="js/rendering/SpritesheetRenderer.js"></script>
|
|
<!-- Controllers -->
|
|
<script src="js/controller/DrawingController.js"></script>
|
|
<script src="js/controller/PreviewFilmController.js"></script>
|
|
<script src="js/controller/AnimatedPreviewController.js"></script>
|
|
<script src="js/controller/ToolController.js"></script>
|
|
<script src="js/controller/PaletteController.js"></script>
|
|
<script src="js/controller/NotificationController.js"></script>
|
|
<!-- Services -->
|
|
<script src="js/service/LocalStorageService.js"></script>
|
|
<script src="js/service/HistoryService.js"></script>
|
|
<script src="js/service/KeyboardEventService.js"></script>
|
|
<!-- Tools-->
|
|
<script src="js/drawingtools/BaseTool.js"></script>
|
|
<script src="js/drawingtools/SimplePen.js"></script>
|
|
<script src="js/drawingtools/VerticalMirrorPen.js"></script>
|
|
<script src="js/drawingtools/Eraser.js"></script>
|
|
<script src="js/drawingtools/Stroke.js"></script>
|
|
<script src="js/drawingtools/PaintBucket.js"></script>
|
|
<script src="js/drawingtools/Rectangle.js"></script>
|
|
<script src="js/drawingtools/Circle.js"></script>
|
|
<script src="js/drawingtools/Move.js"></script>
|
|
<script src="js/drawingtools/selectiontools/BaseSelect.js"></script>
|
|
<script src="js/drawingtools/selectiontools/RectangleSelect.js"></script>
|
|
<script src="js/drawingtools/selectiontools/ShapeSelect.js"></script>
|
|
<script src="js/drawingtools/ColorPicker.js"></script>
|
|
|
|
<!-- Application controller and initialization -->
|
|
<script src="js/piskel.js"></script>
|
|
</body>
|
|
</html>
|
|
|