Commit Graph

1052 Commits

Author SHA1 Message Date
David Capello
47a265745c Fix Quantize command call (sprite was locked). 2010-12-12 12:11:44 -03:00
David Capello
b600706e37 Remove duplicated getters in sprite (const/non-const). 2010-12-12 12:10:46 -03:00
David Capello
f7aec5a29b Fix a subtle problem in close_menuitem() setting the "is_processing" flag when it is not the last one in the chain (e.g. when it is followed by a JM_OPEN_MENUITEM message). 2010-12-12 11:58:22 -03:00
David Capello
17dea3db8d Modify sys_directx_assert() to call DebugBreak() instead of abort(). 2010-12-12 11:36:50 -03:00
David Capello
aacfb515e4 Changes in keyboard shortcuts to avoid tool-switching confusion. 2010-12-12 10:21:53 -03:00
David Capello
b665e7350b Update NEWS.txt with changes in 0.8.2 release (0.8 branch). 2010-12-12 10:20:11 -03:00
David Capello
8e54e0cbd5 Include third_party/gtest/include as -I only one time. 2010-12-12 09:53:39 -03:00
David Capello
1d5274d435 Fix HSV unittests. 2010-12-11 22:14:38 -03:00
David Capello
7e8ea5886a Fix bug in Hsv::saturationInt(). 2010-12-11 22:09:37 -03:00
David Capello
dbebaec92b New "overlap" trace-policy for tools like Spray, Blur, and Jumble. 2010-12-11 21:49:44 -03:00
David Capello
06403f3ace Fix problems resizing the window on Windows.
+ Limit the minimum window size to 192x96.
+ Only accept multiples of 16 for width and height.
2010-12-11 21:39:58 -03:00
David Capello
02e82a326f Fix null pointer reference for tools without icons in StatusBar::onProcessMessage. 2010-12-11 15:28:28 -03:00
David Capello
8e007e9ca5 Fix problems loading .ico files with color_count=0, and images with pixels out of range. 2010-12-11 10:25:22 -03:00
David Capello
06be16ad59 Fix bug using uninitialized prev_x and prev_y values in Editor::editor_click. 2010-12-11 10:25:22 -03:00
David Capello
b231be51e1 Fix memory leak (one Palette object) in .ico image loader. 2010-12-11 10:25:21 -03:00
David Capello
bc22007455 Fix problems compiling unittests with a Visual Studio solution. 2010-12-11 10:03:59 -03:00
David Capello
73178cd452 Replace "tests/test.h" to <gtest/gtest.h> (as various unittests are for independent libraries). 2010-12-11 10:03:23 -03:00
David Capello
86c9fe0ee9 Include <iterator> in path.cpp, because it uses std::back_inserter. 2010-12-11 10:02:13 -03:00
David Capello
c5ba3076a5 Convert jentry to Entry class. 2010-12-08 14:28:13 -03:00
David Capello
2e87a9013f Remove all deprecated jinete and raster samples. 2010-12-08 14:04:51 -03:00
David Capello
4fae085d60 Rename src/gui/jentry.cpp,h to src/gui/entry.cpp,h. 2010-12-08 13:36:54 -03:00
David Capello
91b0a89a99 Trigger Slider::SliderReleased signal on JM_BUTTONRELEASED message. 2010-12-08 13:26:19 -03:00
David Capello
47db060bc5 Rename Slider::slider_setcursor to setupSliderCursor. 2010-12-08 13:24:35 -03:00
David Capello
df9dcec838 Periodical update to TODO.txt file. 2010-12-08 13:17:33 -03:00
David Capello
0d8a15bfb4 Fix hsv_unittests using floor() in hueInt/saturationInt/valueInt. 2010-12-08 11:48:56 -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
9dcb29749d Add Hsv and Rgb classes to gfx-lib. 2010-12-07 22:47:44 -03:00
David Capello
7ace9a2099 Remove blend modes from ImageLayers. 2010-12-05 11:44:01 -03:00
David Capello
551efd4313 Convert jslider to Slider class.
+ Changed JI_SIGNAL_SLIDER_CHANGE to Slider::Change signal.
2010-12-04 16:13:21 -03:00
David Capello
5605ae81e0 Add Widget::findChildT<>() member function. 2010-12-04 15:56:28 -03:00
David Capello
93f1584717 Rename src/gui/jslider.h to src/gui/slider.h. 2010-12-04 11:21:32 -03:00
David Capello
dbcd660b4e Remove obj/ directory, it's not used anymore with the new CMake build system. 2010-12-04 11:06:40 -03:00
David Capello
7a77285dc7 Fix problems drawing widgets when a key is pressed outside the main frame/window.
This bug was introduced with the drawing optimization in commit fb0e82be08.
2010-12-02 21:20:09 -03:00
David Capello
7fab4cd42f Improve RGB and HSV modifications when a range of colors is selected in the palette. 2010-12-01 23:53:27 -03:00
David Capello
ac36822222 Add undo support for palette changes.
+ Added Undo::undo_set_palette_colors() method.
2010-12-01 23:41:20 -03:00
David Capello
1d57167890 Update version to ASE 0.9 in master branch. 2010-11-30 11:49:58 -03:00
David Capello
fa4d98d599 Fix a issue with Editor's slots: when an Editor is destroyed, we have to remove all slots from signals. 2010-11-28 15:42:29 -03:00
David Capello
7f425c8acb signal.h needs remove_from_container.h. 2010-11-28 15:40:35 -03:00
David Capello
5059f39023 Minor changes in jmenu.cpp/h (JWidget -> Widget*, etc.) 2010-11-28 14:35:07 -03:00
David Capello
2e0c961bef Add serialization.cpp to base lib. 2010-11-08 20:14:53 -03:00
David Capello
67e67022fa Fix base/thread.h header guard name. 2010-11-06 21:22:25 -03:00
David Capello
db71acbb16 Add support for 7za.exe in dist.sh. 2010-11-06 21:20:02 -03:00
David Capello
581134c303 Remove path_new/free functions. 2010-11-06 20:40:54 -03:00
David Capello
1283c9d950 Replace Path's name from char* to std::string. 2010-11-06 20:40:03 -03:00
David Capello
18b0f903d7 Pen now uses a std::vector<PenScanline> instead of a raw pointer to PenScanline[] array. 2010-11-06 20:31:30 -03:00
David Capello
d0a694cbb1 More priority for GUI thread, it is necessary for better GUI response in presence of background threads (this change was removed in commit 21957f2164). 2010-11-06 20:15:11 -03:00
David Capello
982a171995 Save the mask_color field in the undo raw image data. 2010-11-06 19:10:00 -03:00
David Capello
97f04c7a79 Copy the mask_color in image_crop() function. 2010-11-06 19:09:29 -03:00
David Capello
6120c38b52 Fix ToolLoopImpl() to clear with mask_color the image used to draw. 2010-11-06 19:09:04 -03:00
David Capello
d4f67cdb73 Modify FileOp structure to use std::string and std::vector<> instead of raw pointers and JList. 2010-11-06 11:59:03 -03:00