diff options
author | Shawn Betts <sabetts@gmail.com> | 2009-07-04 20:58:21 -0700 |
---|---|---|
committer | Shawn Betts <sabetts@gmail.com> | 2009-07-04 20:58:21 -0700 |
commit | 14beabe55fa3cac03f598e138f363f1d50659564 (patch) | |
tree | 2a23a383df0a818d60593e34d7dd73f1d408658a /src/globals.h | |
parent | 166021512b2e39344ff4562323d15a1e2fdea153 (diff) | |
download | ratpoison-14beabe55fa3cac03f598e138f363f1d50659564.zip |
fix inverted text when using xftwinliststyle-row_broken
Now the inverted rectangle is drawn first and the text overtop in the bg color.
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/globals.h b/src/globals.h index 452cf0d..cb5e16c 100644 --- a/src/globals.h +++ b/src/globals.h @@ -66,6 +66,10 @@ #define GROUP_DELETE_GROUP_NONEMPTY 1 #define GROUP_DELETE_LAST_GROUP 2 +/* Font styles */ +#define STYLE_NORMAL 0 +#define STYLE_INVERSE 1 + /* The list of groups. */ extern struct list_head rp_groups; @@ -195,7 +199,7 @@ void init_globals (void); /* Wrapper font functions to support Xft */ -void rp_draw_string (rp_screen *s, Drawable d, GC gc, int x, int y, char *string, int length); +void rp_draw_string (rp_screen *s, Drawable d, int style, int x, int y, char *string, int length); int rp_text_width (rp_screen *s, XFontSet font, char *string, int count); #endif |