Commit graph

108 commits

Author SHA1 Message Date
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
3bc1f37469 better msgs 2002-11-16 13:53:03 +00:00
Dana Jansens
34a9f87ed2 print a warning if more than one main widget is set 2002-11-16 13:52:13 +00:00
Dana Jansens
81e1982744 set the close protocol on the app's main widget 2002-11-16 13:50:59 +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
d4d15160fe new button that is a focuslabel 2002-11-16 13:21:24 +00:00
Dana Jansens
3ce8b540aa add a Label class that doesnt change with focus 2002-11-16 13:08:10 +00:00
Dana Jansens
bd06e8961d actually add this shit. yay 2002-11-16 13:02:29 +00:00
Dana Jansens
6b977b2ded add OtkFocusLabel 2002-11-16 13:00:22 +00:00
Dana Jansens
804b8cc6e5 check to make sure the style config could be loaded 2002-11-16 12:12:38 +00:00
Marius Nita
6223b6a3ef : 2002-11-16 12:10:59 +00:00
Dana Jansens
7df3b620e2 use the timer queue manager 2002-11-16 12:10:04 +00:00
Dana Jansens
36ed114f49 add a constructor for strut that takes margin sizes 2002-11-16 11:55:03 +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
0680daeef5 there 2002-11-16 02:18: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
Marius Nita
e53fbcf092 event handling classes 2002-11-16 02:11:44 +00:00
Marius Nita
1210e6d688 more crap 2002-11-15 11:30:41 +00:00
Marius Nita
0eb665769d initial commit 2002-11-15 10:58:56 +00:00
Marius Nita
9f1facd3a1 hopefully caught stupid assert 2002-11-15 10:13:29 +00:00
Marius Nita
c090955544 heh 2002-11-15 05:12:49 +00:00
Dana Jansens
5be1363981 better fix for configure 2002-11-15 05:07:32 +00:00
Marius Nita
e8b74211e7 erm 2002-11-15 05:02:07 +00:00
Marius Nita
a3b2e7d905 made resizing sexier 2002-11-15 05:01:37 +00:00
Dana Jansens
d55ede56a0 use the rect 2002-11-15 03:36:28 +00:00
Dana Jansens
bcb7dddf94 dont set dirty if not resizing 2002-11-15 03:31:15 +00:00
Dana Jansens
8d397c0d8b update headers to whats required 2002-11-15 03:21:16 +00:00
Dana Jansens
d7848facac updates dependancies 2002-11-15 03:20:37 +00:00
Dana Jansens
62326fde58 dont hide label 2002-11-15 03:18:05 +00:00
Dana Jansens
30a23b6450 it resizes now 2002-11-15 03:16:45 +00:00
Dana Jansens
5a71f5b094 only do shit if the size changed 2002-11-15 03:11:35 +00:00
Dana Jansens
0856b11de8 resizes 2002-11-15 03:10:34 +00:00
Dana Jansens
d97db16430 button::updte sets _dirty back to false 2002-11-15 02:42:26 +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
Dana Jansens
ed4696f691 more deps 2002-11-15 01:02:31 +00:00
Dana Jansens
5f436ee81d blef 2002-11-15 00:28:47 +00:00
Dana Jansens
e6026ed9a5 build otk_test 2002-11-15 00:23:33 +00:00
Dana Jansens
e40e3d68ef use configure's xft flags 2002-11-15 00:18:14 +00:00
Marius Nita
5a9f3b5de2 button crap 2002-11-14 11:44:14 +00:00
Marius Nita
2efa2b3271 blef 2002-11-14 11:43:39 +00:00
Marius Nita
0cb338e00d gotta iron out this pressed button crap 2002-11-14 11:43:08 +00:00
Marius Nita
9834a687fc widget update fix 2002-11-14 11:42:38 +00:00
Marius Nita
b169547797 working button class (minus fonts) 2002-11-14 11:41:50 +00:00
Marius Nita
b33e8f6612 adding vertical dynamic resize code 2002-11-13 10:39:35 +00:00
Marius Nita
f0a1bdd606 er 2002-11-13 10:39:04 +00:00
Marius Nita
23f331270d add focuswidget to the build 2002-11-13 10:22:44 +00:00
Marius Nita
9e1b254905 updated for the new MAD SEXY widget and focuswidget 2002-11-13 10:22:04 +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