Commit graph

41 commits

Author SHA1 Message Date
Dana Jansens
8df1670bc2 add an adjustable event mask 2003-02-05 05:06:33 +00:00
Dana Jansens
225d4302d0 popups for moving and resizing 2003-01-30 20:51:41 +00:00
Dana Jansens
11f59d7925 render code fixes 2003-01-22 23:17:28 +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
2005c344bd surface started 2003-01-18 03:52:58 +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
8f8acc2493 rm prefixes for all elements in the otk namepsace 2003-01-11 19:17:13 +00:00
Dana Jansens
bf404e092b make the frame window override-redirect 2003-01-04 05:18:33 +00:00
Dana Jansens
c33ccf60cb make the frame window override-redirect 2003-01-04 04:49:53 +00:00
Dana Jansens
2b2f81b93c support the button pressed resources better 2002-12-26 17:22:53 +00:00
Dana Jansens
5869cc29ef wrap otk with swig/python 2002-12-24 21:27:16 +00:00
Dana Jansens
723739dafe api cleanups 2002-12-20 15:26:34 +00:00
Dana Jansens
db23fe0584 do need display then 2002-12-18 10:24:22 +00:00
Dana Jansens
e25a69cce8 dont need to include application here 2002-12-18 10:23:41 +00:00
Dana Jansens
84d777e89f make shit protected 2002-12-18 08:46:48 +00:00
Dana Jansens
62d719d6b7 dont pass a const 2002-12-18 08:42:40 +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
dd3decc319 fuck you basewidget 2002-12-11 00:50:26 +00:00
Dana Jansens
c187fbdf60 move event handling into basewidget again <FLINCH>
add the basewidget class
2002-12-04 13:14:11 +00:00
Dana Jansens
301adc8bc2 split up widget and basewidget 2002-12-04 13:07:40 +00:00
Dana Jansens
7dc834cc93 make setStyle() recursive 2002-12-04 11:25:43 +00:00
Dana Jansens
fa05dc56ea give the grips cursors 2002-12-04 03:47:59 +00:00
Dana Jansens
f890d31d6b make setStyle virtual 2002-12-03 19:02:36 +00:00
Dana Jansens
fb3848450e window decorations use "unmanaged" widgets now. 2002-12-01 11:45:55 +00:00
Dana Jansens
4d1a90b0d2 add a recursive flags to OtkWidget::show/hide
dont delet eshit in the style from button's destructor
2002-12-01 10:57:49 +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
12a95bfdb3 add an OtkAppWidget which are "root windows", i.e. the managed child of root, to be shown on the display.
Exit when all the "root windows" are hidden.
Support the WM_DELETE protocol to hide a "root window".
2002-11-16 14:30:18 +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
Marius Nita
6f5e60f033 fixed bugs, got otkapp to select on a fd, modded widget to make use of otkapp, press/release events on buttons 2002-11-16 09:59:37 +00:00
Marius Nita
a3d036f60e added otkapplication and event stuff, changed other files to accomodate for this, changed the test.
no idea if anything runs yet. it compiles =)
2002-11-16 02:15:49 +00:00
Dana Jansens
0856b11de8 resizes 2002-11-15 03:10:34 +00:00
Dana Jansens
6d68ac2256 smarter expose. stop when the window is found 2002-11-15 02:40:57 +00:00
Dana Jansens
b7dba88a0a try make drawing work better but its busted 2002-11-15 02:38:52 +00:00
Dana Jansens
b3822fcfb1 make stuff draw on expose events 2002-11-15 02:30:14 +00:00
Marius Nita
9834a687fc widget update fix 2002-11-14 11:42:38 +00:00
Marius Nita
f6724de2a4 HOOGE improvements. now widgets calculate their size according to the sizes of their children, they stretch stretchable elements to fit a maximum size, take into account bevel width, and much more 2002-11-13 10:21:17 +00:00
Marius Nita
f0e2abf573 can now map windows and render textures 2002-11-11 03:46:25 +00:00
Marius Nita
18378aaba1 initial commit 2002-11-10 13:33:34 +00:00