X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Ftheme.c;h=0e02ae8b1af400c3588b84de4614af0803ef8a0d;hb=78af5d15e9dd94959786811e9eddfa1e5024067c;hp=3b44b525379d6656c8ee33c3a7d0c15a0711d204;hpb=b10b0000db35990d37a06985f3c5ec1dc0039c3b;p=chaz%2Fopenbox diff --git a/render/theme.c b/render/theme.c index 3b44b525..0e02ae8b 100644 --- a/render/theme.c +++ b/render/theme.c @@ -1,6 +1,7 @@ /* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*- theme.c for the Openbox window manager + Copyright (c) 2006 Mikael Magnusson Copyright (c) 2003 Ben Jansens This program is free software; you can redistribute it and/or modify @@ -904,7 +905,7 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name) theme->padding * 2; } theme->button_size = theme->label_height - 2; - theme->grip_width = theme->title_height * 1.5; + theme->grip_width = 25; return theme; } @@ -1196,8 +1197,12 @@ static void parse_appearance(gchar *tex, RrSurfaceColorType *grad, *grad = RR_SURFACE_CROSS_DIAGONAL; else if (strstr(tex, "pyramid") != NULL) *grad = RR_SURFACE_PYRAMID; + else if (strstr(tex, "mirrorhorizontal") != NULL) + *grad = RR_SURFACE_MIRROR_HORIZONTAL; else if (strstr(tex, "horizontal") != NULL) *grad = RR_SURFACE_HORIZONTAL; + else if (strstr(tex, "splitvertical") != NULL) + *grad = RR_SURFACE_SPLIT_VERTICAL; else if (strstr(tex, "vertical") != NULL) *grad = RR_SURFACE_VERTICAL; else