Dana Jansens
6e93be1d2e
remove non-planar surfaces
2003-06-20 00:05:51 +00:00
Derek Foreman
48a75b80d6
gl is starting. it's gonna get really ugly really fast, folks
2003-05-25 00:42:02 +00:00
Derek Foreman
c00accbd25
removed a piece of code I suspect has never been run
...
this is for XServers that report less than 8 bpp default visual and support
8bpp or higher visuals
hopefully nothing is really that stupid. we'll see.
2003-05-22 20:53:18 +00:00
Derek Foreman
911d7251f8
keep XVisualInfo around in preparation for opengl stuff
2003-05-22 19:48:11 +00:00
Dana Jansens
9e33652f71
put the devation back how it used to be, it aws definately no better..
2003-05-20 23:53:32 +00:00
Dana Jansens
13f701bdb1
remove the elliptic gradient type.
...
add bevel light/dark colors for solid textures with bevels
2003-05-20 07:28:31 +00:00
Dana Jansens
a18c1697b1
make icons use pixel32 data, and image_draw takes pixel32 data.
...
client.c gets pixmap icons as a backup to netwm ones, and they are converted into pixel32 data.
2003-05-18 23:06:11 +00:00
Dana Jansens
993fc6226d
2 in 1 deal :\
...
client.c stacking.c: fixing looping transient case for group transient windows. now a window which is transient for a group is *not* transient for any other transient windows in the group (perviously the other window had to be transient for the group to be excluded, now it can be transient for anything).
client.c/h event.c render.c/h: adjustnig icon handling a bit. will be converting the legacy pixmap icons into rgba data so they can be handled the same as netwm icons.
2003-05-18 17:09:55 +00:00
Dana Jansens
f26f23de50
all my changes while i was offline.
...
better alt-tabbing. better transient handling. i dont even know. lots of fucking cool shit so WATCH the FUCK OUT.
2003-05-09 16:57:17 +00:00
Dana Jansens
a081582e3a
fix window icon rendering, was using incorrect size.
2003-04-27 17:08:40 +00:00
Dana Jansens
bbaef2ee57
make minsize take int*'s not a Size*
2003-04-15 18:05:25 +00:00
Dana Jansens
1afb1a7cc8
shrink the area that the textures are rendered into by the bevels/borders
2003-04-14 22:12:18 +00:00
Dana Jansens
76ebae32b2
allow freeing NULL appearances
2003-04-13 02:30:01 +00:00
Dana Jansens
b15007ca36
ifndef NOT IFNDEF GAH
2003-04-06 19:11:19 +00:00
Derek Foreman
8ebf2b6a3f
Fix reduce color depth to not use original data
...
(and break parentrel)
2003-04-06 18:03:59 +00:00
Dana Jansens
56f6acce8b
add stdlib.h for exit()
2003-04-06 17:39:59 +00:00
Dana Jansens
8d08de4bb6
add function to give the minimum size of an appearance to fully render it's data
2003-04-06 06:19:36 +00:00
Derek Foreman
214fa8714e
added superb pseudo-color (8bpp) support
2003-04-06 04:03:05 +00:00
Dana Jansens
8cd8b1d0f4
will seg again
2003-04-02 05:56:00 +00:00
Dana Jansens
170fa13d83
stop copying. still segfault?
2003-04-02 05:54:26 +00:00
Dana Jansens
cf4e1780d0
find the right offset in the source data for parent relative
2003-04-02 04:30:57 +00:00
Derek Foreman
4213b558bf
let there be parentrelative
2003-04-02 00:17:35 +00:00
Derek Foreman
3d6b970a4b
moved paint's arguments into the appearance struct
2003-03-28 03:25:51 +00:00
Derek Foreman
175271a126
fix draw order in x_paint
2003-03-28 03:01:12 +00:00
Derek Foreman
9a49853466
black. not white. oops
2003-03-28 02:34:03 +00:00
Derek Foreman
16b17599b7
black for parentrelative so we can test icons
2003-03-28 02:33:28 +00:00
Derek Foreman
135f1c61e2
add rgba icon support
2003-03-26 05:38:39 +00:00
Derek Foreman
2880e674ea
add a Rect to the textures for positioning them
2003-03-26 02:19:38 +00:00
Dana Jansens
6adb3d4454
add more size checks
2003-03-23 17:32:07 +00:00
Dana Jansens
0a69cfc6d2
add strict ansi compliance
2003-03-21 20:25:34 +00:00
Derek Foreman
de307661b6
added depth reduction and startup for true color visuals
...
16bpp should now work
2003-03-19 23:26:54 +00:00
Dana Jansens
49a7001264
free the right pixel data yay!
2003-03-19 08:09:24 +00:00
Dana Jansens
4ee425c13e
free the pixel data
2003-03-19 08:09:09 +00:00
Dana Jansens
c95a4e604c
can fit on one line
2003-03-19 07:58:52 +00:00
Dana Jansens
7bd747389d
initialize texture to NULL if theres no textures. use g_memdup to copy it
2003-03-19 07:58:39 +00:00
Dana Jansens
0c2f95674f
pass the x,y,w,h to font_draw.
...
draw the text in the "right" place for now.. no justification yet
2003-03-17 07:30:30 +00:00
Derek Foreman
32ec1d1e86
solids should now work with offsets
2003-03-17 05:21:58 +00:00
Derek Foreman
46e2060fcf
more random pokery
2003-03-17 05:15:33 +00:00
Derek Foreman
e659f95516
either offsets work, or I've broken lots of things.
2003-03-17 05:00:46 +00:00
Derek Foreman
fdabd3daf9
paint gets more parameters
2003-03-17 04:50:40 +00:00
Derek Foreman
f1db272154
in keeping with my tradition of committing untested code, here is the
...
pixmap mask rendering code ported from the old otk dirs
2003-03-17 01:08:34 +00:00
Derek Foreman
cce970813f
hack so text shows up
2003-03-17 00:21:05 +00:00
Dana Jansens
3232247b0c
dont delete the pixmap until after changeing the visible one
2003-03-17 00:18:03 +00:00
Derek Foreman
1f28946958
add missing include, pass right args to font_draw
2003-03-17 00:08:03 +00:00
Derek Foreman
f8ad321e50
malloc. yeah.
2003-03-16 23:49:05 +00:00
Derek Foreman
9b1943f1fe
copy textures in appearance_copy
2003-03-16 23:41:42 +00:00
Derek Foreman
8c8c40e270
try to render fonts
...
destroy pixmaps and xftdraws in appearance_delete
2003-03-16 23:36:17 +00:00
Dana Jansens
f8a47de5ec
merge the C branch into HEAD
2003-03-16 21:11:39 +00:00