/* read buttons textures */
if (!read_appearance(db, inst,
"window.active.button.disabled.bg",
- theme->a_disabled_focused_max,
+ theme->a_disabled_focused_max,
TRUE))
set_default_appearance(theme->a_disabled_focused_max);
if (!read_appearance(db, inst,
"window.inactive.button.disabled.bg",
- theme->a_disabled_unfocused_max,
+ theme->a_disabled_unfocused_max,
TRUE))
set_default_appearance(theme->a_disabled_unfocused_max);
if (!read_appearance(db, inst,
"window.active.button.pressed.bg",
- theme->a_focused_pressed_max,
+ theme->a_focused_pressed_max,
TRUE))
set_default_appearance(theme->a_focused_pressed_max);
if (!read_appearance(db, inst,
theme->padding * 2;
}
theme->button_size = theme->label_height - 2;
- theme->grip_width = theme->title_height * 1.5;
+ theme->grip_width = 25;
return theme;
}
*grad = RR_SURFACE_CROSS_DIAGONAL;
else if (strstr(tex, "pyramid") != NULL)
*grad = RR_SURFACE_PYRAMID;
+ else if (strstr(tex, "osx") != NULL)
+ *grad = RR_SURFACE_OSX;
else if (strstr(tex, "horizontal") != NULL)
*grad = RR_SURFACE_HORIZONTAL;
else if (strstr(tex, "vertical") != NULL)
*grad = RR_SURFACE_VERTICAL;
+ else if (strstr(tex, "split") != NULL)
+ *grad = RR_SURFACE_SPLIT;
else
*grad = RR_SURFACE_DIAGONAL;
} else {
*relief = RR_RELIEF_FLAT;
else
*relief = RR_RELIEF_RAISED;
-
+
*border = FALSE;
if (*relief == RR_RELIEF_FLAT) {
if (strstr(tex, "border") != NULL)