Commit Graph

543 Commits

Author SHA1 Message Date
David Capello
0467790bcf Added skin to scrollbar. 2010-06-24 00:09:46 -03:00
David Capello
d6def8fcc4 The number of colors in indexed sprites cannot be modified in the beta version yet (it needs more testing). 2010-06-23 23:31:29 -03:00
David Capello
52f94b613b Changed "Discard" to "Don't Save" in the warning dialog when the user wants to close a modified file. 2010-06-23 23:20:16 -03:00
David Capello
2f242e4934 Fixed get_color_for_image() function with color indexes out of range. 2010-06-23 23:18:57 -03:00
David Capello
896fbcc095 Fixed problems in color curve effect using color indexes out of range. 2010-06-23 23:18:22 -03:00
David Capello
548c82adaf Fixed save/load operations of .ase format for sprites with less than 256 colors. 2010-06-23 10:38:07 -03:00
David Capello
ce186c95b3 Avoid using RGB_MAPs with invalid colors (palette index out of range). 2010-06-23 10:36:42 -03:00
David Capello
2b5058f66c Modified "on_color_changed" slot (in palette editor) to avoid using invalid colors. 2010-06-21 22:17:05 -03:00
David Capello
489927528d Fixed a bug calling "palette_editor" with invalid color (index out of range). 2010-06-21 22:16:30 -03:00
David Capello
7d659f1017 Sort command will not be available in the beta version. 2010-06-17 02:28:37 -03:00
David Capello
1de1a263f1 Added undo information to sort command (it is WIP, is not working properly). 2010-06-17 02:17:42 -03:00
David Capello
df03782e0a Now Palette:sort() generates a mapping table. 2010-06-17 02:16:43 -03:00
David Capello
10325873d3 Added undo_remap_palette() function. 2010-06-17 02:14:44 -03:00
David Capello
1320ad7b61 Added Sprite::remapImages(). 2010-06-17 02:13:42 -03:00
David Capello
636b188283 Added possibility to sort a range of palette entries. 2010-06-17 00:34:39 -03:00
David Capello
924fc09a66 Added HSL_Lightness and YUV_Luma palette sort criteria. 2010-06-17 00:21:57 -03:00
David Capello
265896ac07 Now the "More Options" visible status is saved in configuration file. 2010-06-15 19:46:39 -03:00
David Capello
6fb63f71b0 Modified logic to selected the default sort criteria in palette editor. 2010-06-15 19:45:57 -03:00
David Capello
512a6162fe Renamed aseprite.cfg to aseprite.ini (.ini files can be opened in Windows). 2010-06-15 19:44:41 -03:00
David Capello
ec30837631 Added Palette:sort() and SortPalette class.
Implemented "Sort" command in palette editor.
2010-06-14 22:53:30 -03:00
David Capello
a5645bf577 Minor change: eliminated compilation warning. 2010-06-14 22:35:20 -03:00
David Capello
051577f725 Added jlistbox_get_items_count() function. 2010-06-14 21:22:59 -03:00
David Capello
d19321981d Removed not-implemented jlistbox methods. 2010-06-14 20:40:45 -03:00
David Capello
91174456cd Added the missing palette commands: ramp, quantize, load, and save. 2010-06-13 20:04:38 -03:00
David Capello
a0fabbfe18 Fixed makeRectRamp() when "from" index is greater than "to" index. 2010-06-13 19:51:26 -03:00
David Capello
9a550e2301 Added "More Options" panel in palette editor. 2010-06-13 19:35:40 -03:00
David Capello
493bbbd20c Fixed size of palette editor boxes for jguiscale() > 1. 2010-06-13 18:06:11 -03:00
David Capello
0d4851b0fb Removed death code in paledit.cpp. 2010-06-13 18:05:21 -03:00
David Capello
93f7d76715 Converted tabs widget to Tabs class and ITabsHandler interface. 2010-06-13 17:51:22 -03:00
David Capello
b37886b052 Now the status-bar text is cleared when the mouse leave widgets like Editor and ToolBar. 2010-06-11 00:05:53 -03:00
David Capello
c78f467ee4 The color-bar does not show invalid colors in the status-bar anymore. 2010-06-10 23:59:12 -03:00
David Capello
b334706cce Added StatusBar::clearText() member function. 2010-06-10 23:58:48 -03:00
David Capello
ed14c4a31a Now selected colors to draw are checked in Editor::createToolLoopImpl(). 2010-06-10 23:51:22 -03:00
David Capello
07970e8116 Removed app_get_fg/bg_color() functions. 2010-06-10 23:50:10 -03:00
David Capello
c908af4b87 Modified the way invalid colors are drawn. 2010-06-10 23:49:33 -03:00
David Capello
a17a3de4d4 Fixed: now you cannot select invalid colors with the color-bar. 2010-06-01 22:42:20 -03:00
David Capello
2a2effa4ff Fixed color_to_formalstring() for invalid colors. 2010-06-01 22:41:44 -03:00
David Capello
9942cf953c Fixed draw_color() function to draw invalid colors (out of palette range). 2010-06-01 22:41:26 -03:00
David Capello
7e711119e0 Removed a lot of warnings from core/color.cpp 2010-06-01 22:24:24 -03:00
David Capello
4de7f0e7c0 Added BITMAP* parameter in draw_emptyset_symbol() function. 2010-06-01 22:24:07 -03:00
David Capello
c975930fc3 Added color_is_valid() function to know if a color is inside the valid range of palette indices. 2010-06-01 22:03:44 -03:00
David Capello
0a5746bf3b Added the number of colors in "New Sprite" dialog for Indexed sprites. 2010-06-01 20:35:13 -03:00
David Capello
81bafa3595 Added some assertions to access current palette indexes through color_t type. 2010-05-30 10:55:13 -03:00
David Capello
4174c895ae Show the number of colors in sprite properties dialog. 2010-05-30 10:53:22 -03:00
David Capello
399d613a76 Now the palette is created with the given number of colors. 2010-05-30 10:48:37 -03:00
David Capello
018aeffa47 Fixed bug in Palette::toAllegro(): Index out of range. 2010-05-30 10:48:17 -03:00
David Capello
4a9f6cf520 Now Editor::controlInfiniteScroll() is called when the editor's state is MOVING_PIXELS but even when the user is not dragging the pixels (just the mouse captured). 2010-05-06 23:34:30 -03:00
David Capello
e5c7bf34fa Added more methods to handle decorators (still WIP) in Editor class. 2010-05-06 23:33:26 -03:00
David Capello
bffd54bf79 Added Editor::editor_set_zoom_and_center_in_mouse to remove duplicated code. 2010-05-06 22:15:58 -03:00
David Capello
f9aaf0af99 Fixed cursors problem when the user is dragging pixels. 2010-05-06 22:00:22 -03:00