aseprite/data/widgets/new_sprite.xml
2024-12-16 10:10:34 -03:00

51 lines
2.1 KiB
XML

<!-- Aseprite -->
<!-- Copyright (c) 2020-2024 Igara Studio S.A. -->
<!-- Copyright (c) 2001-2018 David Capello -->
<gui>
<window id="new_sprite" text="@.title" help="new-sprite">
<box vertical="true">
<separator text="@.size" left="true" horizontal="true" />
<grid columns="2">
<label text="@.width" />
<expr id="width" magnet="true" cell_align="horizontal" suffix="px" />
<label text="@.height" />
<expr id="height" cell_align="horizontal" suffix="px" />
</grid>
<separator text="@.color_mode" left="true" horizontal="true" />
<buttonset columns="3" id="color_mode">
<item text="@.rgba" icon="icon_rgb" style="new_sprite_rgb" tooltip="@.rgba_tooltip" tooltip_dir="bottom" />
<item text="@.grayscale" icon="icon_grayscale" style="new_sprite_grayscale" tooltip="@.grayscale_tooltip" tooltip_dir="bottom" />
<item text="@.indexed" icon="icon_indexed" style="new_sprite_indexed" tooltip="@.indexed_tooltip" tooltip_dir="bottom" />
</buttonset>
<separator text="@.background" left="true" horizontal="true" />
<buttonset columns="3" id="bg_color">
<item text="@.transparent" icon="icon_transparent" style="bg_transparent" />
<item text="@.white" icon="icon_white" style="bg_white" />
<item text="@.black" icon="icon_black" style="bg_black" />
</buttonset>
<check id="advanced_check" text="@general.advanced_options" />
<vbox id="advanced">
<label text="@.pixel_ratio" />
<combobox id="pixel_ratio" cell_align="horizontal">
<listitem text="@.square_pixels" value="1:1" />
<listitem text="@.double_wide" value="2:1" />
<listitem text="@.double_high" value="1:2" />
</combobox>
</vbox>
<box horizontal="true">
<box horizontal="true" expansive="true" />
<box horizontal="true" homogeneous="true">
<button text="@general.ok" closewindow="true" id="ok_button" magnet="true" minwidth="60" />
<button text="@general.cancel" closewindow="true" />
</box>
</box>
</box>
</window>
</gui>