mirror of
https://github.com/aseprite/aseprite.git
synced 2024-11-20 14:21:45 +00:00
19e8083256
+ Renamed Editor::cursor_eyedropper to Editor::alt_pressed. + Added statusbar_show_tip. + Added AppHooks. + Renamed color_button_* to colorbutton_* + Renamed GfxObj*Layer::parent to Layer*Layer::parent_layer. + Added Palette gfxobj and refactored a lot of code to this new Palette instead of Allegro's RGB/PALETTE. + Now jfile.c uses jxml.c. + New signature for callbacks in 'hook_signal' of modules/gui.c: bool hook(JWidget, void *); - Removed colsel and minipal from dialogs. + Fixed mouse bounds in sliders.
83 lines
1.7 KiB
Plaintext
83 lines
1.7 KiB
Plaintext
======================================================================
|
|
Format for .jid files
|
|
======================================================================
|
|
|
|
General format:
|
|
|
|
<jinete>
|
|
<widget_type [id="..."]
|
|
[expansive]
|
|
[width="percentage of screen width"]
|
|
[height="percentage of screen height"]
|
|
[magnet]
|
|
[noborders]
|
|
...>
|
|
widgets children...
|
|
</widget_type>
|
|
</jinete>
|
|
|
|
======================================================================
|
|
Supported widget types
|
|
======================================================================
|
|
|
|
<box [horizontal | vertical]
|
|
[homogeneous]>
|
|
children...
|
|
</box>
|
|
|
|
<button text="..."
|
|
[left | center | right]
|
|
[top | middle | bottom]>
|
|
|
|
<check text="..."
|
|
[left | center | right]
|
|
[top | middle | bottom]>
|
|
|
|
<entry max_size="..."
|
|
[text="..."] />
|
|
|
|
<label text="..."
|
|
[left | center | right]
|
|
[top | middle | bottom]>
|
|
|
|
<listbox>
|
|
<listitem text="...">
|
|
children...
|
|
</listbox>
|
|
|
|
<panel [horizontal | vertical]>
|
|
children...
|
|
</panel>
|
|
|
|
<radio text="..." group="..."
|
|
[left | center | right]
|
|
[top | middle | bottom] />
|
|
|
|
<separator [text="..."]
|
|
[left | center | right]
|
|
[top | middle | bottom]
|
|
[horizontal | vertical]>
|
|
children...
|
|
</separator>
|
|
|
|
<slider min="..." max="..." />
|
|
|
|
<textbox [wordwrap]>
|
|
text...
|
|
</textbox>
|
|
|
|
<view [maxsize]>
|
|
a viewable widget (like a listbox)
|
|
</view>
|
|
|
|
<window text="..."
|
|
[desktop]>
|
|
children...
|
|
</window>
|
|
|
|
======================================================================
|
|
Example
|
|
======================================================================
|
|
|
|
See the exfile.c file.
|