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
1fdd045099
Fixed a little syntax error.
2010-03-07 16:41:40 -02:00
David Capello
470ae96c3b
Fixed some new-line issues.
2010-03-07 16:39:58 -02:00
David Capello
324435760d
Modified ase_exception creation with printf style.
2010-03-07 16:38:14 -02:00
David Capello
961b2911f5
Old JI_SIGNAL_WINDOW_CLOSE signal is not generated anymore (it was replaced with Frame::Close signal member).
2010-03-07 16:37:30 -02:00
David Capello
ca2e3f7bed
Renamed Command_precondition_exception class to CommandPreconditionException.
2010-03-07 16:21:09 -02:00
David Capello
5d55358ffb
Renamed Context::m_current_sprite to m_currentSprite.
2010-03-07 16:18:38 -02:00
David Capello
77a54b7d34
Modified ase_exception creation with printf style.
2010-03-07 16:16:10 -02:00
David Capello
61316bedab
Added libraries and flags in VC2008 to compile with static+debug mode.
2010-03-07 16:13:33 -02:00
David Capello
6867f2c6a5
Added PopupWindow widget.
2010-03-07 16:10:48 -02:00
David Capello
7a3b1e3369
Modified an ase_exception call using printf style call.
2010-03-07 15:28:01 -02:00
David Capello
d0514884de
Fixed a problem in gui_feedback() where the CurrentSpriteReader could be locked.
2010-03-07 15:25:47 -02:00
David Capello
2ed2ce9545
Modified an ase_exception call using printf style call.
2010-03-07 15:22:14 -02:00
David Capello
5edc5696ca
Modified some ase_exception creations using PACKAGE name.
2010-03-07 15:20:50 -02:00
David Capello
65cb9c3517
Added constraint of guiscale() value depending height of the screen.
2010-03-07 15:18:39 -02:00
David Capello
6ebf5966c3
Fixed a bug which pressed/released messages were generated incorrectly for mouse buttons pressed/released in groups.
2010-03-07 15:16:15 -02:00
David Capello
1f29b67364
Applied guiscale() to some skinneable widgets.
2010-03-07 14:21:24 -02:00
David Capello
df59edc3ce
Modified "int tiled" to "bool tiled" in "dirty_new".
2010-03-07 12:17:11 -02:00
David Capello
156e3adeb3
Added 'extras' to Sprite to draw extra-stuff that is not in the Sprite (it will be useful to draw preview of the brush).
2010-03-07 12:14:25 -02:00
David Capello
e7b99eda29
Modified C *_free calls to C++ delete.
2010-03-07 12:06:37 -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
862ae6078c
Modified C comments to C++.
2010-03-07 11:58:10 -02:00
David Capello
2a78fdca92
Applied guiscale() to loaded skin.
2010-03-07 11:57:34 -02:00
David Capello
dc19778ecc
Added SkinneableTheme::apply_gui_scale() member function.
2010-03-07 11:55:24 -02:00
David Capello
2d3cfe116b
Removed try{}catch in DEBUGMODE to get the exception in the debugger.
2010-03-07 11:49:56 -02:00
David Capello
bb689258ff
Removed jmanager_dispatch_messages() from jwidget_scroll() because it is not necessary and it give us problems with the editor scroll movement.
2010-03-07 11:47:40 -02:00
David Capello
12f762b47f
Added jpoint.cpp in the COMMON_SOURCES list.
2010-03-07 11:44:38 -02:00
David Capello
32f3987c64
Resort includes.
2010-03-07 11:42:00 -02:00
David Capello
0b357e068b
Added Mask::contains_point member function.
2010-03-07 11:40:54 -02:00
David Capello
36f281a2b7
Limited scroll movement (related to feature request #2874441 ).
2010-03-07 11:39:18 -02:00
David Capello
b8a39cf8db
Now clipboard::cut() deselects the mask.
2010-03-01 23:03:33 -02:00
David Capello
4f4d863a0f
Now ClearCommand deselects the mask.
2010-03-01 23:02:32 -02:00
David Capello
cc7fd95559
Added Undoable::deselect_mask() member function.
2010-03-01 23:01:43 -02:00
David Capello
c4afb1a236
Renamed get_sprite() to getSprite() in Layer class and Undoable class.
2010-03-01 22:59:16 -02:00
David Capello
898f43ff65
Need to include render.h to get RenderEngine class definition.
2010-03-01 01:08:12 -02:00
David Capello
c89b727b47
Missing RenderEngine::setPreviewImage.
2010-03-01 01:03:07 -02:00
David Capello
1e121378de
Replaced App events (IAppHook) with Vaca signals/slots.
2010-03-01 00:36:05 -02:00
David Capello
fb139ccf49
Renamed Editor::editor_get_sprite to Editor::getSprite.
2010-03-01 00:00:56 -02:00
David Capello
d8a7fbf0f0
Moved functions from util/render.h into RenderEngine class.
2010-02-28 23:29:50 -02:00
David Capello
700ab045d2
Added algo_polygon() algorithm.
2010-02-28 23:02:50 -02:00
David Capello
031c8d187b
Changing ASE name to aseprite.
2010-02-28 22:16:58 -02:00
David Capello
a8831eed86
Modified some comments to C++ style.
2010-02-28 22:09:46 -02:00
David Capello
7cdf9d6fe5
Minor change (sorted COMMON_SOURCES list).
2010-02-28 21:48:17 -02:00
David Capello
9c457d076a
Added "split" rule in manual's Makefile.
2010-02-28 21:46:32 -02:00
David Capello
8cfb3daee0
Removed ^L characters.
2010-02-28 21:45:52 -02:00
David Capello
8028551bd3
Removed a lot of .txt files and created README.html.
2010-02-28 00:28:14 +00:00
David Capello
b747ccdaa6
Updated copyright year to 2010
2010-02-01 21:25:40 +00:00
David Capello
43dde6ed78
Removed jxml.cpp and jxml.h
2010-02-01 00:00:29 +00:00