mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-01 00:23:35 +00:00
02e8c66da4
Several refactoring tasks where made: - Removed the old Widget::id field (JID). - Renamed Widget::get/setName to get/setId. - Moved load_widget_from_xmlfile() to app::load_widget and WidgetLoader class. - Removed jhook structure & jwidget_add_hook function. Hooks were replaced subclassing widgets. - Added InitThemeEvent class and Widget::onInitTheme member function.
61 lines
2.4 KiB
XML
61 lines
2.4 KiB
XML
<!-- ASEPRITE -->
|
|
<!-- Copyright (C) 2001-2012 by David Capello -->
|
|
<gui>
|
|
<window text="Tools Configuration" id="configure_tool">
|
|
<box vertical="true" childspacing="0">
|
|
<box horizontal="true" expansive="true">
|
|
<box vertical="true" childspacing="2">
|
|
<box horizontal="true" childspacing="0">
|
|
<check text="Tiled" id="tiled" />
|
|
<check text="x" id="tiled_x" />
|
|
<check text="y" id="tiled_y" />
|
|
</box>
|
|
<check text="Onionskin" id="onionskin" />
|
|
<separator text="Grid:" horizontal="true" left="true" />
|
|
<check text="Snap to Grid" id="snap_to_grid" />
|
|
<check text="View Grid" id="view_grid" />
|
|
<check text="Pixel Grid" id="pixel_grid" />
|
|
<button text="Set &Grid" id="set_grid" />
|
|
</box>
|
|
<separator vertical="true" />
|
|
<box vertical="true" expansive="true" childspacing="2">
|
|
<box horizontal="true">
|
|
<grid columns="2" childspacing="0" expansive="true">
|
|
|
|
<label text="Pen:" />
|
|
<box horizontal="true" childspacing="0" id="brush_type_box" /><!-- custom widget -->
|
|
|
|
<label text="Size:" />
|
|
<slider min="1" max="32" id="brush_size" minwidth="32" cell_align="horizontal" />
|
|
|
|
<label text="Angle:" />
|
|
<slider min="0" max="180" id="brush_angle" cell_align="horizontal" />
|
|
|
|
<label text="Opacity:" id="opacity_label" />
|
|
<slider min="0" max="255" id="opacity" cell_align="horizontal" />
|
|
|
|
<label text="Tolerance:" id="tolerance_label" />
|
|
<slider min="0" max="255" id="tolerance" cell_align="horizontal" />
|
|
|
|
</grid>
|
|
<box id="brush_preview_box" /><!-- custom widget -->
|
|
</box>
|
|
<box vertical="true" id="spray_box">
|
|
<separator text="Spray:" horizontal="true" left="true" />
|
|
<box horizontal="true">
|
|
<box vertical="true" homogeneous="true" childspacing="0">
|
|
<label text="Spray Width:" />
|
|
<label text="Air Speed:" />
|
|
</box>
|
|
<box vertical="true" homogeneous="true" expansive="true" childspacing="0">
|
|
<slider min="1" max="32" id="spray_width" />
|
|
<slider min="1" max="100" id="air_speed" />
|
|
</box>
|
|
</box>
|
|
</box>
|
|
</box>
|
|
</box>
|
|
</box>
|
|
</window>
|
|
</gui>
|