David Capello
f08d049ab6
Rename Undoable to UndoTransaction.
2011-03-22 21:22:13 -03:00
David Capello
6e60d3200d
Add Document class, to remove app specific properties from Sprite.
...
+ Moved some properties from Sprite to Document: lock/unlock/mutex,
filename, isModified flag, undo history, mask boundaries, file
format options, preferred editor settings, extra cel.
+ A Context now has an active document (instead of an active sprite).
+ Renamed all sprite wrappers to be document wrappers (as the mutex is
in the Document now).
+ Modifications to SharedPtr<> to be more like C++0x shared_ptr<>.
2011-03-22 21:11:25 -03:00
David Capello
9b32ebdad6
Rename Undo class to UndoHistory.
2011-03-13 17:33:42 -03:00
David Capello
2baa342a65
Remove "j" prefix from some files in gui library.
2011-01-30 19:12:10 -03:00
David Capello
3887173fac
Rename all commands to camel case.
2011-01-20 20:46:58 -03:00
David Capello
d6eb20ef7e
Update copyright year to 2011.
2011-01-18 20:49:53 -03:00
David Capello
ffd0f17879
Move all undo_*() functions as members of Undo class.
2010-09-30 23:55:35 -03:00
David Capello
cb3dd70fb8
Move Jinete library to src/gui directory (future gui-lib).
2010-09-26 15:59:32 -03:00
David Capello
3ec3bbbef8
Refactor undo_clear_redo/set_label/get_next_*_label -> Undo::clearRedo/etc.
2010-09-19 17:44:06 -03:00
David Capello
12ce788d11
Remove undo_new/free/enable/disable/is_enabled/is_disabled, add Undo::is/setEnabled.
2010-09-19 15:23:15 -03:00
David Capello
4874f455f1
Refactor Layer::get/set_name to Layer::get/setName.
2010-09-19 00:03:32 -03:00
David Capello
46e847ef80
Remove internationalization stuff.
...
- Remove "_" macro.
- Remove src/intl/ directory.
2010-09-18 23:54:56 -03:00
David Capello
4b2f341af1
Refactored Command class to contain extensions points (virtual methods) as protected members (except clone() method).
...
+ Renamed Command::load_params -> onLoadParams
+ Renamed Command::enabled -> onEnabled
+ Renamed Command::checked -> onChecked
+ Renamed Command::execute -> onExecute
+ Added public (non-virtual methods) Command::execute/loadParams/isChecked/isEnabled.
2010-07-31 12:23:45 -03:00
David Capello
475d0eeb1b
Refactored Sprite class: no public variable members, all functions sprite_* go as Sprite function members, pimpl idiom.
2010-03-30 21:43:18 -03:00
David Capello
b747ccdaa6
Updated copyright year to 2010
2010-02-01 21:25:40 +00:00
David Capello
11a094cb05
Moved app.cpp from src/core/ to src/
2009-12-11 14:53:05 +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
5455136f35
Internal refactoring of commands to support record/play macros in the near future.
2009-10-09 01:34:06 +00:00
David Capello
b0c56578ca
Moved modules/sprites.cpp to effect/images_ref.cpp
2009-08-17 23:45:55 +00:00
David Capello
3dbb7c088b
Moved console.* from src/console to src/
2009-08-17 19:32:09 +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
c4be9fe5b4
Added Context and UIContext classes.
...
Added CurrentSprite class.
Removed current_sprite global.
Moved all functions of 'sprites' module to Context/UIContext.
2009-06-01 02:59:15 +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
c35c452a80
Converted GfxObj and all the hierarchy of graphics objects to classes.
...
Removed "(void)" -> "()".
2008-10-01 01:27:51 +00:00
David Capello
a587132ffe
Project converted to C++.
2008-09-30 21:01:54 +00:00