mirror of
https://github.com/aseprite/aseprite.git
synced 2024-09-03 13:39:02 +00:00
162 lines
6.1 KiB
XML
162 lines
6.1 KiB
XML
<!-- Aseprite -->
|
|
<!-- Copyright (C) 2019-2022 Igara Studio S.A. -->
|
|
<!-- Copyright (C) 2001-2018 David Capello -->
|
|
<gui>
|
|
<window id="export_sprite_sheet" text="@.title">
|
|
<vbox expansive="true">
|
|
|
|
<!-- Tabs -->
|
|
|
|
<hbox>
|
|
<separator horizontal="true" expansive="true" />
|
|
<buttonset id="section_tabs" columns="4" oneormore="true">
|
|
<item id="section_layout_tab" text="@.layout" tooltip="@.layout_tooltip" tooltip_dir="bottom" />
|
|
<item id="section_sprite_tab" text="@.sprite" tooltip="@.sprite_tooltip" tooltip_dir="bottom" selected="true" />
|
|
<item id="section_borders_tab" text="@.borders" tooltip="@.borders_tooltip" tooltip_dir="bottom" />
|
|
<item id="section_output_tab" text="@.output" tooltip="@.output_tooltip" tooltip_dir="bottom" />
|
|
</buttonset>
|
|
<separator horizontal="true" expansive="true" />
|
|
<button id="expand_sections" icon="window_center_icon"
|
|
tooltip="@.expand_all_sections_tooltip" tooltip_dir="bottom" />
|
|
</hbox>
|
|
|
|
<panel id="panel" expansive="true">
|
|
|
|
<!-- Layout -->
|
|
|
|
<grid id="section_layout" columns="4" expansive="true">
|
|
<label text="@.sheet_type" />
|
|
<combobox id="sheet_type" expansive="true" cell_hspan="3" cell_align="horizontal"
|
|
tooltip="@.sheet_type_tooltip" tooltip_dir="bottom" />
|
|
|
|
<label text="@.constraints" />
|
|
<hbox cell_hspan="3">
|
|
<combobox id="constraint_type" tooltip="@.constraints_tooltip" />
|
|
<expr id="width_constraint" />
|
|
<expr id="height_constraint" />
|
|
</hbox>
|
|
|
|
<hbox />
|
|
<hbox cell_hspan="3">
|
|
<check id="merge_dups" text="@.merge_dups" tooltip="@.merge_dups_tooltip" />
|
|
<check id="ignore_empty" text="@.ignore_empty" tooltip="@.ignore_empty_tooltip" />
|
|
</hbox>
|
|
</grid>
|
|
|
|
<!-- Sprite -->
|
|
|
|
<hbox id="section_sprite_separator">
|
|
<separator horizontal="true" text="@.sprite" expansive="true" />
|
|
<button id="close_sprite_section" icon="window_close_icon" />
|
|
</hbox>
|
|
<grid id="section_sprite" columns="4" expansive="true">
|
|
<label text="@.source" />
|
|
<combobox id="source" text="" cell_hspan="2" cell_align="horizontal" />
|
|
<boxfiller />
|
|
|
|
<label text="@.layers" />
|
|
<combobox id="layers" text="" cell_hspan="2" cell_align="horizontal" />
|
|
<check id="split_layers" text="@.split_layers" tooltip="@.split_layers_tooltip" tooltip_dir="bottom" />
|
|
|
|
<label text="@.frames" />
|
|
<combobox id="frames" text="" cell_hspan="2" cell_align="horizontal" />
|
|
<check id="split_tags" text="@.split_tags" tooltip="@.split_tags_tooltip" tooltip_dir="top" />
|
|
</grid>
|
|
|
|
<!-- Borders -->
|
|
|
|
<hbox id="section_borders_separator">
|
|
<separator horizontal="true" text="@.borders" expansive="true" />
|
|
<button id="close_borders_section" icon="window_close_icon" />
|
|
</hbox>
|
|
<grid id="section_borders" columns="4" expansive="true">
|
|
|
|
<hbox />
|
|
<hbox cell_hspan="3">
|
|
<vbox>
|
|
<grid columns="2">
|
|
<label text="@.border" />
|
|
<expr id="border_padding" text="0" tooltip="@.border_tooltip" />
|
|
<label text="@.shape" />
|
|
<expr id="shape_padding" text="0" tooltip="@.shape_tooltip" />
|
|
<label text="@.inner" />
|
|
<expr id="inner_padding" text="0" tooltip="@.inner_tooltip" />
|
|
</grid>
|
|
</vbox>
|
|
<separator vertical="true" />
|
|
<vbox>
|
|
<check id="trim_sprite_enabled" text="@.trim_sprite" tooltip="@.trim_sprite_tooltip" />
|
|
<check id="trim_enabled" text="@.trim" tooltip="@.trim_tooltip" />
|
|
<vbox id="trim_container" cell_hspan="2">
|
|
<check id="grid_trim_enabled"
|
|
text="@.trim_by_grid"
|
|
tooltip="@.trim_by_grid_tooltip" />
|
|
</vbox>
|
|
</vbox>
|
|
<separator vertical="true" />
|
|
<vbox>
|
|
<check id="extrude_enabled"
|
|
text="@.extrude"
|
|
tooltip="@.extrude_tooltip" />
|
|
</vbox>
|
|
</hbox>
|
|
|
|
</grid>
|
|
|
|
<!-- Output -->
|
|
|
|
<hbox id="section_output_separator">
|
|
<separator horizontal="true" text="@.output" expansive="true" />
|
|
<button id="close_output_section" icon="window_close_icon" />
|
|
</hbox>
|
|
<grid id="section_output" columns="4" expansive="true">
|
|
<check id="image_enabled" text="@.output_file" />
|
|
<button id="image_filename" cell_hspan="3" cell_align="horizontal" />
|
|
|
|
<check id="data_enabled" text="@.json_data" />
|
|
<button id="data_filename" cell_hspan="3" cell_align="horizontal" />
|
|
|
|
<hbox />
|
|
<hbox id="data_meta" cell_hspan="3" cell_align="horizontal">
|
|
<combobox id="data_format">
|
|
<listitem text="@.json_data_hash" value="0" />
|
|
<listitem text="@.json_data_array" value="1" />
|
|
</combobox>
|
|
<label text="@.meta" />
|
|
<check id="list_layers" text="@.meta_layers" />
|
|
<check id="list_tags" text="@.meta_tags" />
|
|
<check id="list_slices" text="@.meta_slices" />
|
|
</hbox>
|
|
|
|
<hbox />
|
|
<grid id="data_formats_placeholder" columns="3" cell_hspan="3" cell_align="horizontal">
|
|
<label text="@.data_filename_format" />
|
|
<entry id="data_filename_format" maxsize="1024" maxwidth="256" cell_align="horizontal"
|
|
tooltip="@.data_filename_format_tooltip" />
|
|
<link text="(?)" url="https://www.aseprite.org/docs/cli/#filename-format" />
|
|
|
|
<label text="@.data_tagname_format" />
|
|
<entry id="data_tagname_format" maxsize="1024" maxwidth="256" cell_align="horizontal"
|
|
tooltip="@.data_tagname_format_tooltip" />
|
|
<link text="(?)" url="https://www.aseprite.org/docs/cli/#tagname-format" />
|
|
</grid>
|
|
</grid>
|
|
|
|
</panel>
|
|
|
|
<separator horizontal="true" cell_hspan="4" />
|
|
<hbox cell_hspan="4">
|
|
<boxfiller />
|
|
<hbox>
|
|
<check id="open_generated" text="@.open_sprite_sheet" cell_hspan="3" />
|
|
<check id="preview" text="@.preview" cell_hspan="1" />
|
|
</hbox>
|
|
<hbox homogeneous="true">
|
|
<button text="@.export" minwidth="60" id="export_button" magnet="true" />
|
|
<button text="@.cancel" minwidth="60" closewindow="true" />
|
|
</hbox>
|
|
</hbox>
|
|
</vbox>
|
|
</window>
|
|
</gui>
|