Commit graph

175 commits

Author SHA1 Message Date
Dana Jansens
58be655de3 remove rependancy on geom.h from the kernel, provide what is used in its own geom.h 2003-07-10 04:31:34 +00:00
Dana Jansens
2abbf01125 update the build system, using a single Makefile.am for a sexyass non-recursive make. booyah! 2003-07-10 04:31:05 +00:00
Dana Jansens
7f44ed5362 include stdlib for exit() 2003-07-07 20:26:32 +00:00
Dana Jansens
ce940eee0f try some better default offsets for big endian machines.
print what the conversion is so i can see what it should be if im wrong though
2003-07-05 17:01:30 +00:00
Dana Jansens
41d72ee51f used RrColorShift when RrColorOffset was what we wanted 2003-07-05 16:51:29 +00:00
Dana Jansens
2f9efb384d prepare for alpha1 release.
make 'make dist' work.
2003-06-29 08:47:24 +00:00
Dana Jansens
9d896233ec missed setting 'current' at the end of the pyramid gradient 2003-06-29 08:33:19 +00:00
Dana Jansens
121afb76eb remove debug print 2003-06-28 19:06:03 +00:00
Dana Jansens
1bb7a5f883 don't destroy font patterns, i think this is a double free 2003-06-28 17:29:23 +00:00
Dana Jansens
527af7664a add the themes path to the struct. make the name never include a path 2003-06-28 16:52:17 +00:00
Dana Jansens
c109dcd66a hardcode the button names for themes 2003-06-28 16:48:25 +00:00
Dana Jansens
0a459f7a57 rename the button_dir var to data_dir.. pointless :> 2003-06-28 15:53:37 +00:00
Dana Jansens
15c7707181 dont destroy the match pattern, it seems that Xft holds onto the pointer 2003-06-26 17:51:52 +00:00
Dana Jansens
bf2f0c58ca add comment 2003-06-26 01:35:41 +00:00
Dana Jansens
a12e73cf37 read fonts and titlebar layout from theme files 2003-06-26 01:29:45 +00:00
Dana Jansens
c791cbfda0 set teh X so it gets used right 2003-06-25 21:18:16 +00:00
Dana Jansens
0901ddf891 keep a small space on the sides of windows between the edge and the text 2003-06-25 21:17:15 +00:00
Dana Jansens
5cd0ed57ac do horz grads without any multipliaction 2003-06-24 18:56:47 +00:00
Dana Jansens
1e882b6271 made all the gradients work with integer math. removed the pipecross and rectangle gradietns tho cuz they are ugly and i dont want to code that bullshit cuz they are ugly. 2003-06-24 18:54:18 +00:00
Dana Jansens
dc60657acf integer math for gradients. horz vert and diags and pipecross work so far. 2003-06-24 18:16:23 +00:00
Dana Jansens
0a8fa636cd always create the bg pixmap, X seems to not like it if i dont? 2003-06-21 17:13:45 +00:00
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