David Capello
d547a05f4d
Add EditorListeners.
2011-04-02 15:47:44 -03:00
David Capello
d6181d838d
Rename ITabsHandler to TabsDelegate.
2011-04-02 14:57:40 -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
19ea79b41e
Add minifont in SkinTheme for color buttons.
2011-04-02 11:45:43 -03:00
David Capello
450e97ef92
Move data/skins/default_skin to data/skins/default.
2011-04-02 10:53:52 -03:00
David Capello
c5801760b6
Use PNG for fonts instead of PCX.
2011-04-02 10:50:59 -03:00
David Capello
1fd011c20b
Move everything related to tools in "tools" namespace.
...
+ Splitted tools/tool.h|cpp in several files (ink.h, intertwine.h, etc.).
2011-04-02 10:47:03 -03:00
David Capello
3c3136235f
Several fixes in font glyphs to improve the overall look of the program.
2011-04-02 09:49:21 -03:00
David Capello
82f5345ace
Add ToolLoopManager::Pointer abstraction to avoid using JMessage in src/tools/ dir.
2011-04-01 22:48:58 -03:00
David Capello
9d744504a6
Rename some Editor's member functions to camelCase.
2011-04-01 22:23:38 -03:00
David Capello
4e567d72c7
Remove Editor's decorators (they were never used).
2011-04-01 22:11:07 -03:00
David Capello
f3b3664148
Add Widget::broadcastMouseMessage() to customize the list of targets
...
to receive mouse messages.
2011-03-31 00:18:28 -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
5576ea7e7c
Remove "typename" from get_neighboring_pixels() params.
2011-03-30 16:41:49 -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
c7bf667f0d
Add VBox, HBox, and BoxFiller micro-classes.
2011-03-29 21:13:08 -03:00
David Capello
3ad44e3004
Add a "pin" in color selectors to make the popup window floating.
...
+ Added Frame::hitTest() and Frame::onHitTest().
+ Added LookType enum for SkinProperty.
2011-03-29 21:07:37 -03:00
David Capello
236ee6bb7b
Implement duplicate sprite with all layers (it was removed
...
temporally with the introduction of Document class).
2011-03-28 23:31:16 -03:00
David Capello
4aa039d40b
Fix reversed logic in Document::duplicate().
2011-03-28 23:20:03 -03:00
David Capello
a17c767e65
Remove all public fields of Cel adding accessors.
2011-03-28 00:24:27 -03:00
David Capello
9077ab8357
Implement duplicate sprite with flatten layers (it was removed
...
temporally with the introduction of Document class).
2011-03-27 23:21:22 -03:00
David Capello
341e298a6e
Fix problems showing incorrect values in RGB/HSB entries in color selector.
2011-03-27 22:15:33 -03:00
David Capello
92266b2a68
Implement duplicate layer (it was removed temporally with the introduction
...
of Document class).
2011-03-27 22:08:19 -03:00
David Capello
e2a6ab7501
Show HSB instead of HSV in color selectors.
2011-03-27 22:02:59 -03:00
David Capello
da491a601b
Fix showing layer buttons in the status-bar overlapped by the
...
transparent-color selector when we're moving pixels.
2011-03-27 21:19:26 -03:00
David Capello
363f753929
Fix bug #3050538 avoiding using the global "window_action" flag.
2011-03-27 21:15:56 -03:00
David Capello
6a982f2e9f
Remove NEWS.txt file (replaced with Wiki).
2011-03-27 20:55:03 -03:00
David Capello
df01255b51
Use OVERRIDE macro in more member functions (onProcessMessage, etc.).
2011-03-27 20:42:16 -03:00
David Capello
682e7152b7
Replace UndoHistory::undo_int/data/double methods with new safe-undoers.
...
+ Added SetCelFrame/Opacity/Position, SetMaskPosition, SetStockImgType,
and SetLayerFlags undoers.
+ Finally removed the Layer::flags_addr() atrocity.
+ Removed RawData undoer.
+ Renamed SetImgType to SetSpriteImgType.
2011-03-27 18:15:00 -03:00
David Capello
b40a20e8aa
Move src/widgets/editor.h to src/widgets/editor/editor.h.
2011-03-27 14:54:37 -03:00
David Capello
8b19d36e51
Add ContextFlags to simplify Command::onEnabled() implementations.
2011-03-27 14:51:02 -03:00
David Capello
94ad5cc0fc
Fix layer_editable and layer_locked parts (they were switched).
2011-03-27 00:20:23 -03:00
David Capello
a21d15b4ef
Improve Document::lock() with an enum as parameter instead of a bool.
2011-03-27 00:15:08 -03:00
David Capello
eee8e17fcf
Fix problems drawing the editor cursor when several JM_DRAWs messages were received.
2011-03-27 00:02:20 -03:00
David Capello
be7aa1009d
Fix bug in ink_hline8_blur().
2011-03-26 23:55:59 -03:00
David Capello
cb0e3e9db1
Fix bug in BlurGetPixelsDelegateIndexed::operator() in ink_processing.h.
2011-03-26 23:51:55 -03:00
David Capello
6395ad3817
Write-lock the Document only when we press OK button
...
in LayerProperties, CanvasSize, LoadMask, and SaveFile commands.
2011-03-26 23:41:37 -03:00
David Capello
e6b1b1ffa8
Remove LayerImage(const LayerImage*, Sprite*) ctor.
2011-03-26 23:23:50 -03:00
David Capello
687e2a0f4f
Fix UndoHistory to adjust m_diffCount correctly.
2011-03-26 23:20:45 -03:00
David Capello
ef1a3194f0
Minor changes in UndoTransaction to avoid throwing exceptions from its dtor.
2011-03-26 23:05:24 -03:00
David Capello
74c21c3abb
Move FilterManagerImpl::apply() to private section.
2011-03-26 22:34:12 -03:00
David Capello
d95919beb5
Add a simple DeveloperConsole for debugging purposes (F11 key).
2011-03-26 20:43:43 -03:00
David Capello
7dd873b1a7
Mask and palettes do not need to be serialized with IDs because
...
they are not referenced by IDs in any other place.
2011-03-26 20:13:49 -03:00
David Capello
98c306f587
Fix bug using incorrect states as the "saved one" in UndoHistory.
2011-03-26 20:04:20 -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
a524fae9ba
Implement LayerImage::getCel() in terms of LayerImage::getCel() const.
2011-03-26 18:49:29 -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
e6bfe37a7c
Fix bug in FilterManagerImpl::begin(), it was not checking the
...
new Document::isMaskVisible() flag.
2011-03-26 17:48:51 -03:00