Commit Graph

491 Commits

Author SHA1 Message Date
David Capello
02a9d50524 Update copyright year to 2012. 2012-01-06 00:52:11 -03:00
David Capello
ed6090bc36 Convert all newline to LF style and remove all tabs.
This was done to avoid mixed files (CRLF & LF) in the repository.
2012-01-05 19:45:03 -03:00
David Capello
210e33f76a Improve "Canvas Size" command to show rulers to change the canvas size.
+ Added EditorDecorator and EditorState::getDecorator().
+ Added EditorPreRender and EditorPostRender classes.
+ Added Image::rectblend and image_rectblend functions to draw
  transparent rectangles.
+ Added SelectTileState and Ruler classes.
2011-04-21 17:39:43 -03:00
David Capello
a8d9636467 Refactor filters (effects).
+ Added Filter, FilterManager, and FilterIndexedData interfaces.
+ Moved all widgets related to filters to src/commands/filters.
+ Added the filters library.
+ Added FilterWindow and one derived window for each filter.
2011-03-13 15:50:31 -03:00
David Capello
de47c6ff59 Rewritten palette editor using ColorSliders and HexColorEntry widgets. 2011-03-03 22:17:25 -03:00
David Capello
b0ff50ec0e New color-bar with scrollable palette-view.
+ Removed palette-view from Palette Editor.
+ Fixed problems pasting RGB values in #hex format and HSV sliders.
2011-02-23 19:29:57 -03:00
David Capello
f018ab64df Move "Constant Frame Rate" as a menu option under "Frame" menu (before it was a button in "Sprite Properties" dialog).
+ Added "frame" parameter to FrameProperties command.
+ Removed the global function dialogs_frame_length().
2011-01-23 20:27:52 -03:00
David Capello
bf395fca61 More updates for copyright year to 2011. 2011-01-20 18:32:31 -03:00
David Capello
e9bc81cc1d Add transparent color index in sprite and .ase files (it does not work in render operation yet). 2011-01-20 17:17:35 -03:00
David Capello
d4caa65cae Use gfx::Rgb and gfx::Hsv classes for HSV <-> RGB conversions.
+ Removed rgb_to_hsv_int() and hsv_to_rgb_int() functions.
+ Changed HSV ranges from [0,255] to H=[0,360], S=[0,100], V=[0,100].
+ Simplified Color class (src/app/color.h) using a m_type and m_value union.
2010-12-08 11:35:08 -03:00
David Capello
742cf18237 As now the window can be resized in all platforms we can remove "Configure Screen" option. 2010-11-04 21:47:54 -03:00
David Capello
7d47093acc Convert jbutton widget to ButtonBase, Button, CheckBox, and RadioButton C++ classes.
+ Add ButtonBase::Click signal.
+ Button does not close the window by default (you have to configure this action manually when Click signal is triggered).
+ Add "closewindow" attribute to <button> widget in XML files.
+ Move "bevels" to SkinProperty.
+ Convert colorbutton widget in ColorButton C++ class.
2010-08-23 17:41:19 -03:00
David Capello
78366fa545 Spray settings are hidden when we do not have the Spray tool selected. 2010-08-13 11:04:17 -03:00
David Capello
52db5a6bb3 Rename "fuzziness" parameter to "tolerance" in Replace Color effect (to keep consistency with the new floodfill tolerance parameter). 2010-08-13 10:53:42 -03:00
David Capello
dec4bbc6a4 Add "Tolerance" parameter for some tools like Magic Wand and Paint Bucket (Trent Gamblin idea). 2010-08-13 10:41:13 -03:00
David Capello
247481d77d Disabled some options that will not be available yet in the next beta. 2010-07-23 22:27:23 -03:00
David Capello
0062e3b5e5 Added a WIP label in canvas dialog. 2010-06-24 10:40:36 -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
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
6fb63f71b0 Modified logic to selected the default sort criteria in palette editor. 2010-06-15 19:45:57 -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
91174456cd Added the missing palette commands: ramp, quantize, load, and save. 2010-06-13 20:04:38 -03:00
David Capello
9a550e2301 Added "More Options" panel in palette editor. 2010-06-13 19:35:40 -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
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
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
David Capello
befd81c63b Added "checked background configuration".
Now you can configure size and color of the checked background
used in transparent sprites.
2010-04-25 21:29:50 -03:00
David Capello
3f6f1471fd Removed mouse speed option.
Removed _setup_mouse_speed() function and dialog/options.cpp file.
All the code is in cmd_options.cpp now.
2010-04-25 15:52:19 -03:00
David Capello
5665b7dd1a Added grid_settings command (feature #2874433). 2010-04-25 15:31:44 -03:00
David Capello
182ee290d0 Modified "Tools Configuration" window layout. 2010-04-25 15:02:58 -03:00
David Capello
a5e02323f2 Sprite Properties window now uses a grid. 2010-04-25 14:35:10 -03:00
David Capello
a3799e4084 Fixed "minwidth" attribute of "brush_size" field. 2010-04-24 16:11:14 -03:00
David Capello
10781dcf5f Removed Context::getFg/BgColor member functions.
Modified color_get_*() so they do not need "imgtype" parameter.
ColorBar class is public (defined in colbar.h).
Added ColorBar::Fg/BgColorChange signals.
Converted palette editor widget to a C++ class (PalEdit derived from Widget).
Modified the "Palette Editor" (F4 key) to be non-modal (still WIP).
2010-04-10 17:01:56 -03:00
David Capello
6173c54a92 Minor modifications in the layout of "Tools Configuration" window. 2010-04-10 16:10:08 -03:00
David Capello
c5442abcba Moved data/jids/*.jid files to data/widgets/*.xml. 2010-04-06 22:14:33 -03:00