Commit graph

154 commits

Author SHA1 Message Date
Dana Jansens
dc92dbfc56 don't exit in the render lib, rather return a NULL font/theme on failure 2003-06-21 05:35:05 +00:00
Dana Jansens
5929a63f95 more namespacing with Rr* 2003-06-21 02:39:56 +00:00
Dana Jansens
bb6b616b9c more namespacing with Rr* 2003-06-21 02:39:55 +00:00
Dana Jansens
16066ed282 use the pseudo shit in the instance now 2003-06-21 02:38:47 +00:00
Dana Jansens
768c3cd4a9 more namespacing with Rr* 2003-06-21 02:30:15 +00:00
Dana Jansens
33ec08ea22 more namespacing with Rr* 2003-06-21 02:30:14 +00:00
Dana Jansens
c100b72c5d more namespacing with Rr* 2003-06-21 02:26:50 +00:00
Dana Jansens
dbe2851b91 more namespacing to Rr* 2003-06-21 02:15:13 +00:00
Dana Jansens
092616de9a rename pixel32/16 to RrPixel32/16 2003-06-21 02:00:42 +00:00
Dana Jansens
bd59576748 rename color_rgb to RrColor 2003-06-21 01:56:14 +00:00
Dana Jansens
b1f5555218 put the render theme into a struct 2003-06-21 01:53:26 +00:00
Dana Jansens
3f32dfa87e this is going to break the kernel/ building.
lots of modifications to the render API, prefixing everything, making proper
names for everything. the structures are not hidden/opaque yet, but the naming scheme of the public API works much better now.
2003-06-20 07:58:51 +00:00
Dana Jansens
49268650b4 oops typo 2003-06-20 05:45:55 +00:00
Dana Jansens
62240d2b0f take the bevel width into account for the width available 2003-06-20 02:39:20 +00:00
Dana Jansens
cd12a2eae5 simply the render interface by not requiring the setting of all the areas. only take a w and h in paint(). best font layout ever. 2003-06-20 02:17:23 +00:00
Dana Jansens
ad30e7092b slight optimizations, and make the last 4 gradients work properly 2003-06-20 00:46:53 +00:00
Dana Jansens
fd52dc5d35 center text vertically. use the font's height because all that space is needed for some charcters 2003-06-20 00:38:25 +00:00
Dana Jansens
6e93be1d2e remove non-planar surfaces 2003-06-20 00:05:51 +00:00
Dana Jansens
9867ce2367 more unique error for unhandles image bit depths, remove debug prints 2003-06-03 05:07:39 +00:00
Dana Jansens
c4e60e4ad2 handle increase_depth on 1bpp images 2003-06-03 05:04:12 +00:00
Derek Foreman
b8f05e5388 gl.h shouldn't be required when not enabling gl 2003-05-25 18:36:19 +00:00
Derek Foreman
db705f406c all grads done 2003-05-25 03:36:12 +00:00
Derek Foreman
f9505b23b7 pipecross 2003-05-25 03:17:29 +00:00
Derek Foreman
d6652d0a90 rectangle and diagonal grads yay
gl > *
2003-05-25 02:46:35 +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
Dana Jansens
f54e8c9ba0 add --enable-gl support, and put the flags/libs in the appropriate makefiles 2003-05-23 05:30:00 +00:00
Derek Foreman
99c7fa7260 fix cut'n'paste bug 2003-05-22 23:26:05 +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
955d9d8e30 optimize it a bit 2003-05-21 22:19:01 +00:00
Dana Jansens
9b2a67d044 pass the number of bytes, not characters to the xft draw functions 2003-05-21 22:17:36 +00:00
Dana Jansens
e4aa5c6905 allocate the border_color's gc 2003-05-21 02:59:02 +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
Derek Foreman
76425437d4 of by one error in pyramid, rectangle, and crosspipe 2003-05-20 19:07:27 +00:00
Dana Jansens
0de48102a4 remove debug prints 2003-05-20 16:49:46 +00:00
Dana Jansens
895cd9f43d reindent the file....
but while i'm at it:
  - add support for bevels/borders on solid textures.
  - reverse the colors in the rectangle gradient, the pipecross and pyramid
    ones may need to be reversed as well.
2003-05-20 07:30:27 +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
97b22bd27b use the rectangle gradient when the theme asks for elipse 2003-05-20 07:27:23 +00:00
Derek Foreman
ad4c3aad45 PipeCross 2003-05-18 23:31:13 +00:00
Derek Foreman
b24e6fbfa1 there's the rect grad. now stop bugging me :( 2003-05-18 23:27:31 +00:00
Derek Foreman
e328dc2f60 is that a rectangle grad? damned if I know 2003-05-18 23:15:37 +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
Derek Foreman
4be1b08154 whatever, it's a junk file. 2003-05-18 19:24:19 +00:00
Derek Foreman
d46e6627bf change badly named offsets
add stubs for rectangle and pipecross
2003-05-18 19:24:08 +00:00
Derek Foreman
b9ecd5bf25 rename poorly named offsets 2003-05-18 19:23:26 +00:00
Derek Foreman
d9bdc21192 add stubs for pipecross and rectangle 2003-05-18 19:23:04 +00:00
Derek Foreman
dcdd743fa4 fix poor naming of default offset 2003-05-18 19:08:26 +00:00
Derek Foreman
90ca2a206b fix poor naming of the default offset 2003-05-18 19:07:42 +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
d1ceea89bd need the libsn flags 2003-05-18 03:17:42 +00:00