2021-11-09 14:19:57 +03:00
|
|
|
<ul id="main-menu" class="editor-top-menu">
|
2021-07-07 00:24:20 +03:00
|
|
|
<li class="logo">Lospec Pixel Editor</li>
|
|
|
|
<li>
|
|
|
|
<button>File</button>
|
|
|
|
<ul>
|
|
|
|
<li><button>New</button></li>
|
|
|
|
<li><button>Save project</button></li>
|
|
|
|
<li><button>Open</button></li>
|
2022-10-21 10:52:55 +03:00
|
|
|
<li><button>Import</button></li>
|
2022-12-27 20:18:38 +03:00
|
|
|
<li><button>Load palette</button></li>
|
2021-07-07 00:24:20 +03:00
|
|
|
<li><button id="export-button" class="disabled">Export</button></li>
|
|
|
|
<li><a href="https://lospec.com/pixel-editor">Exit</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<button>Edit</button>
|
|
|
|
<ul>
|
2021-12-06 19:37:43 +03:00
|
|
|
<li><button id="resize-canvas-button" onclick = "currFile.openResizeCanvasWindow()">Resize canvas</button></li>
|
|
|
|
<li><button id="resize-sprite-button" onclick = "currFile.openResizeSpriteWindow()">Scale sprite</button></li>
|
|
|
|
<li><button onclick = "currFile.trimCanvas()">Trim canvas</button></li>
|
2021-07-07 00:24:20 +03:00
|
|
|
<li><button id="undo-button" class="disabled">Undo</button></li>
|
|
|
|
<li><button id="redo-button" class="disabled">Redo</button></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<button>View</button>
|
|
|
|
<ul>
|
2021-12-06 22:12:57 +03:00
|
|
|
<li><button id="toggle-pixelgrid-button" onclick="currFile.pixelGrid.togglePixelGrid()">Show pixel grid</button></li>
|
2021-07-07 00:24:20 +03:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li>
|
2022-02-23 19:16:23 +03:00
|
|
|
<button id="layer-button">Layer</button>
|
2021-07-07 00:24:20 +03:00
|
|
|
<ul>
|
2021-07-22 23:42:41 +03:00
|
|
|
<li><button onclick = "LayerList.addLayer()">New layer</button></li>
|
|
|
|
<li><button onclick = "LayerList.duplicateLayer()">Duplicate</button></li>
|
|
|
|
<li><button onclick = "LayerList.renameLayer()">Rename</button></li>
|
|
|
|
<li><button onclick = "LayerList.deleteLayer()">Delete</button></li>
|
|
|
|
<li><button onclick = "LayerList.merge()">Merge below</button></li>
|
|
|
|
<li><button onclick = "LayerList.flatten(false)">Flatten all</button></li>
|
|
|
|
<li><button onclick = "LayerList.flatten(true)">Flatten visible</button></li>
|
2021-07-07 00:24:20 +03:00
|
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<button>Selection</button>
|
|
|
|
<ul>
|
|
|
|
<li><button id="copy-button">Copy</button></li>
|
|
|
|
<li><button id="cut-button">Cut</button></li>
|
|
|
|
<li><button id="paste-button">Paste</button></li>
|
|
|
|
<li><button id="cancelSelection-button">Cancel</button></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<button>Editor</button>
|
|
|
|
<ul>
|
|
|
|
<li><button id="switch-mode-button">Switch to basic mode</button></li>
|
2021-07-14 00:40:23 +03:00
|
|
|
<li><button onclick="Dialogue.showDialogue('splash', false)">Splash page</button></li>
|
2022-02-25 17:49:30 +03:00
|
|
|
<li><button id="auto-cache-button" onclick="FileManager.toggleCache(this)">Enable auto-cache</button></li>
|
2021-07-07 00:24:20 +03:00
|
|
|
<li><button>Settings</button></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
<button>Help</button>
|
|
|
|
<ul>
|
|
|
|
<li><button>Help</button></li>
|
|
|
|
<li><button>About</button></li>
|
|
|
|
<li><button>Changelog</button></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
2022-01-25 02:33:23 +03:00
|
|
|
|
|
|
|
<li id="editor-info">
|
|
|
|
<ul>
|
2022-02-01 01:12:28 +03:00
|
|
|
<li><label>Tool size: <input type="number"/></label></li>
|
2022-01-31 02:16:27 +03:00
|
|
|
<li>{{> checkbox}}</li>
|
2022-01-25 02:33:23 +03:00
|
|
|
</ul>
|
|
|
|
</li>
|
2022-12-27 20:18:38 +03:00
|
|
|
</ul>
|