Commit Graph

30 Commits

Author SHA1 Message Date
David Capello
7ba3c5df9d Fix warnings in GCC (unused variables, size_t and int comparisons, unhandled enum cases in switch, etc.). 2010-08-11 23:42:03 -03:00
David Capello
4e72997a02 Use Allegro's ASSERT() instead of assert(). 2010-08-03 23:33:44 -03:00
David Capello
ec7795fc33 Rename Widget::msg_proc to Widget::onProcessMessage. 2010-08-02 21:29:56 -03:00
David Capello
a3f18e5aaf Fixed minor problem with background color in Tabs widget's buttons. 2010-07-31 13:08:13 -03:00
David Capello
0fdd544524 Tabs widget is double buffered now. 2010-07-26 16:52:40 -03:00
David Capello
100073f986 Added BITMAP argument in jdraw_text() function. 2010-07-26 00:28:24 -03:00
David Capello
c1a98a8b06 Added animations to Tabs widget when adding and removing tabs, and scrolling with mouse wheel. 2010-07-20 00:59:52 -03:00
David Capello
ccc2b35ab0 Added Tabs::calcTabWidth() method to replace CALC_TAB_WIDTH macro. 2010-07-19 23:56:12 -03:00
David Capello
47aa64efe4 Removed jwidget_enable/disable/is_enabled/is_disabled functions. 2010-07-03 15:26:27 -03:00
David Capello
447f6438a4 Removed jwidget_select/deselect/set_selected/is_selected/is_deselected functions. 2010-07-03 15:03:26 -03:00
David Capello
93f7d76715 Converted tabs widget to Tabs class and ITabsHandler interface. 2010-06-13 17:51:22 -03:00
David Capello
1e3e4a7bc7 Now SkinneableTheme::draw_bounds*() member functions
receive destination BITMAP. With this we eliminated all
hacks of the ji_screen <-> double-buffer switching style.
2010-04-23 22:36:40 -03:00
David Capello
a7ecb08f2c Fixed some GCC warnings and errors. 2010-03-30 09:48:19 -03:00
David Capello
4f40d89c6f Added mini-look to tabs buttons. 2010-03-24 22:08:22 -03:00
David Capello
104d315f25 Applied guiscale to tabs widget. 2010-03-20 12:55:25 -03:00
David Capello
9535b085fe Removed guiscale() from ASE and added jguiscale() in Jinete.
With this change we can apply jguiscale() in some places like jalert and jfiles.
2010-03-08 00:42:41 -02:00
David Capello
0a7136a0b4 Added underline_height in jdraw_text() function.
Removed jdraw_widget_text() (deprecated).
2010-03-07 23:16:20 -02:00
David Capello
b747ccdaa6 Updated copyright year to 2010 2010-02-01 21:25:40 +00:00
David Capello
96759c9c17 Converted all TRUE/FALSE to C++ true/false 2010-01-30 16:43:13 +00:00
David Capello
77c009de55 Renamed jwidget to Widget.
Refactored jwidget_set_text to Widget::setText (same for setFont, setEnabled, etc.).
Created "Frame" class.
Refactored "jwindow_funcname" functions to "Frame::funcname".
Renamed JWidgetPtr to FramePtr.
2010-01-26 00:38:05 +00:00
David Capello
b585600a19 Fixed a couple of bugs:
+ in tabs_remove_tab selected/hot tabs are set to NULL.
+ the select_callback is called only for the hot tab (if hot is NULL, now the selected is not used anymore).
2009-11-22 14:14:06 +00:00
David Capello
3626589229 Fixed little details in tabs gfxs. 2009-11-22 02:16:29 +00:00
David Capello
9e0928ca66 Fixed combo-box graphics. 2009-11-22 00:26:58 +00:00
David Capello
5d64181f16 Added SkinneableTheme class. Thanks to Ilija Melentijevic for the graphics. 2009-11-21 20:02:31 +00:00
David Capello
6d04c3815c Now jtheme is a class with member functions; and jwidget has a virtual msg_proc. 2009-11-19 02:59:20 +00:00
David Capello
6f9bccd65b Changed jwidget to a C++ class with methods. 2009-05-30 21:22:52 +00:00
David Capello
8e498470d5 Fixed bug #2511762 (thanks to Clayton Enga for the patch).
Added the feature #2419098 (David Campo idea).
2009-01-24 00:41:01 +00:00
David Capello
77b06bf748 Added support to close tabs with middle button. 2008-10-16 02:19:00 +00:00
David Capello
c35c452a80 Converted GfxObj and all the hierarchy of graphics objects to classes.
Removed "(void)" -> "()".
2008-10-01 01:27:51 +00:00
David Capello
a587132ffe Project converted to C++. 2008-09-30 21:01:54 +00:00