diff options
author | Perberos <[email protected]> | 2011-12-01 21:51:44 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-12-01 21:51:44 -0300 |
commit | 0b0e6bc987da4fd88a7854ebb12bde705e92c428 (patch) | |
tree | 47d329edd31c67eaa36b2147780e37e197e901b5 /capplets/common/capplet-stock-icons.h | |
download | mate-control-center-0b0e6bc987da4fd88a7854ebb12bde705e92c428.tar.bz2 mate-control-center-0b0e6bc987da4fd88a7854ebb12bde705e92c428.tar.xz |
moving from https://github.com/perberos/mate-desktop-environment
Diffstat (limited to 'capplets/common/capplet-stock-icons.h')
-rw-r--r-- | capplets/common/capplet-stock-icons.h | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/capplets/common/capplet-stock-icons.h b/capplets/common/capplet-stock-icons.h new file mode 100644 index 00000000..8c954cf4 --- /dev/null +++ b/capplets/common/capplet-stock-icons.h @@ -0,0 +1,66 @@ +/* + * capplet-stock-icons.h + * + * Copyright (C) 2002 Sun Microsystems, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + * + * Authors: + * Rajkumar Sivasamy <[email protected]> + * Taken bits of code from panel-stock-icons.h, Thanks Mark <[email protected]> + */ + +#ifndef __CAPPLET_STOCK_ICONS_H__ +#define __CAPPLET_STOCK_ICONS_H__ + +#include <glib.h> +#include <gtk/gtk.h> + +#ifdef __cplusplus +extern "C" { +#endif + +#define KEYBOARD_CAPPLET_DEFAULT_ICON_SIZE 48 +#define MOUSE_CAPPLET_DEFAULT_WIDTH 120 +#define MOUSE_CAPPLET_DEFAULT_HEIGHT 100 +#define MOUSE_CAPPLET_DBLCLCK_ICON_SIZE 100 + +/* stock icons */ +#define KEYBOARD_REPEAT "keyboard-repeat" +#define KEYBOARD_CURSOR "keyboard-cursor" +#define KEYBOARD_VOLUME "keyboard-volume" +#define KEYBOARD_BELL "keyboard-bell" +#define ACCESSX_KEYBOARD_BOUNCE "accessibility-keyboard-bouncekey" +#define ACCESSX_KEYBOARD_SLOW "accessibility-keyboard-slowkey" +#define ACCESSX_KEYBOARD_MOUSE "accessibility-keyboard-mousekey" +#define ACCESSX_KEYBOARD_STICK "accessibility-keyboard-stickykey" +#define ACCESSX_KEYBOARD_TOGGLE "accessibility-keyboard-togglekey" +#define MOUSE_DBLCLCK_MAYBE "mouse-dblclck-maybe" +#define MOUSE_DBLCLCK_ON "mouse-dblclck-on" +#define MOUSE_DBLCLCK_OFF "mouse-dblclck-off" +#define MOUSE_RIGHT_HANDED "mouse-right-handed" +#define MOUSE_LEFT_HANDED "mouse-left-handed" + +void capplet_init_stock_icons (void); +GtkIconSize keyboard_capplet_icon_get_size (void); +GtkIconSize mouse_capplet_icon_get_size (void); +GtkIconSize mouse_capplet_dblclck_icon_get_size (void); + +#ifdef __cplusplus +} +#endif + +#endif /* __CAPPLET_STOCK_ICONS_H__ */ |