Commit Graph

103 Commits

Author SHA1 Message Date
David Capello
b935f90cd3 Minor modification in tools_configuration window layout. 2010-04-25 23:39:46 -03:00
David Capello
8dd69cada9 Moved "Cursor Color" setting from "Tools Configuration" to "Options" dialog. 2010-04-25 23:35:05 -03:00
David Capello
1bc1cf2f5b Changed caption of the palette editor to "Palette". 2010-04-25 23:24:59 -03:00
David Capello
befd81c63b Added "checked background configuration".
Now you can configure size and color of the checked background
used in transparent sprites.
2010-04-25 21:29:50 -03:00
David Capello
3f6f1471fd Removed mouse speed option.
Removed _setup_mouse_speed() function and dialog/options.cpp file.
All the code is in cmd_options.cpp now.
2010-04-25 15:52:19 -03:00
David Capello
5665b7dd1a Added grid_settings command (feature #2874433). 2010-04-25 15:31:44 -03:00
David Capello
182ee290d0 Modified "Tools Configuration" window layout. 2010-04-25 15:02:58 -03:00
David Capello
b8e49466ad Added support for vertical separators:
- New PART_SEPARATOR_VERT in skin.
- New SkinneableTheme::draw_part_as_vline() function.
2010-04-25 15:02:28 -03:00
David Capello
a5e02323f2 Sprite Properties window now uses a grid. 2010-04-25 14:35:10 -03:00
David Capello
da072b79e9 Moved icons to data/icons/ directory. 2010-04-25 12:05:18 -03:00
David Capello
a3799e4084 Fixed "minwidth" attribute of "brush_size" field. 2010-04-24 16:11:14 -03:00
David Capello
917127ce37 Added alpha support for skin sheet. 2010-04-23 21:56:59 -03:00
David Capello
3e8c38ad91 New icons for tools by iLKke. 2010-04-23 19:00:37 -03:00
David Capello
10781dcf5f Removed Context::getFg/BgColor member functions.
Modified color_get_*() so they do not need "imgtype" parameter.
ColorBar class is public (defined in colbar.h).
Added ColorBar::Fg/BgColorChange signals.
Converted palette editor widget to a C++ class (PalEdit derived from Widget).
Modified the "Palette Editor" (F4 key) to be non-modal (still WIP).
2010-04-10 17:01:56 -03:00
David Capello
6173c54a92 Minor modifications in the layout of "Tools Configuration" window. 2010-04-10 16:10:08 -03:00
David Capello
50f4cd8a9d Added SkinneableTheme::m_selected_skin member and "[Skin]/Selected" configuration variable to change the selected skin. 2010-04-06 22:30:18 -03:00
David Capello
c5442abcba Moved data/jids/*.jid files to data/widgets/*.xml. 2010-04-06 22:14:33 -03:00
David Capello
4611bc0f84 Added parameters to new_layer command ("ask" and "name").
Now by default this command does not ask to the user about the layer name.
2010-03-29 00:23:25 -03:00
David Capello
62d0c1db1d New simplified color-bar (still WIP). 2010-03-27 19:41:39 -03:00
David Capello
706cc17748 Parts are specified in skin.xml now. 2010-03-26 08:31:47 -03:00
David Capello
5879af68fd Modified some tool icons. 2010-03-24 22:32:11 -03:00
David Capello
a2c3517717 Cursors coordinates are specified in the default_skin.xml now. 2010-03-24 21:35:44 -03:00
David Capello
1fe1e2ff7b Removed real-time dithering option (because 8 bpp is not supported anymore). 2010-03-24 18:06:28 -03:00
David Capello
0f597f747d Removed tips. 2010-03-24 17:24:28 -03:00
David Capello
271e1df6bd Removed support for 8 bpp. 2010-03-24 13:56:31 -03:00
David Capello
5ea8d97b60 Added tooltips to toolbar. 2010-03-24 13:38:28 -03:00
David Capello
994f5e6284 Added mini-look (SkinProperty::isMiniLook) to buttons and sliders. 2010-03-21 21:28:32 -03:00
David Capello
5c6da29ced Removed 'Advanced mode' option. 2010-03-09 00:46:12 -02:00
David Capello
cb97884026 - 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 17:47:45 -02:00
David Capello
ef51fd59ea Added Ctrl+Shift+Z to redo. 2010-03-07 16:48:21 -02:00
David Capello
1f3dcc77ed Renamed palette.png to default_skin_palette.png. 2010-03-07 12:05:01 -02:00
David Capello
7da47af726 Renamed sheet.png to defaut_skin_sheet.png. Added some temporary icons in the sheet for future tools. 2010-03-07 12:03:47 -02:00
David Capello
1a80c8fcf8 Replaced \n to 
 entity (because now we use TinyXml parser). 2010-01-31 23:42:45 +00:00
David Capello
017ece697f Now XML files are loaded with tinyxml library 2009-12-16 23:24:57 +00:00
David Capello
2a7d182b81 Modified news, and some tips. 2009-11-22 18:20:35 +00:00
David Capello
9e0928ca66 Fixed combo-box graphics. 2009-11-22 00:26:58 +00:00
David Capello
a7cc9371d2 Added GUI sheet (Ilija Melentijevic graphics). 2009-11-21 20:07:21 +00:00
David Capello
e4dd1905fb Added change_color command to change FG color-index with keyboard (Ilija Melentijevic idea). 2009-11-18 14:51:05 +00:00
David Capello
1764f78d1b Fixed ordered dithering menu item. 2009-11-17 23:19:03 +00:00
David Capello
8b7f476f17 Fixed issue #2874422 "More screen resolutions" (Philippe Michael Groarke idea). 2009-10-17 22:27:05 +00:00
David Capello
115af153cc Fixed I keyboard shortcut. Added Shift+I too. 2009-10-09 02:41:09 +00:00
David Capello
2d5e227a5f Replaced "M" label with "MB". 2009-10-09 02:22:49 +00:00
David Capello
5455136f35 Internal refactoring of commands to support record/play macros in the near future. 2009-10-09 01:34:06 +00:00
David Capello
33baa4fd5c Merged branch 0.7.1 (release 0.7.2) to trunk. 2009-09-07 14:28:47 +00:00
David Capello
1c541651ce + Added a progress bar in the file-selector to show the progress of thumbnail generation.
+ Fixed a program crash in file-selector dialog when you open a file and the thumbnail is being generated.
2009-08-10 02:36:06 +00:00
David Capello
c56cad63e9 Fixed usability issues in the file-selector dialog. 2009-08-09 21:50:26 +00:00
David Capello
f8f45dc0e5 + Added Flip Canvas Horizontal/Vertical commands.
+ Fixed problems with keyboard shortcuts for commands with arguments.
2009-07-10 02:08:41 +00:00
David Capello
3885f37f45 + CurrentSprite class was split in SpriteWrapper/Reader/Writer, and CurrentSpriteReader/Writer wrappers.
+ More routines are using exceptions for error handling.
+ Added JWidgetPtr class.
+ Added Undoable::set_imgtype/layer_from_background/flatten_layers.
2009-06-11 15:11:11 +00:00
David Capello
dd003a8f33 - Now "Image" is a C++ class with virtual methods;
- Removed ImageMethods (the C vtable for old "Image" structure);
- Added ImageImpl and ImageTraits;
- Added "Sprite Size" command (feature #2671468);
- Added "Canvas Size" command;
2009-05-31 16:02:32 +00:00
David Capello
8d5f265103 Added support for tiled-mode in X or Y axis only. 2009-03-09 00:05:37 +00:00