From ea6258ce0f8b4e7af8d44f2e540eb25ccfe8955b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 22 Jul 2003 16:14:42 +0000 Subject: add a menuOverlap property to themes, and use it in the submenu placement --- render/theme.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'render/theme.c') diff --git a/render/theme.c b/render/theme.c index 29f0663c..a7da009b 100644 --- a/render/theme.c +++ b/render/theme.c @@ -135,6 +135,9 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name) theme->title_layout = g_strdup(font_str); /* load direct dimensions */ + if (!read_int(db, "menuOverlap", &theme->menu_overlap) || + theme->menu_overlap < 0 || theme->menu_overlap > 20) + theme->handle_height = 0; if (!read_int(db, "handleWidth", &theme->handle_height) || theme->handle_height < 0 || theme->handle_height > 100) theme->handle_height = 6; -- cgit v1.2.3