Commit graph

349 commits

Author SHA1 Message Date
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
Marius Nita
09fa1f3a98 initial commit of focus widget 2002-11-13 10:19:28 +00:00
Dana Jansens
0da967a831 remove the redundant _size property in OBScreen, and set the geometry root property properly.
add otk::Point::setPoint
2002-11-11 11:33:32 +00:00
Dana Jansens
c4a1fac49d manages windows that exist before running. 2002-11-11 11:25:40 +00:00
Dana Jansens
fb0dd6cf9a some small cleanups
make style not take a screen separate from the image control
make style::load() take a const ref
2002-11-11 10:03:11 +00:00
Dana Jansens
590f7f58a6 unused include 2002-11-11 08:48:43 +00:00
Dana Jansens
9c398557df fix some errs 2002-11-11 08:42:19 +00:00
Marius Nita
1694901f7a added missing header 2002-11-11 07:29:12 +00:00
Marius Nita
2fb9440684 small test for OtkWidget 2002-11-11 03:49:09 +00:00
Marius Nita
a923a55002 added new files to the build 2002-11-11 03:48:02 +00:00
Marius Nita
cbf9dd0c4c beginnings of button class 2002-11-11 03:47:12 +00:00
Marius Nita
f0e2abf573 can now map windows and render textures 2002-11-11 03:46:25 +00:00
Marius Nita
6852efaa9e added accessors for elements 2002-11-11 03:45:46 +00:00
Marius Nita
18378aaba1 initial commit 2002-11-10 13:33:34 +00:00
Dana Jansens
b067510b61 cleanups.
OBScreen almost ready for some action
2002-11-10 12:20:29 +00:00
Dana Jansens
00b96c7846 fixups 2002-11-10 12:16:26 +00:00
Dana Jansens
c5e4a18588 x() and y() should return values :) 2002-11-10 12:15:03 +00:00
Dana Jansens
1eef416eee include the point header 2002-11-10 11:31:12 +00:00
Dana Jansens
18645bf9c7 get rid of unsigneds 2002-11-10 11:27:51 +00:00
Dana Jansens
bf160f210a make methods for Rect that use Point 2002-11-10 11:25:40 +00:00
Dana Jansens
8693dd95a2 document the Point class 2002-11-10 10:52:56 +00:00
Dana Jansens
5dc5cc32b0 add the otk::Point type 2002-11-10 10:46:28 +00:00
Dana Jansens
410a826458 more layout fixes for the decoration elements 2002-11-10 10:14:20 +00:00
Dana Jansens
3762f3c88f pretty sure all frame elements are placed correctly now 2002-11-10 09:44:27 +00:00
Dana Jansens
f424471009 frames' subemelents are created and positioned and everything 2002-11-10 08:12:53 +00:00
Dana Jansens
9d5865a160 support for the shape extension works! 2002-11-10 05:54:12 +00:00
Dana Jansens
ec4548a19b s/NULL/0/ 2002-11-06 18:26:39 +00:00
Dana Jansens
196996230c dont need to specify otk:: when already in the namespace 2002-11-06 18:25:48 +00:00
Marius Nita
9c82f9418b seg fix 2002-11-06 14:10:02 +00:00
Marius Nita
35fcb62ddd added style class, moved util and config to otk 2002-11-06 13:51:23 +00:00
Dana Jansens
16c00e34f3 show badwindow errors again 2002-11-06 10:40:17 +00:00
Dana Jansens
83322ce3be dont show badwindow errors 2002-11-06 10:39:50 +00:00
Dana Jansens
d3b7c84d4c moving strut into its own .hh. adding OBClient class 2002-11-06 07:01:59 +00:00
Dana Jansens
22c770d90f include algoritm 2002-11-06 06:12:25 +00:00
Dana Jansens
c9f36d34a4 finish conversion to the new otk::OBProperty class with its new interface 2002-11-05 09:13:46 +00:00
Dana Jansens
68016ac352 mode documentation updates 2002-11-05 08:49:01 +00:00
Dana Jansens
c822c895f0 updated documentation 2002-11-05 08:46:23 +00:00
Dana Jansens
d2c380fb54 add OBProperty to otk, which was formerly known as ob::XAtom
it does have a few interface changes
2002-11-05 08:44:46 +00:00
Dana Jansens
45c2589ef6 xeventhandler can handle everything except client messages now.
blackbox is no longer the event handler
2002-11-04 09:25:26 +00:00
Dana Jansens
7ebccbf39a new OBTimer interface 2002-11-04 06:06:13 +00:00
Dana Jansens
578bedc289 fix for documentation 2002-11-04 05:54:42 +00:00
Dana Jansens
d0b55be2c7 OBTimer is fully documented.
change how the timerqueuemanager makes timers fire recursively, so that OBTimer::halt could go away
2002-11-04 05:40:32 +00:00
Dana Jansens
b0a532db8a split the OBTimerQueueManager and TimerQueue into their own files 2002-11-04 03:59:09 +00:00
Dana Jansens
d4d89ce0bb documenting classes! 2002-11-04 03:37:17 +00:00
Dana Jansens
e9085c3a45 documented 2002-11-04 02:54:15 +00:00
Dana Jansens
cb71b2fb09 stop using the Utf8 functions. will use them later for ONLY Utf-8 encoded strings!! 2002-11-03 21:18:42 +00:00
Dana Jansens
f8f73b7422 missing include 2002-11-03 19:50:09 +00:00
Dana Jansens
9259ec5732 new timer infrastructure. takes a function pointer for the timeout, with a void* parameter (useful for holding a class instance!) 2002-11-03 14:29:34 +00:00
Dana Jansens
373de009f7 new timers, timer manager 2002-11-03 12:48:10 +00:00
Dana Jansens
c5f62494f1 fix compiling in display.
make the timer manager work in and of itself
2002-11-03 12:27:49 +00:00
Dana Jansens
ace8c8896a WE DONT USE BASE DISPLAY FOR ANYTHING ANY MORE!!@^!*@*!! YAY 2002-11-03 11:46:05 +00:00
Dana Jansens
37e5600768 move Rect and PointerAssassin into the toolkit 2002-11-03 10:38:14 +00:00
Dana Jansens
fa8cefef63 add an OBDisplay class and the old ScreenInfo class to the toolkit.
wrap the toolkit in the 'otk' namespace
it compiles. broke the timer cache tho.
2002-11-03 10:07:16 +00:00
Dana Jansens
bbdca49193 gettext is ready to rock and roll 2002-11-03 05:56:15 +00:00
Dana Jansens
90f2414285 add gettext
change CXXFLAGS back to CPPFLAGS in the .am's
2002-11-01 10:08:32 +00:00
Dana Jansens
f127273aba make compile again 2002-11-01 04:02:33 +00:00
Dana Jansens
1824e6b100 add a cvsignore for otk.
make sexier automake shit
2002-11-01 03:45:34 +00:00
Marius Nita
9247a7a616 oops 2002-11-01 03:28:26 +00:00
Marius Nita
85c41a1aec adding toolkit beginnings 2002-11-01 03:27:41 +00:00