Commit Graph

2281 Commits

Author SHA1 Message Date
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
70240c9639 Minor modifications in the "New Sprite" dialog layout. 2010-06-01 22:02:26 -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
69bad938de Removed unnecessary #include <allegro.h> 2010-05-30 10:47:16 -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
dfd0bb0c00 Added "Selection Tools" section. 2010-05-06 22:01:24 -03:00
David Capello
90a0c4aeff ase64.ico moved to docs/manuals/images directory. 2010-05-06 22:00:45 -03:00
David Capello
f9aaf0af99 Fixed cursors problem when the user is dragging pixels. 2010-05-06 22:00:22 -03:00
David Capello
8e985a3bd8 Renamed PixelsMovement::m_isCatched (which should be Caught) to m_isDragging. 2010-05-06 21:59:48 -03:00
David Capello
c5c1f45b96 Fixed clipping problems dragging selected pixels when other windows are opened. 2010-05-06 21:58:13 -03:00
David Capello
9902481f51 Improved pixel-movement: Added support for continuos movement even when we release the mouse button.
The mouse is captured by the editor until the user presses a key (e.g. to execute a command) or uses the selection tool to add/subtract chunks of mask. While the mouse is captured we are in the "pixels movement" loop.
2010-05-03 23:01:05 -03:00
David Capello
a98113a92e Fixed problems with cel position alignment in Undoable::clear_mask and paste_image members functions. 2010-05-03 22:55:06 -03:00
David Capello
8b4c4f6a5a Added jmessage_new_copy_without_dests() to copy messages without copying the list of recipients. 2010-05-03 22:40:01 -03:00
David Capello
ea56481314 Updated copyright to 2010. 2010-04-28 23:52:51 -03:00
David Capello
e1bdcb9899 Added buttons in Options dialog to change grid colors (normal grid and pixel grid). 2010-04-28 23:47:08 -03:00
David Capello
2af3160b3f Added an option in Tools Configuration dialog to show the pixel grid. 2010-04-28 23:46:17 -03:00
David Capello
30c6677cc1 The Editor can draw the pixel grid. 2010-04-28 23:44:32 -03:00
David Capello
4807de27b4 Added "pixel grid" in ISettings interface. 2010-04-28 23:44:10 -03:00
David Capello
b935f90cd3 Minor modification in tools_configuration window layout. 2010-04-25 23:39:46 -03:00
David Capello
8dd69cada9 Moved "Cursor Color" setting from "Tools Configuration" to "Options" dialog. 2010-04-25 23:35:05 -03:00
David Capello
1bc1cf2f5b Changed caption of the palette editor to "Palette". 2010-04-25 23:24:59 -03:00