Commit graph

31 commits

Author SHA1 Message Date
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
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
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
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
b486929d34 indenting oopsie 2003-04-14 22:42:23 +00:00
Dana Jansens
64e0884413 text justification 2003-04-14 22:12:26 +00:00
Dana Jansens
ef1f7b0494 allow closing NULL fonts 2003-04-13 02:29:09 +00:00
Dana Jansens
4875ff5f8e whitespace 2003-04-02 06:40:57 +00:00
Dana Jansens
60204c4348 kill debug print 2003-04-02 06:40:49 +00:00
Dana Jansens
301c302e4e use the tint properly for the shadow 2003-04-02 06:37:52 +00:00
Dana Jansens
feb6bc632f use 'sans' as the fallback font instead of 'fixed' 2003-03-30 23:34:00 +00:00
Derek Foreman
2880e674ea add a Rect to the textures for positioning them 2003-03-26 02:19:38 +00:00
Dana Jansens
5755a7a564 bettr font alignment, i think 2003-03-25 22:00:14 +00:00
Dana Jansens
8fff73fa7a seems to be better text placement than ever 2003-03-23 22:03:32 +00:00
Dana Jansens
f2add3a5b0 found what seems to be a better vertical offset for the fonts 2003-03-23 21:55:04 +00:00
Dana Jansens
0a69cfc6d2 add strict ansi compliance 2003-03-21 20:25:34 +00:00
Dana Jansens
ff97498e1d include gettext.h from the right place 2003-03-21 18:46:44 +00:00
Dana Jansens
60cbb9ee92 kill the const, use g_new instead of malloc, g_free the font in font_close() 2003-03-19 07:26:25 +00:00
Dana Jansens
812b9b03f4 clean up comments regarding alpha 2003-03-19 07:20:45 +00:00
Dana Jansens
cb73f209c9 dont put \n's at the end of g_message 2003-03-17 23:04:43 +00:00
Dana Jansens
033bd73e7e kill the debug print 2003-03-17 20:00:00 +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
Dana Jansens
a4838c740c measure the font's height instead of listening to Xft 2003-03-17 06:41:40 +00:00
Derek Foreman
88a8bc413b add font_draw 2003-03-16 23:35:00 +00:00
Derek Foreman
aa68e45b19 added some font stuff 2003-03-16 22:34:05 +00:00
Dana Jansens
f8a47de5ec merge the C branch into HEAD 2003-03-16 21:11:39 +00:00