Commit Graph

13 Commits

Author SHA1 Message Date
David Capello
0d4851b0fb Removed death code in paledit.cpp. 2010-06-13 18:05:21 -03:00
David Capello
f0f5bafd78 Refactored all jwidget_has_focus/mouse/capture functions to member functions.
Added Widget::hasFocus/Mouse/Capture and Widget::hasMouseOver() members.
Removed JI_HARDCAPTURE flag (it was used only by button widget).
2010-04-25 12:03:25 -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
ee878c87e9 Modified Palette class to contain all functions to manipulate it as function members.
Modified its implementation to use std::vector<> instead of a raw C array[].
Now the number of colors in the sprite is more relevant (e.g. we should be able to create sprites of 4bpp, 16 colors).
2010-03-28 12:15:32 -03:00
David Capello
975049bdea Removed _index_cmap. It was used to remap colors of the current palette (useful in 8 bpp modes). 2010-03-24 18:21:20 -03:00
David Capello
719374718d More jguiscale() usage. 2010-03-09 00:42:31 -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
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
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
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