- All tools stuff refactored in various files/components.
- Added classes: IToolLoop, Tool, ToolGroup, ToolInk, ToolController, ToolPointShape, ToolIntertwine, ToolBox, etc.
- Added ToolLoopManager.
- Removed old src/modules/tools.cpp.
- Added ISettings and UISettingsImpl, adding the tools settings (onion skinning, grid, tiled mode, etc.).
- Added App::PenSizeBeforeChange, PenSizeAfterChange, CurrentToolChange signals.
- Renamed Context::get_bg/fg_color to getBg/FgColor.
- Refactored Brush class to Pen and added PenType.
- Renamed tiled_t to TiledMode.
- get_config_rect now uses the new Rect class imported from Vaca instead of old jrect.
- Added default_skin.xml to load tool icons.
- Added pen preview in Editor::cursor stuff.
- Added Editor::decorators.
Note: This big patch is from some time ago. I did my best to pre-commit other small changes before this big one.
2010-03-07 19:47:45 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2010-03-25 00:35:44 +00:00
|
|
|
<skin name="Default Skin"
|
- All tools stuff refactored in various files/components.
- Added classes: IToolLoop, Tool, ToolGroup, ToolInk, ToolController, ToolPointShape, ToolIntertwine, ToolBox, etc.
- Added ToolLoopManager.
- Removed old src/modules/tools.cpp.
- Added ISettings and UISettingsImpl, adding the tools settings (onion skinning, grid, tiled mode, etc.).
- Added App::PenSizeBeforeChange, PenSizeAfterChange, CurrentToolChange signals.
- Renamed Context::get_bg/fg_color to getBg/FgColor.
- Refactored Brush class to Pen and added PenType.
- Renamed tiled_t to TiledMode.
- get_config_rect now uses the new Rect class imported from Vaca instead of old jrect.
- Added default_skin.xml to load tool icons.
- Added pen preview in Editor::cursor stuff.
- Added Editor::decorators.
Note: This big patch is from some time ago. I did my best to pre-commit other small changes before this big one.
2010-03-07 19:47:45 +00:00
|
|
|
author="Ilija Melentijevic"
|
|
|
|
url="http://ilkke.blogspot.com/">
|
2010-03-25 00:35:44 +00:00
|
|
|
|
|
|
|
<cursors>
|
|
|
|
<cursor id="normal" x="80" y="0" w="16" h="16" focusx="0" focusy="0" />
|
|
|
|
<cursor id="normal_add" x="80" y="16" w="16" h="16" focusx="0" focusy="0" />
|
|
|
|
<cursor id="forbidden" x="80" y="32" w="16" h="16" focusx="0" focusy="0" />
|
|
|
|
<cursor id="hand" x="80" y="48" w="16" h="16" focusx="5" focusy="3" />
|
|
|
|
<cursor id="scroll" x="80" y="64" w="16" h="16" focusx="8" focusy="8" />
|
|
|
|
<cursor id="move" x="80" y="80" w="16" h="16" focusx="0" focusy="0" />
|
|
|
|
<cursor id="size_tl" x="80" y="96" w="16" h="16" focusx="8" focusy="8" />
|
|
|
|
<cursor id="size_t" x="80" y="112" w="16" h="16" focusx="8" focusy="8" />
|
|
|
|
<cursor id="size_tr" x="80" y="128" w="16" h="16" focusx="8" focusy="8" />
|
|
|
|
<cursor id="size_l" x="80" y="144" w="16" h="16" focusx="8" focusy="8" />
|
|
|
|
<cursor id="size_r" x="80" y="160" w="16" h="16" focusx="8" focusy="8" />
|
|
|
|
<cursor id="size_bl" x="80" y="176" w="16" h="16" focusx="8" focusy="8" />
|
|
|
|
<cursor id="size_b" x="80" y="192" w="16" h="16" focusx="8" focusy="8" />
|
|
|
|
<cursor id="size_br" x="80" y="208" w="16" h="16" focusx="8" focusy="8" />
|
|
|
|
<cursor id="eyedropper" x="80" y="224" w="16" h="16" focusx="0" focusy="15" />
|
|
|
|
</cursors>
|
|
|
|
|
- All tools stuff refactored in various files/components.
- Added classes: IToolLoop, Tool, ToolGroup, ToolInk, ToolController, ToolPointShape, ToolIntertwine, ToolBox, etc.
- Added ToolLoopManager.
- Removed old src/modules/tools.cpp.
- Added ISettings and UISettingsImpl, adding the tools settings (onion skinning, grid, tiled mode, etc.).
- Added App::PenSizeBeforeChange, PenSizeAfterChange, CurrentToolChange signals.
- Renamed Context::get_bg/fg_color to getBg/FgColor.
- Refactored Brush class to Pen and added PenType.
- Renamed tiled_t to TiledMode.
- get_config_rect now uses the new Rect class imported from Vaca instead of old jrect.
- Added default_skin.xml to load tool icons.
- Added pen preview in Editor::cursor stuff.
- Added Editor::decorators.
Note: This big patch is from some time ago. I did my best to pre-commit other small changes before this big one.
2010-03-07 19:47:45 +00:00
|
|
|
<tools>
|
|
|
|
|
|
|
|
<tool id="rectangular_marquee" x="144" y="0" w="16" h="16" />
|
|
|
|
<tool id="elliptical_marquee" x="160" y="0" w="16" h="16" />
|
|
|
|
<tool id="lasso" x="176" y="0" w="16" h="16" />
|
|
|
|
<tool id="polygonal_lasso" x="192" y="0" w="16" h="16" />
|
|
|
|
<tool id="magic_wand" x="208" y="0" w="16" h="16" />
|
|
|
|
|
|
|
|
<tool id="pencil" x="144" y="16" w="16" h="16" />
|
|
|
|
<tool id="spray" x="160" y="16" w="16" h="16" />
|
|
|
|
|
|
|
|
<tool id="eraser" x="144" y="32" w="16" h="16" />
|
|
|
|
<tool id="eyedropper" x="160" y="32" w="16" h="16" />
|
|
|
|
<tool id="hand" x="176" y="32" w="16" h="16" />
|
|
|
|
<tool id="move" x="192" y="32" w="16" h="16" />
|
|
|
|
|
|
|
|
<tool id="paint_bucket" x="144" y="48" w="16" h="16" />
|
|
|
|
|
|
|
|
<tool id="line" x="144" y="64" w="16" h="16" />
|
|
|
|
<tool id="curve" x="160" y="64" w="16" h="16" />
|
|
|
|
|
|
|
|
<tool id="rectangle" x="144" y="80" w="16" h="16" />
|
|
|
|
<tool id="filled_rectangle" x="160" y="80" w="16" h="16" />
|
|
|
|
<tool id="ellipse" x="176" y="80" w="16" h="16" />
|
|
|
|
<tool id="filled_ellipse" x="192" y="80" w="16" h="16" />
|
|
|
|
|
|
|
|
<tool id="contour" x="144" y="96" w="16" h="16" />
|
|
|
|
<tool id="polygon" x="160" y="96" w="16" h="16" />
|
|
|
|
|
|
|
|
<!--tool id="shade" x="144" y="112" w="16" h="16" /-->
|
|
|
|
<tool id="blur" x="160" y="112" w="16" h="16" />
|
|
|
|
<tool id="jumble" x="176" y="112" w="16" h="16" />
|
|
|
|
|
|
|
|
<tool id="configuration" x="144" y="128" w="16" h="16" />
|
|
|
|
</tools>
|
2010-03-26 11:31:47 +00:00
|
|
|
|
|
|
|
<parts>
|
|
|
|
<part id="radio_normal" x="32" y="32" w="8" h="8" />
|
|
|
|
<part id="radio_selected" x="32" y="48" w="8" h="8" />
|
|
|
|
<part id="radio_disabled" x="32" y="32" w="8" h="8" />
|
|
|
|
<part id="check_normal" x="48" y="32" w="8" h="8" />
|
|
|
|
<part id="check_selected" x="48" y="48" w="8" h="8" />
|
|
|
|
<part id="check_disabled" x="48" y="32" w="8" h="8" />
|
|
|
|
<part id="check_focus" x="32" y="64" w1="2" w2="6" w3="2" h1="2" h2="6" h3="2" />
|
|
|
|
<part id="radio_focus" x="32" y="64" w1="2" w2="6" w3="2" h1="2" h2="6" h3="2" />
|
|
|
|
<part id="button_normal" x="48" y="0" w1="4" w2="6" w3="4" h1="4" h2="6" h3="6" />
|
|
|
|
<part id="button_hot" x="64" y="0" w1="4" w2="6" w3="4" h1="4" h2="6" h3="6" />
|
|
|
|
<part id="button_focused" x="48" y="16" w1="4" w2="6" w3="4" h1="4" h2="6" h3="6" />
|
|
|
|
<part id="button_selected" x="64" y="16" w1="4" w2="6" w3="4" h1="4" h2="6" h3="6" />
|
|
|
|
<part id="sunken_normal" x="0" y="32" w1="4" w2="4" w3="4" h1="4" h2="4" h3="4" />
|
|
|
|
<part id="sunken_focused" x="0" y="48" w1="4" w2="4" w3="4" h1="4" h2="4" h3="4" />
|
|
|
|
<part id="sunken2_normal" x="0" y="64" w1="5" w2="6" w3="5" h1="5" h2="6" h3="5" />
|
|
|
|
<part id="sunken2_focused" x="0" y="80" w1="5" w2="6" w3="5" h1="5" h2="6" h3="5" />
|
|
|
|
<part id="window" x="0" y="0" w1="3" w2="7" w3="3" h1="15" h2="4" h3="5" />
|
|
|
|
<part id="menu" x="0" y="96" w1="3" w2="10" w3="3" h1="3" h2="9" h3="4" />
|
|
|
|
<part id="window_close_button_normal" x="16" y= "0" w="9" h="11" />
|
|
|
|
<part id="window_close_button_hot" x="16" y="16" w="9" h="11" />
|
|
|
|
<part id="window_close_button_selected" x="16" y="32" w="9" h="11" />
|
|
|
|
<part id="slider_full" x="0" y="144" w1="5" w2="6" w3="5" h1="5" h2="5" h3="6" />
|
|
|
|
<part id="slider_empty" x="16" y="144" w1="5" w2="6" w3="5" h1="5" h2="5" h3="6" />
|
|
|
|
<part id="slider_full_focused" x="0" y="160" w1="5" w2="6" w3="5" h1="5" h2="5" h3="6" />
|
|
|
|
<part id="slider_empty_focused" x="16" y="160" w1="5" w2="6" w3="5" h1="5" h2="5" h3="6" />
|
|
|
|
<part id="mini_slider_full" x="32" y="144" w1="5" w2="6" w3="5" h1="5" h2="5" h3="6" />
|
|
|
|
<part id="mini_slider_empty" x="48" y="144" w1="5" w2="6" w3="5" h1="5" h2="5" h3="6" />
|
|
|
|
<part id="mini_slider_full_focused" x="32" y="160" w1="5" w2="6" w3="5" h1="5" h2="5" h3="6" />
|
|
|
|
<part id="mini_slider_empty_focused" x="48" y="160" w1="5" w2="6" w3="5" h1="5" h2="5" h3="6" />
|
|
|
|
<part id="separator" x="32" y="80" w="9" h="5" />
|
|
|
|
<part id="combobox_arrow" x="96" y="32" w="16" h="16" />
|
|
|
|
<part id="toolbutton_normal" x="96" y="0" w1="3" w2="10" w3="3" h1="3" h2="9" h3="4" />
|
|
|
|
<part id="toolbutton_hot" x="112" y="0" w1="3" w2="10" w3="3" h1="3" h2="9" h3="4" />
|
|
|
|
<part id="toolbutton_last" x="96" y="16" w1="3" w2="10" w3="3" h1="3" h2="9" h3="4" />
|
|
|
|
<part id="tab_normal" x="2" y="112" w1="4" w2="5" w3="5" h1="4" h2="6" h3="2" />
|
|
|
|
<part id="tab_selected" x="16" y="112" w1="4" w2="7" w3="5" h1="4" h2="6" h3="2" />
|
|
|
|
<part id="tab_bottom_selected" x="16" y="124" w1="4" w2="7" w3="5" h1="2" h2="1" h3="2" />
|
|
|
|
<part id="tab_bottom_normal" x="2" y="124" w="12" h="5" />
|
|
|
|
<part id="tab_filler" x="0" y="112" w="2" h="12" />
|
|
|
|
<part id="editor_normal" x="32" y="112" w1="3" w2="10" w3="3" h1="3" h2="10" h3="3" />
|
|
|
|
<part id="editor_selected" x="48" y="112" w1="3" w2="10" w3="3" h1="3" h2="10" h3="3" />
|
|
|
|
</parts>
|
|
|
|
|
- All tools stuff refactored in various files/components.
- Added classes: IToolLoop, Tool, ToolGroup, ToolInk, ToolController, ToolPointShape, ToolIntertwine, ToolBox, etc.
- Added ToolLoopManager.
- Removed old src/modules/tools.cpp.
- Added ISettings and UISettingsImpl, adding the tools settings (onion skinning, grid, tiled mode, etc.).
- Added App::PenSizeBeforeChange, PenSizeAfterChange, CurrentToolChange signals.
- Renamed Context::get_bg/fg_color to getBg/FgColor.
- Refactored Brush class to Pen and added PenType.
- Renamed tiled_t to TiledMode.
- get_config_rect now uses the new Rect class imported from Vaca instead of old jrect.
- Added default_skin.xml to load tool icons.
- Added pen preview in Editor::cursor stuff.
- Added Editor::decorators.
Note: This big patch is from some time ago. I did my best to pre-commit other small changes before this big one.
2010-03-07 19:47:45 +00:00
|
|
|
</skin>
|