Commit graph

486 commits

Author SHA1 Message Date
Dana Jansens
d647de97be add the new '-remote' option. let the dispatchEvents loop work in 'local' or 'remote' mode. 2003-02-19 00:58:59 +00:00
Dana Jansens
0a93178b75 let you create a parentless label 2003-02-19 00:55:25 +00:00
Dana Jansens
b3a87e3a6f a few optimizations to layouts/rendering 2003-02-19 00:55:05 +00:00
Dana Jansens
ed55720b56 make the highlighted button high a white border 2003-02-18 16:03:13 +00:00
Dana Jansens
2199922704 make button text white in the default style 2003-02-18 16:01:39 +00:00
Dana Jansens
971e227b14 set teh xinerama stuff even when not compiled with the xinerama extension so code can use it always 2003-02-17 21:47:09 +00:00
Dana Jansens
3f80d431ad swig cares about (void) it seems :\ 2003-02-17 21:46:34 +00:00
Dana Jansens
729506e1f8 calcDefaultSizes is protected 2003-02-17 21:45:58 +00:00
Dana Jansens
bc8d855b11 use "fixed" as the fallback font always 2003-02-17 21:45:38 +00:00
Dana Jansens
59d5199828 rename getRenderControl to the more precise createRenderControl 2003-02-17 21:45:17 +00:00
Dana Jansens
b9a7d8f9ea nelements is not passed anymore, its simply a return value. get() will grab the entire property. 2003-02-17 21:44:39 +00:00
Dana Jansens
1741bddecb only return as many as was requested 2003-02-17 21:06:39 +00:00
Dana Jansens
956ada0725 oops nevermind 2003-02-17 20:18:34 +00:00
Dana Jansens
3de18ef7f0 prevent people from using timers except as pointers 2003-02-17 20:02:43 +00:00
Dana Jansens
8bf56a288f allocate colors right away instead of delaying it, since they get allocated out of the rendercontrol, and it will never fail. 2003-02-17 16:36:35 +00:00
Dana Jansens
dee0170bab add openbox_restack_window, and the state_add/remove/toggle values 2003-02-17 15:10:02 +00:00
Dana Jansens
136c9c078d support for pixmap icons, kwm_win_icon and the icon in wmhints 2003-02-16 21:57:21 +00:00
Dana Jansens
42fbb46a7f add the kwm_win_icon atom 2003-02-16 20:04:19 +00:00
Dana Jansens
6354e77144 cleanup 2003-02-16 19:48:54 +00:00
Dana Jansens
5cd8680f74 make them const 2003-02-16 16:37:02 +00:00
Dana Jansens
dfe7f46bb7 provide == and != for DialogButtons 2003-02-16 16:36:07 +00:00
Dana Jansens
8269fc2b39 set the gravity to center the dialog.
size it off the minSize which is already calculated, not off the size() with is nto
2003-02-16 16:24:01 +00:00
Dana Jansens
e07ea84865 only fire the clickHandler if the button is released with the cursor over it 2003-02-16 15:54:23 +00:00
Dana Jansens
cee0482c78 make DialogButtons take char*'s meaning that the label will always be Utf-8 2003-02-16 12:30:34 +00:00
Dana Jansens
213df2814b only hide the dialog if a default button exists when enter is hit 2003-02-16 12:25:42 +00:00
Dana Jansens
c71738f3f4 let you .focus() a messagedialog 2003-02-16 12:23:35 +00:00
Dana Jansens
010e12c42a only show() if the dialog is not already visible 2003-02-16 12:20:10 +00:00
Dana Jansens
7a41f7730d add otk::MessageDialog 2003-02-16 11:59:12 +00:00
Dana Jansens
f325abe4e4 use the current size, which will get capped by max/mins 2003-02-16 11:48:43 +00:00
Dana Jansens
33e87b3969 dont forget borders/bevels 2003-02-16 11:39:54 +00:00
Dana Jansens
c7d4901f41 set the style 2003-02-16 09:37:21 +00:00
Dana Jansens
a89166a14f cleaner while loop 2003-02-16 08:03:49 +00:00
Dana Jansens
d2dcef4675 initialize _font 2003-02-15 12:46:40 +00:00
Dana Jansens
7fe3301e7e Add the "obsetroot" tool. Use it to set the root background. 2003-02-14 23:05:59 +00:00
Dana Jansens
f65e21ce1d use ctdio 2003-02-14 21:51:54 +00:00
Dana Jansens
0d59a002c0 sync before changing the ignore_errors state 2003-02-14 20:05:47 +00:00
Dana Jansens
e3f6e0ff81 make reduceDepth set the im->data member, with newly allocated data, so the pixelData in the surface isn't reduced 2003-02-14 19:18:19 +00:00
Dana Jansens
7393a17bf9 use the same alogo to pick a color in allocateColor as in reduceDepth, break it off into an inline function. 2003-02-14 17:13:26 +00:00
Dana Jansens
01a37dfe18 allocate colors in pseudocolor from the map we allocate in the rendercontrol 2003-02-14 08:01:44 +00:00
Dana Jansens
059bc4dc24 add a Config class with config data from the scripts.
set up the functions for loading a style from a file.
use the Config class throughout instead of reading out of the python namespace all the time.
2003-02-14 03:04:23 +00:00
Derek Foreman
1431cd1958 8bpp pseudo color. it's horrid code. the graphics are horrid.
I have done many terrible things and I'm so very very sorry. :(
2003-02-14 01:49:27 +00:00
Dana Jansens
8446eaedc7 scale images down to the available surface size 2003-02-13 22:45:11 +00:00
Dana Jansens
576f03f629 don use gradient for titlebar.. waste of cycles 2003-02-13 10:38:04 +00:00
Dana Jansens
e71fb6c66e | NOT & YOU BASTARD 2003-02-13 10:30:17 +00:00
Dana Jansens
1e58c863bb render images properly, minus the scaling 2003-02-13 10:19:25 +00:00
Dana Jansens
afd477692d uncomment the _NET_WM_ICON property 2003-02-13 07:42:33 +00:00
Dana Jansens
3e504ae5f3 rm a stupid bb format 2003-02-13 05:18:41 +00:00
Dana Jansens
329de788cb add _created 2003-02-13 05:15:17 +00:00
Dana Jansens
ea20fcc272 only free allocated colors 2003-02-13 05:12:01 +00:00
Dana Jansens
15f2208209 borked the build 2003-02-13 05:11:39 +00:00