Commit Graph

1271 Commits

Author SHA1 Message Date
David Capello
ef0cbf0e94 Fix bug in Editor::drawMaskSafe() where mask in hidden editors were drawn. 2011-04-06 22:09:01 -03:00
David Capello
8a40228ab3 Change default screen scale to 2x2 by default in all platforms. 2011-04-06 20:15:36 -03:00
David Capello
18fa17c5a9 Remove "using namespace tools;" from editor.cpp. 2011-04-03 16:23:09 -03:00
David Capello
ff1ada1d56 Add a note about IntEntry in TODO.txt. 2011-04-02 23:13:01 -03:00
David Capello
db4fc75f2a Set minifont for "Edit Pal" button and convert it to check-box behavior. 2011-04-02 23:10:02 -03:00
David Capello
36b3309125 Fix "i" glyph in minifont. 2011-04-02 23:08:46 -03:00
David Capello
e7d12f9062 Change the title of mini-editor from "Preview" to "Mini-Editor". 2011-04-02 21:00:08 -03:00
David Capello
b9f8c201c4 Better support for different zoom levels in the mini-editor. 2011-04-02 20:58:51 -03:00
David Capello
536d67566f Add support to resize the pinned popup frames. 2011-04-02 20:43:31 -03:00
David Capello
0bcb44c491 The mini-editor cannot be the current editor. 2011-04-02 20:43:19 -03:00
David Capello
70e76380aa Add mini-editor to see 1px preview when you zoom in.
+ Added EditorView widget.
2011-04-02 18:12:41 -03:00
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