David Capello
b82ec86994
Fix bug in SpriteImpl::resetPalettes() using an invalid "end" iterator after erasing an element from the m_palettes collection.
2011-01-18 19:22:03 -03:00
David Capello
75fd21164e
Fix color_utils::color_for_image() when the color is of index type and the imgtype is indexed.
2011-01-18 19:21:36 -03:00
David Capello
ae918802e3
Minor changes in CelPropertiesCommand (remove buf[] local variable using Widget::setTextf).
2011-01-18 19:20:57 -03:00
David Capello
9fa71e5299
Convert FileFormat to a C++ class.
2011-01-16 17:27:18 -03:00
David Capello
28ba73c168
Do not open sub-menus when timer elapsed and we are already opening or closing a menu (base->is_processing).
2011-01-16 17:25:06 -03:00
David Capello
701cac25ca
Add CMakeLists.txt and config.h.cmake for giflib.
2011-01-16 14:32:21 -03:00
David Capello
c5ccc5110e
Add "Deleter" template parameter to SharedPtr<> class to customize the destruction of T pointer.
2011-01-16 09:41:00 -03:00
David Capello
c3162846cf
Remove VACA_DIR variable from main CMakeLists.txt file.
2011-01-16 09:40:00 -03:00
David Capello
7475711153
Remove unnecessary files from giflib directory.
2011-01-16 09:29:25 -03:00
David Capello
fe31108268
Add giflib 4.1.6 third party source code.
2011-01-16 09:21:09 -03:00
David Capello
8b6b51bec2
Fix loading of GIF files with transparent background color (without global palette).
2011-01-15 13:36:33 -03:00
David Capello
68a8907ffc
Fix convert_imgtype from Indexed to RGB when the first palette entry is not black (is not transparent color).
2011-01-14 18:29:25 -03:00
David Capello
864d13fb40
Add accurate color quantization or use median cut if the sprite has more than 256 colors.
...
+ Implemented issue #3 - Accurate Sprite Quantize.
+ Remove Ben Davis code to quantize color palette (to avoid license problems).
2011-01-14 18:22:23 -03:00
David Capello
bc753c5bc1
Fix Palette:countDiff() bug when "to" must be equal to max-1.
2011-01-05 20:11:58 -03:00
David Capello
6a216ad6a8
Add support for 8-bit transparent PNG sprites (fixed issue #5 ).
2011-01-05 00:16:39 -03:00
David Capello
85e75122b5
Show current sprite's filename in window title bar.
2010-12-29 23:19:45 -03:00
David Capello
6a64fa311f
Remove unnecessaries #include <allegro/...> in raster/.
2010-12-26 18:35:12 -03:00
David Capello
d301fc7530
Replace images_ref functions (src/effect) with ImagesCollector class (src/raster).
2010-12-26 17:03:35 -03:00
David Capello
4c8c7463ed
Move functions related to quantization and dithering algorithms to raster/quantization.h|cpp.
2010-12-26 10:57:03 -03:00
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