aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2011-09-08 12:35:33 +0000
committerokan2011-09-08 12:35:33 +0000
commitce2d7e32150af2dba656d99ed0bf931645425ee7 (patch)
treec3035f9d197cd3137faf2d34230ea932335733ee /calmwm.h
parentf62e165e708a0095e787f98912d4d2e24c0d8b01 (diff)
downloadcwm-ce2d7e32150af2dba656d99ed0bf931645425ee7.tar.gz
allow configurable menu font color; from Alexander Polakov with a tweak
from me. ok oga@
Diffstat (limited to '')
-rw-r--r--calmwm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/calmwm.h b/calmwm.h
index c67e6c9..ec0fe45 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -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 *);