Dana Jansens
115fedf432
use the c++ std cheaders
2003-02-09 23:07:54 +00:00
Dana Jansens
74cfb1b4c1
signed ints instead of unsigned ints again. less pain. pain bad.
2003-02-09 22:40:47 +00:00
Dana Jansens
ef231de58a
mad optimizations
2003-02-08 08:59:24 +00:00
Dana Jansens
f51f1c775f
stacked cycling menu works now. add a highlighted flag to otk widgets
2003-02-08 08:13:02 +00:00
Dana Jansens
99cd843fc6
Brand spankin new widgets for otk (Label and Button).
...
Add a new Size class.
Rect, Point, and Size are immutable classes.
Size uses *UNSIGNED* ints. This is causing me headaches * a bajillion right now, so we'll see about that.
2003-02-08 07:33:48 +00:00
Dana Jansens
5072931be0
use bevel width on the top/bottom too
2003-02-05 07:40:56 +00:00
Dana Jansens
871e777e55
use the widget's bevel width
2003-02-05 07:37:48 +00:00
Dana Jansens
a612136ba5
various fixes to the otk widgets
2003-02-05 05:48:01 +00:00
Dana Jansens
b8735c759a
enforce a min size
2003-02-04 15:07:39 +00:00
Dana Jansens
bb6ac36d41
working popups for moving/resizing
2003-01-30 21:11:04 +00:00
Dana Jansens
9999922623
setStyle in the constructor of each child widget
2003-01-27 19:11:09 +00:00
Dana Jansens
17d6318499
hardcode some bitmap masks
2003-01-23 00:08:50 +00:00
Dana Jansens
033e9843bc
otk using new render shit.. supposedly
2003-01-22 22:46:16 +00:00
Dana Jansens
68a6fce53b
dont try free the widget's pixmap until it is no longer in use
2003-01-20 19:28:57 +00:00
Dana Jansens
d8d9b42777
widegt using new render system
2003-01-20 06:11:12 +00:00
Dana Jansens
9b6e5f9cf4
provide RenderControls to all otk from the display class. initialize them all there. try use bitshifts instead of color tables in the TrueRenderControl class for finding correct rgbs. Move the image/pixmap/xftdraw into the surface class, and it maintains them, recreating them when it resizes.
2003-01-18 07:23:28 +00:00
Dana Jansens
c97915f445
un-static otk::Display. add an operator* to it. make a global ob::display var.
2003-01-13 08:48:03 +00:00
Dana Jansens
5a90d2b671
otk using ustring for shit that draws. expended its inferface yet some more.
2003-01-13 04:46:50 +00:00
Dana Jansens
bc99e6a420
remove userstring
2003-01-12 23:55:30 +00:00
Dana Jansens
74061b4e2d
use "userstring" for all user viewable strings
2003-01-12 21:17:26 +00:00
Dana Jansens
8f8acc2493
rm prefixes for all elements in the otk namepsace
2003-01-11 19:17:13 +00:00
Dana Jansens
2ae2b257d3
might not compile... ob uses its own widgets now, which subclass only the base otk widget. working on compressing focus events and handling them etc.
2002-12-25 22:02:34 +00:00
Dana Jansens
06de24ec66
more api cleanups
2002-12-20 15:33:58 +00:00
Dana Jansens
723739dafe
api cleanups
2002-12-20 15:26:34 +00:00
Dana Jansens
70eb03ad50
add an OBBackgroundWidget and use it for setting colors so far.
2002-12-18 02:28:44 +00:00
Dana Jansens
ee896d9d66
no space on teh top or bottom of text..
2002-12-03 21:32:03 +00:00
Dana Jansens
26adc8853b
label and focuslabel update their textures automatically on a style change
2002-12-03 19:10:03 +00:00
Dana Jansens
646a10bcc3
labels use half the bevel width for text
2002-12-03 08:58:45 +00:00
Dana Jansens
c6f228f3ff
xft2 works. and works good.
2002-12-03 08:54:51 +00:00
Dana Jansens
1d897f432e
add the config header and emacs comment to all the .cc's
2002-11-17 09:41:58 +00:00
Dana Jansens
77342413ef
change how the widgets' _dirty flag works so that all inheritence levels of the widget class can use it
2002-11-16 13:28:26 +00:00
Dana Jansens
3ce8b540aa
add a Label class that doesnt change with focus
2002-11-16 13:08:10 +00:00