From 56307d60773d0eaf65b10414cd0e3ec0b2adc156 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 8 Mar 2007 01:26:03 +0000 Subject: a) remove the top_grip_height business from the theme b) make the focus indicator based on border width and padding, not the handle height c) add 2 more windows for the top corners for resizing, much easier to find them now. also base their width on padding, not the handle height or other weird things --- render/theme.c | 2 -- render/theme.h | 1 - 2 files changed, 3 deletions(-) (limited to 'render') diff --git a/render/theme.c b/render/theme.c index 95b48896..4c38dbd2 100644 --- a/render/theme.c +++ b/render/theme.c @@ -987,8 +987,6 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name, } theme->button_size = theme->label_height - 2; theme->grip_width = 25; - theme->top_grip_height = MAX(theme->handle_height, - theme->title_height / 4); return theme; } diff --git a/render/theme.h b/render/theme.h index 4d90dac8..acceaf5f 100644 --- a/render/theme.h +++ b/render/theme.h @@ -53,7 +53,6 @@ struct _RrTheme { gint menu_title_height; gint button_size; gint grip_width; - gint top_grip_height; /* style settings - colors */ RrColor *menu_b_color; -- cgit v1.2.3