diff options
author | osch <oliver at luced de> | 2019-04-12 21:22:59 +0200 |
---|---|---|
committer | lukefromdc <[email protected]> | 2019-04-23 18:35:39 +0000 |
commit | 5e2f54dbf2417c3b5f8b1614010565a0a500382a (patch) | |
tree | 691d98cc1bfcb0e0bf4d24ee4713d53eb53eca9c /src/include | |
parent | ae98b909e347ae7dadb0a57a22dbca3cf2231f33 (diff) | |
download | marco-5e2f54dbf2417c3b5f8b1614010565a0a500382a.tar.bz2 marco-5e2f54dbf2417c3b5f8b1614010565a0a500382a.tar.xz |
make icon size configurable
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/common.h | 3 | ||||
-rw-r--r-- | src/include/prefs.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/include/common.h b/src/include/common.h index 81937307..1fe3aae1 100644 --- a/src/include/common.h +++ b/src/include/common.h @@ -301,8 +301,7 @@ struct _MetaButtonLayout }; /* should investigate changing these to whatever most apps use */ -#define META_ICON_WIDTH 48 -#define META_ICON_HEIGHT 48 +#define META_DEFAULT_ICON_SIZE 48 #define META_MINI_ICON_WIDTH 16 #define META_MINI_ICON_HEIGHT 16 diff --git a/src/include/prefs.h b/src/include/prefs.h index 34ab802e..7623dd19 100644 --- a/src/include/prefs.h +++ b/src/include/prefs.h @@ -60,6 +60,7 @@ typedef enum META_PREF_MATE_ANIMATIONS, META_PREF_CURSOR_THEME, META_PREF_CURSOR_SIZE, + META_PREF_ICON_SIZE, META_PREF_COMPOSITING_MANAGER, META_PREF_COMPOSITING_FAST_ALT_TAB, META_PREF_RESIZE_WITH_RIGHT_BUTTON, @@ -129,6 +130,7 @@ void meta_prefs_change_workspace_name (int i, const char* meta_prefs_get_cursor_theme (void); int meta_prefs_get_cursor_size (void); +int meta_prefs_get_icon_size (void); gboolean meta_prefs_get_compositing_manager (void); gboolean meta_prefs_get_compositing_fast_alt_tab (void); gboolean meta_prefs_get_center_new_windows (void); |