mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-26 09:19:27 +00:00
6b9c4c53ae
Some changes needed to do this: * Added support to show icon+text in ButtonSet items * Added an extra parameter in Graphics::drawUIString() to avoid drawing the underscore * Fixed expansion of ButtonSet items when the grid is resized * Added support for Alt+mnemonic shortcuts in ButtonSet items
40 lines
1.8 KiB
XML
40 lines
1.8 KiB
XML
<!-- ASEPRITE -->
|
|
<!-- Copyright (C) 2001-2013, 2015 by David Capello -->
|
|
<gui>
|
|
<window text="New Sprite" id="new_sprite">
|
|
<box vertical="true">
|
|
|
|
<separator text="Size:" left="true" horizontal="true" />
|
|
<grid columns="2">
|
|
<label text="Width:" />
|
|
<entry id="width" maxsize="8" magnet="true" cell_align="horizontal" tooltip="Width of the new sprite (in pixels)" />
|
|
<label text="Height:" />
|
|
<entry id="height" maxsize="8" cell_align="horizontal" tooltip="Height of the new sprite (in pixels)" />
|
|
</grid>
|
|
|
|
<separator text="Color Mode:" left="true" horizontal="true" />
|
|
<buttonset columns="3" id="color_mode">
|
|
<item text="&RGBA" icon="icon_rgb" tooltip="Each pixel has Red, Green, Blue, and Alpha components (32 bits per pixel)" tooltip_dir="bottom" />
|
|
<item text="&Grayscale" icon="icon_grayscale" tooltip="Each pixel has a Gray value and Alpha (16 bits per pixel)" tooltip_dir="bottom" />
|
|
<item text="&Indexed" icon="icon_indexed" tooltip="Each pixel is a reference to the palette (8 bits per pixel)" tooltip_dir="bottom" />
|
|
</buttonset>
|
|
|
|
<separator text="Background:" left="true" horizontal="true" />
|
|
<buttonset columns="3" id="bg_color">
|
|
<item text="&Transparent" icon="icon_transparent" />
|
|
<item text="&White" icon="icon_white" />
|
|
<item text="&Black" icon="icon_black" />
|
|
</buttonset>
|
|
|
|
<box horizontal="true">
|
|
<box horizontal="true" expansive="true" />
|
|
<box horizontal="true" homogeneous="true">
|
|
<button text="&OK" closewindow="true" id="ok_button" magnet="true" width="60" />
|
|
<button text="&Cancel" closewindow="true" />
|
|
</box>
|
|
</box>
|
|
|
|
</box>
|
|
</window>
|
|
</gui>
|