aseprite/data/widgets/palette_editor.xml

120 lines
4.0 KiB
XML

<!-- ASE - Allegro Sprite Editor -->
<!-- Copyright (C) 2001-2010 by David Capello -->
<jinete>
<window text="Palette" name="palette_editor">
<box vertical="true">
<box horizontal="true" expansive="true">
<box vertical="true">
<view name="palette_editor" /> <!-- custom-widget -->
</box>
<box vertical="true" expansive="true">
<box horizontal="true" childspacing="0" noborders="true">
<radio group="1" text="RGB" name="select_rgb" looklike="button" selected="true" />
<radio group="1" text="HSV" name="select_hsv" looklike="button" />
<box horizontal="true" expansive="true" />
<button text="+" name="expand" tooltip="More options" />
</box>
<grid columns="3" childspacing="0">
<label name="R_label" text="R" />
<slider name="R_slider" min="0" max="255" cell_align="horizontal" />
<entry name="R_entry" maxsize="3" />
<label name="G_label" text="G" />
<slider name="G_slider" min="0" max="255" cell_align="horizontal" />
<entry name="G_entry" maxsize="3" />
<label name="B_label" text="B" />
<slider name="B_slider" min="0" max="255" cell_align="horizontal" />
<entry name="B_entry" maxsize="3" />
<label name="H_label" text="H" />
<slider name="H_slider" min="0" max="255" cell_align="horizontal" />
<entry name="H_entry" maxsize="3" />
<label name="S_label" text="S" />
<slider name="S_slider" min="0" max="255" cell_align="horizontal" />
<entry name="S_entry" maxsize="3" />
<label name="V_label" text="V" />
<slider name="V_slider" min="0" max="255" cell_align="horizontal" />
<entry name="V_entry" maxsize="3" />
<label name="hex_label" text="#" />
<box horizontal="true" cell_hspan="2" >
<entry name="hex_entry" maxsize="6" />
</box>
</grid>
</box>
</box>
<box horizontal="true" name="more_options">
<button text="&amp;Ramp" name="ramp" />
<box horizontal="true" name="more_options" childspacing="0">
<button text="&amp;Sort" name="sort" />
<button text="&amp;Quantize" name="quantize" />
</box>
<box horizontal="true" name="more_options" childspacing="0">
<button text="&amp;Load" name="load" />
<button text="&amp;Save" name="save" />
</box>
</box>
</box>
</window>
<window text="Sort Criteria" name="sort_criteria">
<box vertical="true">
<box horizontal="true">
<box vertical="true" expansive="true">
<separator text="Available:" left="true" horizontal="true" />
<view maxsize="true">
<listbox name="available_criteria">
<listitem text="RGB Red" />
<listitem text="RGB Green" />
<listitem text="RGB Blue" />
<listitem text="HSV Hue" />
<listitem text="HSV Saturation" />
<listitem text="HSV Value" />
<listitem text="HSL Lightness" />
<listitem text="YUV Luma" selected="true" />
</listbox>
</view>
<separator text="Direction:" left="true" horizontal="true" />
<radio name="asc" text="Ascending" group="1" />
<radio name="des" text="Descending" group="1" />
</box>
<box vertical="true">
<button name="insert_criteria" text="&gt;&gt;" />
<button name="remove_criteria" text="&lt;&lt;" />
</box>
<box vertical="true" expansive="true" minwidth="150">
<separator text="Sort by:" left="true" horizontal="true" />
<view maxsize="true" expansive="true">
<listbox name="selected_criteria" />
</view>
<separator text="Range to Sort:" left="true" horizontal="true" />
<box horizontal="true">
<label text="First" />
<entry name="first" maxsize="3" text="" expansive="true" />
<label text="Last" />
<entry name="last" maxsize="3" text="" expansive="true" />
</box>
</box>
</box>
<separator horizontal="true" />
<box horizontal="true">
<box horizontal="true" expansive="true" />
<box horizontal="true" homogeneous="true">
<button text="&amp;OK" name="ok_button" magnetic="true" width="60" />
<button text="&amp;Cancel" />
</box>
</box>
</box>
</window>
</jinete>