2021-07-07 00:24:20 +03:00
|
|
|
<ul id="main-menu">
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<li><button id="resize-canvas-button" onclick = "openResizeCanvasWindow()">Resize canvas</button></li>
|
|
|
|
<li><button id="resize-sprite-button" onclick = "openResizeSpriteWindow()">Scale sprite</button></li>
|
|
|
|
<li><button onclick = "trimCanvas()">Trim canvas</button></li>
|
|
|
|
<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>
|
|
|
|
<li><button id="toggle-pixelgrid-button" onclick="togglePixelGrid()">Show pixel grid</button></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<button id = "layer-button">Layer</button>
|
|
|
|
<ul>
|
|
|
|
<li><button onclick = "addLayer()">New layer</button></li>
|
|
|
|
<li><button onclick = "duplicateLayer()">Duplicate</button></li>
|
|
|
|
<li><button onclick = "renameLayer()">Rename</button></li>
|
|
|
|
<li><button onclick = "deleteLayer()">Delete</button></li>
|
|
|
|
<li><button onclick = "merge()">Merge below</button></li>
|
|
|
|
<li><button onclick = "flatten(false)">Flatten all</button></li>
|
|
|
|
<li><button onclick = "flatten(true)">Flatten visible</button></li>
|
|
|
|
|
|
|
|
</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>
|
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>
|
|
|
|
</ul>
|