Commit graph

22 commits

Author SHA1 Message Date
Dana Jansens
7744067b6b moving shadow information out of the themes, and into the Text textures.
cleaning up some old Xft cruft in font.c also, that is no longer needed.
2007-03-04 18:47:21 +00:00
Dana Jansens
43d0f79057 fonts are no longer loaded from the theme file. instead, they are created by the application and passed in while creating/loading a theme 2007-03-04 07:12:34 +00:00
Dana Jansens
037fc862b0 pango is now mandatory..
lots of cleanups to the pango code, which was a very nice base to start from. thanks to whomever wrote that for us.. put some of the pango variables into the various render structs so that they don't need to be created all the time. put the pango context inside our RrInstance so that it can be properly freed at shutdown. removed xft dependencies all through the code and the build system also. who knows if this will break compiling for some poor souls. i guess we'll find out, won't we!
2007-03-03 02:53:41 +00:00
Mikael Magnusson
005eb35ee8 fix some warnings from -Wall 2006-08-19 05:05:36 +00:00
Mikael Magnusson
a5100fe677 make the pango rendering code really complicated because that is the only way to make it draw correctly 2005-07-16 00:56:45 +00:00
Mikael Magnusson
8f9aae0cc2 fix the dpi stuff with pango by reading the right ascent and descent stuff 2005-07-15 14:39:31 +00:00
Mikael Magnusson
e7d1ba6ae3 Pango! yay. Patch mostly by Mohammed Sameer, fixed some memleaks and ifdeffed by me. May still have some bugs. 2004-11-07 13:20:54 +00:00
Dana Jansens
740c5b2a20 consistant glib type usage 2003-10-15 03:59:35 +00:00
Dana Jansens
16f46c296d no tabs 2003-09-17 07:44:49 +00:00
Dana Jansens
c4e4760c41 add copyright headers, adjust --version output to include copyright, and --help output to not include version output. 2003-09-17 07:32:52 +00:00
Dana Jansens
83705e52c4 add Xutil includes for these badboys on older X versions/solaris 2003-08-12 18:05:08 +00:00
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
a12e73cf37 read fonts and titlebar layout from theme files 2003-06-26 01:29:45 +00:00
Dana Jansens
dbe2851b91 more namespacing to Rr* 2003-06-21 02:15:13 +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
5cf61ee023 move the openbox engine into librender and the kernel. the theme is loaded and stored inside librender. the frame is decorated and managed inside the kernel. 2003-04-13 07:18:28 +00:00
Derek Foreman
2880e674ea add a Rect to the textures for positioning them 2003-03-26 02:19:38 +00:00
Dana Jansens
a75829699b kill the const 2003-03-19 07:26:05 +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
ea8d450ed3 add font_draw
move font def'n to render.h
2003-03-16 23:34:45 +00:00
Derek Foreman
aa68e45b19 added some font stuff 2003-03-16 22:34:05 +00:00