Commit graph

231 commits

Author SHA1 Message Date
Dana Jansens
83ff31f8bf when a window focused that was the last focused already (this happens from grabs), dont unfocus it, just let it be 2003-01-04 06:02:42 +00:00
Dana Jansens
bf404e092b make the frame window override-redirect 2003-01-04 05:18:33 +00:00
Dana Jansens
1fd2c6c2b6 s/True/true/ 2003-01-04 04:51:49 +00:00
Dana Jansens
c33ccf60cb make the frame window override-redirect 2003-01-04 04:49:53 +00:00
Dana Jansens
867d3d9a94 rm consts that wont compile on some libfreetype's 2003-01-04 01:31:47 +00:00
Dana Jansens
8c4357fccb keep track of the last input event time 2003-01-04 01:18:24 +00:00
Dana Jansens
527697d6ae add -shadow 2003-01-04 00:12:21 +00:00
Dana Jansens
06388d73b7 restart works 2003-01-03 22:06:08 +00:00
Dana Jansens
86a2bed659 remove the block on shutdown 2003-01-03 20:10:25 +00:00
Dana Jansens
89e6d5c0e6 add/lower work 2003-01-03 18:21:28 +00:00
Dana Jansens
37c2e0f329 dont print every focus/crossing event 2003-01-03 18:17:54 +00:00
Dana Jansens
9ec1f7cdba fire the master first 2003-01-02 21:51:30 +00:00
Dana Jansens
a6661d587c bindings work. now they have a reset key too. 2002-12-31 06:59:46 +00:00
Dana Jansens
d7a30f93b5 so close to keybindings. wont link for now. 2002-12-30 22:27:46 +00:00
Dana Jansens
5fdd493d0d buttons have their pixmaps! 2002-12-27 10:07:57 +00:00
Dana Jansens
8bae1352cb fix braces 2002-12-27 09:25:40 +00:00
Dana Jansens
8c2dfe5de4 deal with when nothing has focus anymore 2002-12-27 09:18:54 +00:00
Dana Jansens
3a4f91b537 enter/leave and focus events are working beautifully 2002-12-27 08:33:57 +00:00
Dana Jansens
e9ec2ce0eb some focus improvements.. 2002-12-26 19:55:55 +00:00
Dana Jansens
236f68056d fix booge bug that makes widgets not change their background when changing from a texture to a color when a color had been set previously 2002-12-26 18:08:48 +00:00
Dana Jansens
2b2f81b93c support the button pressed resources better 2002-12-26 17:22:53 +00:00
Dana Jansens
5029fc97c8 add newish stuff 2002-12-26 12:03:13 +00:00
Dana Jansens
e32610e7b1 better support for gettext 2002-12-26 11:58:57 +00:00
Dana Jansens
150c28620e build fixes for evetdispatcher 2002-12-26 10:58:05 +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
41bdbec9c6 set CXXFLAGS better 2002-12-25 20:28:12 +00:00
Dana Jansens
b34824a4e2 global python scripts. client motion/resizing is all done via python now 2002-12-25 04:54:44 +00:00
Dana Jansens
f9107b5c5a use the -I's in CFLAGS for swig 2002-12-25 02:05:39 +00:00
Dana Jansens
bf49e76420 python. no more guile. python. 2002-12-24 23:31:38 +00:00
Dana Jansens
5a139f7263 add the swig generated files 2002-12-24 21:27:39 +00:00
Dana Jansens
5869cc29ef wrap otk with swig/python 2002-12-24 21:27:16 +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
77a8e11660 can tell where events are coming from! 2002-12-18 11:34:29 +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
25d1e3538b use OB Widgets for everything 2002-12-18 09:46:24 +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
e7bb906637 show all children on show() 2002-12-18 08:39:16 +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
d691094cf7 handle config req's in dispatcher properly.
no more basewidget again.
2002-12-08 06:48:09 +00:00
Dana Jansens
1cfc76577d reverting.. that was lame 2002-12-04 14:23:25 +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
777be62a3a change the builtin testing font 2002-12-04 09:26:42 +00:00
Dana Jansens
fbc516442d add suport for XMotionEvents 2002-12-04 08:54:43 +00:00
Dana Jansens
56d7b547ae button press/releases WORK 2002-12-04 07:55:52 +00:00
Dana Jansens
4f01802c8c actions class can sorta handle mouse enter/leave and press/release events 2002-12-04 07:12:13 +00:00
Dana Jansens
fa05dc56ea give the grips cursors 2002-12-04 03:47:59 +00:00
Dana Jansens
bdc491ccfe map and unmap work great now yay 2002-12-04 01:29:01 +00:00
Dana Jansens
22bd294c7b unregister for events when destroyed 2002-12-04 01:02:56 +00:00
Dana Jansens
1fa445c880 handle configure requests 2002-12-04 00:26:45 +00:00
Dana Jansens
bbdfd8f1d6 scratch that 2002-12-04 00:04:27 +00:00
Dana Jansens
52b83a9dbb handle configurerequests when we cant find a target registered for them 2002-12-04 00:03:48 +00:00
Dana Jansens
829ce05c7c reverse the logic. makes more sense i think 2002-12-03 23:56:04 +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
f890d31d6b make setStyle virtual 2002-12-03 19:02:36 +00:00
Dana Jansens
948feddc2e update the textures being used on setStyle() calls 2002-12-03 19:01:41 +00:00
Dana Jansens
bf95658de2 show the Xft version nicer 2002-12-03 15:41:03 +00:00
Dana Jansens
cac2131e68 add otk_test 2002-12-03 09:02:37 +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
74cb09bb2c handle map events with the Openbox class 2002-12-02 21:06:16 +00:00
Dana Jansens
fb3848450e window decorations use "unmanaged" widgets now. 2002-12-01 11:45:55 +00:00
Dana Jansens
fac1a6581b typo in comment 2002-12-01 11:40:52 +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
6f0b72e8e5 big nono 2002-11-17 16:00:12 +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
638d4e6f19 change the style-load-error msg 2002-11-16 14:32:26 +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
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