Commit Graph

103 Commits

Author SHA1 Message Date
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
0c6765fb88 Modules converted to C++ classes. 2010-01-29 03:15:33 +00:00
David Capello
017ece697f Now XML files are loaded with tinyxml library 2009-12-16 23:24:57 +00:00
David Capello
fd6f7dd156 Added support for the Close button in the system window. 2009-11-22 03:53:43 +00:00
David Capello
5d64181f16 Added SkinneableTheme class. Thanks to Ilija Melentijevic for the graphics. 2009-11-21 20:02:31 +00:00
David Capello
cbc0bf22bd Refactored Layer class to include all layer_* functions as member functions. 2009-11-17 13:12:26 +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
f2f78377ad Added IAppHook interface for a cleaner event/hook interface. 2009-10-14 14:09:59 +00:00
David Capello
eaf777e093 Modified marquee tooltip. Fixed bug #2874453 (thanks to Philippe Michael Groarke). 2009-10-09 02:51:24 +00:00
David Capello
4710ddf041 Removed deprecated files. 2009-10-09 02:11:03 +00:00
David Capello
60172fa2ee Modified folders to load data on Mac OS X platform (thanks to Trent Gamblin). 2009-10-09 02:06:09 +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
e1e60ab914 New version 0.7.1 released. 2009-08-10 14:35:13 +00:00
David Capello
8b8f13edf9 + Added support to paste/copy text from/to Windows clipboard.
+ Added support to process Ctrl+C / Ctrl+V / Ctrl+P keys in all entry fields.
+ Fixed a bug where file names for new sprites are lower-case always (in Windows).
2009-08-09 21:24:32 +00:00
David Capello
67a830183b + Modified makefile.vc to handle a completelly static compilation with VC++9.0 Express Edition
(the new compiler used for the following Win32 binary releases).
+ Modified some error handling code to use C++ exceptions.
+ Modified some collections (std::vector, std::map, etc.) from instances to pointers.
2009-08-05 01:53:02 +00:00
David Capello
a872edd377 Fixed critical bugs in rendering code with zoom. 2009-08-02 22:23:37 +00:00
David Capello
edc4da4b8e Added new command to rotate canvas. 2009-06-14 19:16:42 +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
b4a0d2f7d7 Added CurrentSpriteRgbMap class. 2009-06-11 00:33:29 +00:00
David Capello
59ae779fca + Added Context parameter to CurrentSprite.
+ Now CurrentSprite is defined in current_sprite.h.
+ Modified several routines to get the current sprite as parameter.
2009-06-02 14:08:56 +00:00
David Capello
8f92f78702 - Added Job class.
- Added SpriteSizeJob class.
- Added ScopedLock class.
- Fixed some bugs.
2009-05-31 20:15:38 +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
David Capello
cb6b45bb3f Fixed a bug in the File Open dialog when user presses ENTER key with an empty file name. 2009-03-02 02:08:40 +00:00
David Capello
0adb37f2bb Fixed a bug with multiple editors, paste command, and cleaning the editor's cursor. 2009-03-02 01:22:52 +00:00
David Capello
3d6af97999 Added "Save Copy As" command (feature #2636076). 2009-02-25 19:22:38 +00:00
David Capello
09578c2f23 Fixed some compilation errors in gcc 64 bits (reported by Scott Wilson). 2009-02-21 19:57:57 +00:00
David Capello
5a0a33d7e1 ASE 0.6.1 Released. 2009-01-24 02:52:03 +00:00
David Capello
8e498470d5 Fixed bug #2511762 (thanks to Clayton Enga for the patch).
Added the feature #2419098 (David Campo idea).
2009-01-24 00:41:01 +00:00
David Capello
98abdbf684 Minor modifications for the next release. 2008-10-18 19:35:26 +00:00
David Capello
77b06bf748 Added support to close tabs with middle button. 2008-10-16 02:19:00 +00:00
David Capello
f43bbec69d Better handling of special file-names in the file-name entry field of ase_file_selector. 2008-10-16 01:55:12 +00:00
David Capello
e9c3d46693 Added Undoable::crop_sprite/layer/cel.
Added Undoable::replace_stock_image, autocrop.
Added image_shrink_rect function.
Removed autocrop_sprite, CropSprite, CropLayer, and CropCel functions.
2008-10-14 03:11:59 +00:00
David Capello
7a68a1d32b Fixed an important bug where sprite's palettes where not freed using palette_free
(delete (Palette*)). This leaves some dead-pointers in the objects collection of 'gfxobj.cpp'.
2008-10-13 22:39:41 +00:00
David Capello
6562d7071a Now the file-system core routines use jstring (std::string) instead of char*.
Overloaded new and delete when MEMLEAK is activated (to use jmalloc and
jfree so memory leaks can be detected).
2008-10-13 21:43:41 +00:00
David Capello
9bf40439d4 Added jstring. The file-selector now uses jstrings. 2008-10-11 20:41:27 +00:00
David Capello
17dee030f5 Added undo support when changing frame duration.
Replaced ClearMask with Undoable::clear_mask.
2008-10-11 15:59:13 +00:00
David Capello
07b478907e Added Undoable::remove_layer.
Added Undoable::clear_mask.
Fixed a serious bug in shrink_mask.
2008-10-10 02:14:53 +00:00
David Capello
c327a740d7 Added Undoable class. 2008-10-02 02:31:07 +00:00
David Capello
1e44f9a454 Modified makefile.lst for cpp files.
Renamed src/test to src/tests.
2008-09-30 23:04:33 +00:00
David Capello
78f879fa14 Renamed some files and removed deprecated files.
Fixed a bug in fileview with i-search.
2008-09-30 01:25:11 +00:00
David Capello
bcc221ab59 Fixed a bug in FlattenLayers.
Fixed a bug when paste outside the sprite.
Fixed a bug in color-bar when drop colors in nowhere.
Fixed some compilation errors in MSVC.
2008-09-29 23:58:07 +00:00
David Capello
4026754881 Added support to lock lines in special angles with Shift key (feature request #1961397).
Fixed 'Curve' tool when click with the right mouse button (added
'editor_click_continue' routine for this).
2008-09-29 01:55:24 +00:00
David Capello
2e10ec3e21 Version 0.6b2 released.
Minor fixed and changes for the new release.
2008-05-06 15:22:57 +00:00
David Capello
3ce0a8fc85 Fixed the duplication of background layer: the flags aren't copied.
Minor changes.
2008-05-05 04:45:17 +00:00
David Capello
cf3521dfe8 Fixed some bugs in merge-down & crop commands using the Background layer. 2008-05-05 04:03:31 +00:00
David Capello
f8db016cb9 Added NewFrame & RemoveFrame.
Fixed move/copy_cel, and the Animation Editor is almost ready.
Added the cel_movement_popup.
Removed all the "quick" stuff (quick-move/copy, etc.).
Removed some commands (crop cel, crop layer, link cel).
2008-05-05 02:07:04 +00:00
David Capello
837cf39c54 Added the new Animator Editor.
Other minor changes & refactorings.
2008-04-27 20:27:06 +00:00
David Capello
215fd7dbd0 Added the jumble tool. 2008-04-14 17:56:38 +00:00