Commit graph

2254 commits

Author SHA1 Message Date
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
299dc47a6b rm shit that no longer applies 2003-02-14 22:53:24 +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
53b5c60a5e check if the window is focused before unfocusing it 2003-02-14 18:31:52 +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
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