diff options
author | hwspeedy <ns@bigbear.dk> | 2024-04-25 15:41:26 +0200 |
---|---|---|
committer | hwspeedy <ns@bigbear.dk> | 2024-04-25 15:41:26 +0200 |
commit | bbfa669af189ff2ad46df44715e9e824b251d9b7 (patch) | |
tree | 419474ea4cb613892db66f841142d5d2791e1417 /includes | |
parent | b2ad27df69befa570e53973dfcc63c9bfa040b38 (diff) |
FIX Added more Themes
Diffstat (limited to 'includes')
-rw-r--r-- | includes/callbacks.h | 4 | ||||
-rw-r--r-- | includes/hardinfo.h | 1 | ||||
-rw-r--r-- | includes/uidefs.h | 8 |
3 files changed, 12 insertions, 1 deletions
diff --git a/includes/callbacks.h b/includes/callbacks.h index a689ecb4..4ecfa58c 100644 --- a/includes/callbacks.h +++ b/includes/callbacks.h @@ -42,5 +42,9 @@ void cb_local_computer(); void cb_act_as_server(); void cb_sync_on_startup(); void cb_disable_theme(); +void cb_theme1(); +void cb_theme2(); +void cb_theme3(); +void cb_theme4(); #endif /* __CALLBACKS_H__ */ diff --git a/includes/hardinfo.h b/includes/hardinfo.h index 9c229289..b4d70de0 100644 --- a/includes/hardinfo.h +++ b/includes/hardinfo.h @@ -56,6 +56,7 @@ struct _ProgramParameters { gint gui_running; gint skip_benchmarks; gint quiet; + gint theme; /* * OK to use the common parts of HTML(4.0) and Pango Markup diff --git a/includes/uidefs.h b/includes/uidefs.h index 216a811e..d8b12143 100644 --- a/includes/uidefs.h +++ b/includes/uidefs.h @@ -32,7 +32,13 @@ char *uidefs_str = " <menu name=\"ViewMenu\" action=\"ViewMenuAction\">" " <menuitem name=\"SidePane\" action=\"SidePaneAction\"/>" " <menuitem name=\"Toolbar\" action=\"ToolbarAction\"/>" - "<menuitem name=\"DisableTheme\" action=\"DisableThemeAction\"/>" + " <menu name=\"ThemeMenu\" action=\"ThemeMenuAction\">" + " <menuitem name=\"DisableTheme\" action=\"DisableThemeAction\"/>" + " <menuitem name=\"Theme1\" action=\"Theme1Action\"/>" + " <menuitem name=\"Theme2\" action=\"Theme2Action\"/>" + " <menuitem name=\"Theme3\" action=\"Theme3Action\"/>" + " <menuitem name=\"Theme4\" action=\"Theme4Action\"/>" + " </menu>" " <separator/>" " <separator name=\"LastSep\"/>" " <menuitem name=\"Refresh\" action=\"RefreshAction\"/>" |