diff options
author | okan | 2011-09-08 12:35:33 +0000 |
---|---|---|
committer | okan | 2011-09-08 12:35:33 +0000 |
commit | ce2d7e32150af2dba656d99ed0bf931645425ee7 (patch) | |
tree | c3035f9d197cd3137faf2d34230ea932335733ee /calmwm.h | |
parent | f62e165e708a0095e787f98912d4d2e24c0d8b01 (diff) | |
download | cwm-ce2d7e32150af2dba656d99ed0bf931645425ee7.tar.gz |
allow configurable menu font color; from Alexander Polakov with a tweak
from me.
ok oga@
Diffstat (limited to 'calmwm.h')
-rw-r--r-- | calmwm.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: calmwm.h,v 1.140 2011/09/04 16:59:31 oga Exp $ + * $OpenBSD: calmwm.h,v 1.141 2011/09/08 12:35:33 okan Exp $ */ #ifndef _CALMWM_H_ @@ -86,6 +86,7 @@ enum cwmcolor { CWM_COLOR_BORDER_UNGROUP, CWM_COLOR_FG_MENU, CWM_COLOR_BG_MENU, + CWM_COLOR_FONT, CWM_COLOR_MAX }; @@ -435,7 +436,7 @@ int font_descent(struct screen_ctx *); void font_draw(struct screen_ctx *, const char *, int, Drawable, int, int); u_int font_height(struct screen_ctx *); -void font_init(struct screen_ctx *); +void font_init(struct screen_ctx *, const char *); int font_width(struct screen_ctx *, const char *, int); XftFont *font_make(struct screen_ctx *, const char *); |