David Capello
01b6afb531
Replace jwidget_scroll with Widget::scrollRegion().
2012-03-20 16:13:37 -03:00
David Capello
2e87676d70
Now Shift+V works correctly when we are moving pixels.
2012-03-20 14:41:20 -03:00
David Capello
a27d1d3eeb
Remove deprecated dialogs: drawtext.cpp, playfli.cpp, repo.cpp.
2012-03-20 13:23:59 -03:00
David Capello
041140f528
Change "imgtype" int type to PixelFormat enumeration.
2012-02-12 23:21:06 -03:00
David Capello
1345919aaa
Replace image_new* functions with Image:create*() member functions.
2012-02-11 22:57:21 -03:00
David Capello
6bcf559b35
Now the recent list of paths can contain 16 paths different from the recent list of files.
...
- Added RecentItems class in base library.
2012-02-11 19:04:52 -03:00
David Capello
e018cf099d
Conert all mask_* functions to Mask function members.
2012-01-08 22:34:36 -03:00
David Capello
b8fbaad7fb
Replace Allegro Sprite Editor or ASE with ASEPRITE in all files.
2012-01-06 01:12:57 -03:00
David Capello
02a9d50524
Update copyright year to 2012.
2012-01-06 00:52:11 -03:00
David Capello
ed6090bc36
Convert all newline to LF style and remove all tabs.
...
This was done to avoid mixed files (CRLF & LF) in the repository.
2012-01-05 19:45:03 -03:00
David Capello
a5056e1551
Fix issue #29 : error using a non-const reference as parameter
...
in NullableIterator::setIterator() when a const-reference is the
expected type.
2011-07-10 00:44:48 -03:00
David Capello
57dd972ce5
Replace JList and JLink usage in filesel.cpp with FileItemList and NullableIterator.
2011-07-06 21:59:49 -03:00
David Capello
96d263f50e
Move src/core/ to src/
...
+ Renamed cfg.cpp to ini_file.cpp
2011-06-29 22:51:46 -03:00
David Capello
5be14417f3
Convert menu widgets to Menu, MenuItem, MenuBox, and MenuBar classes.
2011-04-30 15:31:05 -03:00
David Capello
ff897fea34
Remove JMessage and jmessage union, use Message* and Message instead.
2011-04-02 13:14:07 -03:00
David Capello
dc58651f79
Remove UndoHistory::undo_* member functions to use Undoers directly
...
and to avoid undo-lib <-> undoers circular dependency.
2011-03-30 18:27:52 -07:00
David Capello
d57677d80b
Remove jwidget_find_name() function.
2011-03-29 21:42:21 -03:00
David Capello
0bd6e19093
Replace jwidget_add_child/remove_child/replace_child with Widget's methods.
2011-03-29 21:35:17 -03:00
David Capello
a17c767e65
Remove all public fields of Cel adding accessors.
2011-03-28 00:24:27 -03:00
David Capello
f854c7acf5
Fix bug #14 , don't ask for saving changes when read-only commands are used.
...
+ Added a new attribute for each undo item (undo::Modification).
+ Each item now modifies or does not modify the document (e.g. selection
actions do not modify the document).
+ Added an asterisk in tabs when the document is modified.
2011-03-26 19:58:52 -03:00
David Capello
4fcbc7b6df
Improve AnimationEditor::drawCel() to avoid calling LayerImage::getCel()
...
for each Cel to be drawn (getCel() is O(N)).
2011-03-26 19:05:09 -03:00
David Capello
3e8e3b397a
Convert the animation editor to a C++ class (AnimationEditor derived
...
from Widget).
2011-03-26 18:28:27 -03:00
David Capello
8e5c950df8
Refactored the entire Undo system in several layers.
...
+ Added "undo" library (undo namespace).
+ Moved UndoHistory to undo namespace.
+ Added Undoer and UndoersCollector interfaces.
+ Converted old UndoStream to UndoersStack class.
+ Added new "undoers" namespace and moved each Undoer implementation
(classes to undo different actions) to "undoers" directory.
+ Added IO operations to "raster" objects (image, cel, layer, palette,
mask).
2011-03-26 17:40:55 -03:00
David Capello
69dff9b5d0
Use C99 uint*_t instead of ase_uint*.
2011-03-24 18:36:19 -03:00
David Capello
9182f0f14a
Move UndoHistory from raster/ to undo/ directory.
2011-03-24 11:50:00 -03:00
David Capello
0b495085cc
Move the active mask from Sprite class to Document.
...
+ Removed masks and paths repositories.
+ Added Document::isMaskVisible and Document::setMaskVisible methods.
2011-03-23 00:06:43 -03:00
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
775357d04f
Remove deprecated vectmap code.
2011-03-20 16:40:44 -03:00
David Capello
9b32ebdad6
Rename Undo class to UndoHistory.
2011-03-13 17:33:42 -03:00
David Capello
6d5531b998
Replace old gfx-data with graphics from the skin sheet.
...
+ Removed gfxdata.cpp file.
+ Removed get_gfx() from modules/gfx.h/cpp.
+ Added skin parts for each removed graphics of gfxdata.
+ Added IButtonIcon interface and an implementation for skin theme.
+ Removed "icon_buttons" from gui.cpp.
+ Now icons in button are set through set_gfxicon_to_button function.
+ Removed from Theme class check/radio_icon_size member variables
(they are replaced with the new IButtonIcon interface).
+ Removed jdraw_inverted_sprite(), now each icon has it normal/selected
version in the skin sheet.
2011-03-06 16:15:05 -03:00
David Capello
95fd6c697c
Change SIGNAL_COLORBUTTON_CHANGE to ColorButton::Change signal.
2011-02-20 19:37:42 -03:00
David Capello
ad12af7c8b
Refactor the entire view widget to View, Viewport, and ScrollBar C++ classes.
2011-02-20 18:35:21 -03:00
David Capello
2baa342a65
Remove "j" prefix from some files in gui library.
2011-01-30 19:12:10 -03:00
David Capello
69fa03dcd7
Avoid deprecated allegro functions.
2011-01-28 04:55:55 -08:00
David Capello
5a9d991219
Convert jalert to Alert C++ class.
2011-01-27 17:21:33 -03:00
David Capello
d8a3d27c0f
Convert jbox widget to Box class.
2011-01-24 19:48:09 -03:00
David Capello
58b2c1bcd0
Improve palette editor's RGB/HSV sliders.
...
+ Added SkinSliderProperty and ISliderBgPainter to draw a customized background in sliders.
+ Moved SkinTheme to src/skin/ directory.
2011-01-24 00:03:38 -03:00
David Capello
f018ab64df
Move "Constant Frame Rate" as a menu option under "Frame" menu (before it was a button in "Sprite Properties" dialog).
...
+ Added "frame" parameter to FrameProperties command.
+ Removed the global function dialogs_frame_length().
2011-01-23 20:27:52 -03:00
David Capello
36e605bdf2
Move jmalloc/jfree to base/ library as base_malloc/free (remove new/new0/renew macros).
2011-01-23 19:19:18 -03:00
David Capello
05cc6f6ba6
Remove jwidget_close_window function.
2011-01-21 23:49:07 -03:00
David Capello
cb6d70521f
Replace jwidget_dirty/invalidate and Widget::dirty functions with new Widget::invalidate* member functions.
2011-01-21 19:45:04 -03:00
David Capello
74b7442ae4
Replace jwidget_get/set_theme with Widget::get/setTheme.
2011-01-21 18:08:25 -03:00
David Capello
fc263ddb88
Move SkinneableTheme in src/modules/ directory to SkinTheme in src/.
2011-01-21 17:29:45 -03:00
David Capello
45855b88d3
Move "AseException" to "base::Exception" class.
...
+ Created XmlException for tinyxml parsing errors.
+ Moved functionality of AseException::show() to Console::showException().
2011-01-20 23:33:57 -03:00
David Capello
cf2f042cbf
Rename CommandsModule::get_command_by_name to getCommandByName.
2011-01-20 20:49:03 -03:00
David Capello
3887173fac
Rename all commands to camel case.
2011-01-20 20:46:58 -03:00
David Capello
8e8ac7aa50
Refactor all member functions of Context class to camel case.
2011-01-20 19:58:11 -03:00
David Capello
bf395fca61
More updates for copyright year to 2011.
2011-01-20 18:32:31 -03:00
David Capello
d6eb20ef7e
Update copyright year to 2011.
2011-01-18 20:49:53 -03:00