Commit graph

383 commits

Author SHA1 Message Date
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
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
ab68bcfb1e more changes wrt passing x, y, w, h to render 2003-03-17 04:53:36 +00:00
Derek Foreman
fdabd3daf9 paint gets more parameters 2003-03-17 04:50:40 +00:00
Derek Foreman
e9a7fc91bc apparently my variable names were too verbose. 2003-03-17 04:43:42 +00:00
Derek Foreman
3147507622 offsets in planar surfaces 2003-03-17 04:42:49 +00:00
Dana Jansens
2870457bf5 decalre variables before code! 2003-03-17 02:10:24 +00:00
Derek Foreman
3cb562fe0b added justification to textureText 2003-03-17 01:21:33 +00:00
Dana Jansens
26a3563ac6 dont need those includes no more 2003-03-17 01:10:32 +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
57314ce522 move pixmap_mask typedef
add stub for draw_mask
2003-03-17 00:53:28 +00:00
Dana Jansens
b824e6ad8e add funcs to create/free pixmap_masks 2003-03-17 00:49:05 +00:00
Dana Jansens
14f17c96d0 add glib.h for guint 2003-03-17 00:38:29 +00:00
Dana Jansens
05145e157f include Xlib.h for Pixmap 2003-03-17 00:38:15 +00:00
Dana Jansens
5f5b45a920 add mask.[ch] 2003-03-17 00:37:52 +00:00
Dana Jansens
1f63f7b331 add a struct for pixmap masks 2003-03-17 00:37:23 +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
Derek Foreman
4672adbfa0 font changes 2003-03-16 23:35:51 +00:00
Derek Foreman
99b226f39d remove printf and stdio.h 2003-03-16 23:35:33 +00:00
Derek Foreman
88a8bc413b add font_draw 2003-03-16 23:35:00 +00:00
Derek Foreman
ea8d450ed3 add font_draw
move font def'n to render.h
2003-03-16 23:34:45 +00:00
Derek Foreman
74c683ee5f font.h and font.c 2003-03-16 22:36:17 +00:00
Derek Foreman
6682d070c3 filled out font texture 2003-03-16 22:34:45 +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