Commit graph

2396 commits

Author SHA1 Message Date
Dana Jansens
f78761c8dd just because we think we're focused doesnt mean we actually are, so send the focus change to the xserver anyways. 2003-02-14 11:09:01 +00:00
Dana Jansens
4a90b1b48e better default icon, same thing, placed better 2003-02-14 10:24:54 +00:00
Dana Jansens
29d030cc3e use an icon smaller than the surface if possible 2003-02-14 08:47:37 +00:00
Dana Jansens
0b466d7136 kill debug prints 2003-02-14 08:20:54 +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
49974f6916 dont put DEBUG: in the printf 2003-02-14 06:22:29 +00:00
Dana Jansens
50002f2ceb add a default icon 2003-02-14 05:48:31 +00:00
Dana Jansens
e936cba57e rm debug print 2003-02-14 03:44:00 +00:00
Dana Jansens
2f2d6e736e layout the titlebar right, was adding too much space when buttons were removed from the titlebar 2003-02-14 03:13:26 +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
238355f190 put the Python.h header in the .cc 2003-02-13 23:44:47 +00:00
Dana Jansens
54e85b2599 only keep fullscreen windows in the top layer when they or a relative is focused 2003-02-13 23:44:32 +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
07305ec718 display icons in the frame titlebar! 2003-02-13 10:23:22 +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
af27d7b7f0 doc _layer.
add an Icon struct
2003-02-13 07:38:45 +00:00
Dana Jansens
939e7887ce notify the frame when the desktop changes 2003-02-13 07:35:25 +00:00
Dana Jansens
23cc9e0546 show state with the alldesktops and max buttons 2003-02-13 07:32:30 +00:00
Dana Jansens
f898314662 buttons press! 2003-02-13 07:30:11 +00:00
Dana Jansens
c88451f0c1 readd titlebar buttons. but they dont press yet 2003-02-13 07:18:11 +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
8ad1d0bb99 clear the stringlist before populating it 2003-02-13 04:37:41 +00:00
Dana Jansens
7c32ac2b3f proper order for headers 2003-02-12 06:49:06 +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
Dana Jansens
044c8ae416 start of pseudo init 2003-02-12 01:14:02 +00:00
Dana Jansens
5e0fc865a8 start of pseudocolor init 2003-02-12 01:12:34 +00:00
Dana Jansens
325a909dcd move printf.. 2003-02-12 00:42:19 +00:00
Dana Jansens
fe1473bccc use the frame's area() properly 2003-02-12 00:40:25 +00:00
Dana Jansens
5160662248 use the frame's area not the client's 2003-02-12 00:39:15 +00:00
Dana Jansens
9faca110ac kill all the old commented vars in rendercontrol.hh
add some preliminary vars in pseudorendercontrol.hh
2003-02-12 00:34:22 +00:00
Dana Jansens
72ff846dbb make all the rendering code in RenderControl. use true/pseudo RenderControl classes just for reducing the pixel32 data to the appropriate bitdepth. 2003-02-12 00:27:32 +00:00
Dana Jansens
f30b2a8908 can draw icons in truecolor! 2003-02-12 00:10:45 +00:00
Dana Jansens
e1473968b4 increment x 2003-02-12 00:03:18 +00:00
Dana Jansens
3147ad1a60 start on the rendering images code 2003-02-11 23:58:33 +00:00
Dana Jansens
555facb9c7 free the surfaces' pixeldata after rendering it 2003-02-11 22:38:29 +00:00