aboutsummaryrefslogtreecommitdiffstats
path: root/font.c (follow)
Commit message (Collapse)AuthorAgeLines
* move the 2 small font helper functions to xutil.cokan2013-05-19-51/+0
|
* move the rest of xft init into screen_conf, since most of it is based onokan2013-05-19-14/+1
| | | | config parameters.
* - switch border colors to Xftokan2013-05-19-22/+2
| | | | | | | | | - merge border/menu color structures/functions since they now both use Xft - switch xu_xorcolor to operating on XftColor instead of just XRenderColor (basically adding pixel) - if color name allocation fails, revert back to default (this, along with font validation should occur during config parse, but we don't have screens setup yet - likely to change at some point)
* - let callers of font_draw figure out (and pass) the color instead of anokan2013-05-14-7/+4
| | | | | | 'active' flag. - use strlen() inside of font_draw; the only instance where it wasn't used happened to be ignored on a subsequent draw.
* no need for font_{ascent,descent,height} wrappers; limit font_width tookan2013-05-02-21/+3
| | | | just requiring xftfont.
* stash the default screen visual and colormap in screen_ctxokan2012-12-17-8/+6
|
* screen font -> xftfontokan2012-12-17-8/+8
|
* knfokan2012-12-17-8/+9
|
* non-trivial menu drawing rewrite, moving to Xft and solving variousokan2012-12-17-8/+28
| | | | font/color drawing issues; from Alexander Polakov
* replace hand rolled font_make() with XftFontOpenName() and merge intookan2012-11-28-20/+6
| | | | font_init().
* sortokan2012-11-09-2/+2
|
* replace 'reload' with 'restart', which merely re-exec's cwm using theokan2012-10-31-6/+1
| | | | | | | existing argv; same idea with respect to argv saving as Alexander Polakov. reload support was half-complete and is getting in the way. agreed to by many
* allow configurable menu font color; from Alexander Polakov with a tweakokan2011-09-08-3/+8
| | | | | | from me. ok oga@
* UTF8-ify, from Alexander Polakov, but without setlocale(), afterokan2011-06-27-4/+3
| | | | | | feedback from stsp@ - thanks! 'go for it' oga@
* struct XftFont already has height which we can use directly instead ofokan2011-06-24-2/+2
| | | | | | calculating ourselves, so do so. ok oga@
* tag and comment cleanup; ok oga@okan2011-05-11-1/+3
|
* pull all non-X11 headers from calmwm.h and place them only where theyokan2009-12-15-0/+10
| | | | | | are required. encourged to go all the way by oga@
* rid ourselves of these functional macros; convert to real functions.okan2009-12-15-0/+18
| | | | ok oga@
* merge the 2 common header files; specific includes to be pulled out asokan2009-12-15-1/+0
| | | | | | separate commits. ok oga@
* start fixing screen_ctx usage, for it is utterly broken. bring fontokan2009-12-08-3/+3
| | | | | | | | | into screen_ctx and start passing screen_ctx around to in order get rid of Curscreen; fixup per-screen config colors the same way. diff mostly from oga@, with a bit harsher reaction to the state of screen_ctx. "please commit" oga@
* a long time coming - re-work the way we deal with colors: since we'reokan2009-05-17-11/+3
| | | | | | | | using Xft(3), use it to select the font color as well instead of trying to build one; properly allocate and free colors at-will, e.g. we now have configurable colors. feedback and ok's todd@ and oga@
* better cast; noticed by ray@okan2009-01-13-1/+1
| | | | ok ray@ oga@
* FcNameParse() manpage lies, cast here.okan2009-01-11-1/+1
| | | | | | found with pcc. ok oga@
* spacing, declaration lineup to be consistent throughout cwm,okan2008-07-11-5/+6
| | | | | | readability, and a bit of knf. ok oga@
* Rip out and burn the HASH_* stuff. We don't need a SPLAY tree for one font.oga2008-06-15-88/+9
| | | | | | | makes the code a lot simpler. While here rearrange the font handling functions to be less shit. ok and help okan@.
* KNF, no binary change.oga2008-05-15-1/+1
| | | | From Pierre Riteau. Thanks!
* hit it with the knf stick.oga2008-04-15-16/+15
|
* convert globals from G_foo to Foo, as per TODO.jasper2007-05-28-6/+6
| | | | "looks good" pedro@, ok matthieu@
* Initial import of cwm-3.bernd2007-04-27-0/+159
tested by sturm@, ok matthieu@