Commit Graph

576 Commits

Author SHA1 Message Date
David Capello
911c2dca8f The state-bar shows the name of the current layer when there is just one layer. 2010-03-29 00:12:07 -03:00
David Capello
749488d794 Fixed a couple of compiler warnings. 2010-03-29 00:00:39 -03:00
David Capello
bea59d7280 Status bar widget converted to C++ StatusBar class. 2010-03-29 00:00:25 -03:00
David Capello
0119922613 Removed the big-layer button from the state-bar. 2010-03-28 23:18:26 -03:00
David Capello
7974bffb80 Fixed bugs when the current tool was used in an hidden/locked layer. 2010-03-28 17:29:13 -03:00
David Capello
2d5e2dc7d7 Modified state-bar to show the stack of layers.
Removed the sprite & undo size indicators (completely useless).
2010-03-28 17:28:38 -03:00
David Capello
145a78ac09 Fixed minor problem with color-bar and JM_REQSIZE message. 2010-03-28 16:48:34 -03:00
David Capello
67c678a690 Background/padding color in Animator Editor is equal to Sprite Editor one (from SkinneableTheme). 2010-03-28 16:44:34 -03:00
David Capello
ca25326d5d Fixed some strange bugs that appears when a exception is thrown in file-loading process. 2010-03-28 16:18:49 -03:00
David Capello
4810ab8228 Added compressed images (with zlib) to .ase format. 2010-03-28 16:18:15 -03:00
David Capello
65466cfe04 Moved "ncolor" field in .ase format to next WORD position (the "unknown field" looks like a DWORD). 2010-03-28 16:17:51 -03:00
David Capello
5c2d31f3fe Exceptions are caught in open/save command threads. 2010-03-28 15:47:22 -03:00
David Capello
129d5a9b13 Mouse wheel+shift in color-bar jumps entire columns. 2010-03-28 13:11:31 -03:00
David Capello
ee878c87e9 Modified Palette class to contain all functions to manipulate it as function members.
Modified its implementation to use std::vector<> instead of a raw C array[].
Now the number of colors in the sprite is more relevant (e.g. we should be able to create sprites of 4bpp, 16 colors).
2010-03-28 12:15:32 -03:00
David Capello
3b98594129 Removed dead code in cmd_open_file.cpp. 2010-03-27 23:45:03 -03:00
David Capello
61c1e08be1 Added RecentFiles C++ class to replace legacy C implementation of recent files. 2010-03-27 23:43:08 -03:00
David Capello
d7f6b78119 Removed tooltip window and refresh_timer stuff in new color-bar. 2010-03-27 19:43:04 -03:00
David Capello
62d0c1db1d New simplified color-bar (still WIP). 2010-03-27 19:41:39 -03:00
David Capello
2e6ac640d6 Minor TODO modifications. 2010-03-27 19:40:29 -03:00
David Capello
74f5fd2f41 Some error reporting if skin.xml contains invalid cursors. 2010-03-27 19:23:24 -03:00
David Capello
1c8705a8cf Minor change: Replaced one JRect to Vaca::Rect. 2010-03-27 19:19:42 -03:00
David Capello
b9d0e846b2 Hand tool now really scrolls. 2010-03-27 19:15:00 -03:00
David Capello
9331e3e5d2 Added more information in About dialog. 2010-03-27 19:13:01 -03:00
David Capello
e675e4e5fe Modified about string. 2010-03-27 18:54:11 -03:00
David Capello
d093439109 Minor change: C++ comment style. 2010-03-27 18:53:58 -03:00
David Capello
b1a53bfdd2 JM_DESTROY message cannot be used in derived classes of Widget. 2010-03-27 18:53:47 -03:00
David Capello
c3ef673421 Minor modification to comments. 2010-03-27 17:26:02 -03:00
David Capello
9a58b21b08 Now draw_emptyset_symbol() uses a Vaca::Rect instead of JRect. 2010-03-27 17:03:25 -03:00
David Capello
ea48f8d9a4 Added jdraw_rectfill() with a Vaca::Rect as parameter. 2010-03-27 16:26:08 -03:00
David Capello
ac27949623 Removed unused variables. 2010-03-27 16:25:18 -03:00
David Capello
a85efcded5 ASE will be the name for the next release. 2010-03-27 16:21:41 -03:00
David Capello
b676b74166 Fixed bug in LayerImage::destroy_all_cels() using cel_is_link() in deleted cels.
Removed cel_is_link() function because link cels do not exist anymore.
2010-03-26 11:44:27 -03:00
David Capello
8ff997d2d2 Fixed a lot of important bugs in clipping code. 2010-03-26 09:57:56 -03:00
David Capello
3f7621ec5c Fixed: multiple-error messages when files specified in arguments are not found. 2010-03-26 08:45:13 -03:00
David Capello
74efad3a0a Fixed a bug in CheckArgs::clear(). 2010-03-26 08:42:53 -03:00
David Capello
706cc17748 Parts are specified in skin.xml now. 2010-03-26 08:31:47 -03:00
David Capello
15dc254f48 Smaller bottom area for tabs widget. 2010-03-24 22:50:14 -03:00
David Capello
5879af68fd Modified some tool icons. 2010-03-24 22:32:11 -03:00
David Capello
4f40d89c6f Added mini-look to tabs buttons. 2010-03-24 22:08:22 -03:00
David Capello
7185d439d8 Fixed SkinneableTheme::draw_bounds() when the rectangle is too short (in width). 2010-03-24 22:08:07 -03:00
David Capello
a2c3517717 Cursors coordinates are specified in the default_skin.xml now. 2010-03-24 21:35:44 -03:00
David Capello
f95a67f8fc Converted color bar widget to ColorBar class. 2010-03-24 20:06:54 -03:00
David Capello
5af9b7809f Fixed bug clearing tool icons. 2010-03-24 19:28:29 -03:00
David Capello
7d240c861f Fixed bug 'preview cursor is not visible in indexed images when fg-color is 0' adding Image::mask_color field. 2010-03-24 19:15:23 -03:00
David Capello
975049bdea Removed _index_cmap. It was used to remap colors of the current palette (useful in 8 bpp modes). 2010-03-24 18:21:20 -03:00
David Capello
1fe1e2ff7b Removed real-time dithering option (because 8 bpp is not supported anymore). 2010-03-24 18:06:28 -03:00
David Capello
9774059a9a Now windows threads implementation uses CreateThread instead of _beginthread. 2010-03-24 18:01:58 -03:00
David Capello
4ccb661bbf Minilook for group of buttons (groupbut and buttons in "target" selector). 2010-03-24 17:49:46 -03:00
David Capello
a336900115 When the mouse leaves the color-bar the status bar is cleared. 2010-03-24 17:40:58 -03:00
David Capello
ca69e5572f When a file is closed now the status bar says something about it. 2010-03-24 17:40:41 -03:00