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 |
|
Dana Jansens
|
dca8c61a91
|
free the colors on shutdown
|
2003-02-13 05:07:25 +00:00 |
|
Dana Jansens
|
68482ff556
|
no segfault plz tnx
|
2003-02-13 04:54:54 +00:00 |
|
Dana Jansens
|
0ebf6a1754
|
only store what we need to in the class
|
2003-02-13 04:52:08 +00:00 |
|
Dana Jansens
|
e451c08ac5
|
alloc colors only when needed, and free them properly on destruction
|
2003-02-13 04:50:57 +00:00 |
|
Dana Jansens
|
ec2113ca5b
|
move comment
|
2003-02-12 06:20:48 +00:00 |
|
Dana Jansens
|
7a2a461582
|
only store what we need to in the class
|
2003-02-12 06:18:28 +00:00 |
|
Dana Jansens
|
dd89811570
|
alloc colors.. i think!
|
2003-02-12 06:14:25 +00:00 |
|
Dana Jansens
|
6b1381d69d
|
add mising ()s
|
2003-02-12 01:22:51 +00:00 |
|
Dana Jansens
|
a0738a0197
|
more efficient/nicer way to get the XColor values
|
2003-02-12 01:22:31 +00:00 |
|