Commit Graph

1032 Commits

Author SHA1 Message Date
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
David Capello
6ff0fc038b Remove deps.sh as now dependencies are handled by CMake build system. 2010-11-04 22:02:10 -03:00
David Capello
c78afea9a2 Remove references to Vaca namespace and old vaca source files. 2010-11-04 22:01:47 -03:00
David Capello
90708c595e Remove unused local variable in init_directx_window(). 2010-11-04 21:55:47 -03:00
David Capello
befd6a3766 Return 0 when WM_MOUSEMOVE is processed. 2010-11-04 21:55:02 -03:00
David Capello
8abc967397 Use CreateThread instead of _beginthread() to create the wnd_thread_proc. 2010-11-04 21:52:35 -03:00
David Capello
9001ce9877 Change Win32 window class name to "ASEWindowClass". 2010-11-04 21:51:34 -03:00
David Capello
21957f2164 Remove related stuff for non-background switch mode (in Allegro source code for Win32). 2010-11-04 21:51:09 -03:00
David Capello
b539bd933c Return true when a key is used to select a tool. 2010-11-04 21:48:36 -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
0139524c15 Keep only DirectX Windowed driver (no fullscreen and no GDI). 2010-11-04 21:43:36 -03:00
David Capello
b59b14444e Fix a bug when calling Editor::editor_set_sprite(NULL).
The editor_clean_cursor() function is called from
editor_set_scroll() when no sprite is selected.
2010-11-01 21:07:56 -03:00
David Capello
24c2bf40e3 Add asserts to _al_win_kbd_handle* functions(). 2010-11-01 21:05:54 -03:00
David Capello
177f089e9a Minor changes in jmessage to debug JM_KEYPRESSED/RELEASED messages. 2010-11-01 21:05:25 -03:00
David Capello
e55b757aad Fix windows keyboard handling when ToUnicode fails.
Introduced in the cumbersome commit 27ba604797.
2010-11-01 21:04:50 -03:00
David Capello
b1299d7576 Remove Allegro customization functions for HWND in Windows port. 2010-10-31 22:08:06 -03:00
David Capello
7768f2c45c Fix memory leaks (old "screen" bitmap) when resizing the window. 2010-10-31 21:32:06 -03:00
David Capello
60cb43d18c Add information about patches for resize support in Allegro source code. 2010-10-31 16:16:14 -03:00
David Capello
51c04f9d8c Add resize support to Mac OS X port. 2010-10-31 17:05:11 -02:00
David Capello
edd0e62241 Move "-arch i386" flag for Apple port in main CMakeLists.txt file. 2010-10-31 12:54:23 -02:00
David Capello
07fceb15f7 Remove config.cpp because the config.c in src/allegro already has my patch for override_config_file(). 2010-10-31 00:32:37 -03:00