pidginstock.h

Go to the documentation of this file.
00001 
00006 /* pidgin
00007  *
00008  * Pidgin is the legal property of its developers, whose names are too numerous
00009  * to list here.  Please refer to the COPYRIGHT file distributed with this
00010  * source distribution.
00011  *
00012  * This program is free software; you can redistribute it and/or modify
00013  * it under the terms of the GNU General Public License as published by
00014  * the Free Software Foundation; either version 2 of the License, or
00015  * (at your option) any later version.
00016  *
00017  * This program is distributed in the hope that it will be useful,
00018  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020  * GNU General Public License for more details.
00021  *
00022  * You should have received a copy of the GNU General Public License
00023  * along with this program; if not, write to the Free Software
00024  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
00025  */
00026 #include <gtk/gtk.h>
00027 #include "gtkstatus-icon-theme.h"
00028 
00029 #ifndef _PIDGIN_STOCK_H_
00030 #define _PIDGIN_STOCK_H_
00031 
00032 /**************************************************************************/
00034 /**************************************************************************/
00036 #define PIDGIN_STOCK_ACTION          "pidgin-action"
00037 #define PIDGIN_STOCK_ALIAS           "pidgin-alias"
00038 #define PIDGIN_STOCK_AWAY            "pidgin-away"
00039 #define PIDGIN_STOCK_CHAT            "pidgin-chat"
00040 #define PIDGIN_STOCK_CLEAR           "pidgin-clear"
00041 #define PIDGIN_STOCK_CLOSE_TABS      "pidgin-close-tab"
00042 #define PIDGIN_STOCK_DEBUG           "pidgin-debug"
00043 #define PIDGIN_STOCK_DISCONNECT      "pidgin-disconnect"
00044 #define PIDGIN_STOCK_DOWNLOAD        "pidgin-download"
00045 #define PIDGIN_STOCK_EDIT            "pidgin-edit"
00046 #define PIDGIN_STOCK_FGCOLOR         "pidgin-fgcolor"
00047 #define PIDGIN_STOCK_FILE_CANCELED   "pidgin-file-canceled"
00048 #define PIDGIN_STOCK_FILE_DONE       "pidgin-file-done"
00049 #define PIDGIN_STOCK_IGNORE          "pidgin-ignore"
00050 #define PIDGIN_STOCK_INFO            "pidgin-info"
00051 #define PIDGIN_STOCK_INVITE          "pidgin-invite"
00052 #define PIDGIN_STOCK_MODIFY          "pidgin-modify"
00053 #define PIDGIN_STOCK_ADD             "pidgin-add"
00054 #define PIDGIN_STOCK_OPEN_MAIL       "pidgin-stock-open-mail"
00055 #define PIDGIN_STOCK_PAUSE           "pidgin-pause"
00056 #define PIDGIN_STOCK_POUNCE          "pidgin-pounce"
00057 #define PIDGIN_STOCK_SIGN_OFF        "pidgin-sign-off"
00058 #define PIDGIN_STOCK_SIGN_ON         "pidgin-sign-on"
00059 #define PIDGIN_STOCK_TEXT_NORMAL     "pidgin-text-normal"
00060 #define PIDGIN_STOCK_TYPED           "pidgin-typed"
00061 #define PIDGIN_STOCK_UPLOAD          "pidgin-upload"
00062 
00063 /* Status icons */
00064 #define PIDGIN_STOCK_STATUS_AVAILABLE  "pidgin-status-available"
00065 #define PIDGIN_STOCK_STATUS_AVAILABLE_I "pidgin-status-available-i"
00066 #define PIDGIN_STOCK_STATUS_AWAY       "pidgin-status-away"
00067 #define PIDGIN_STOCK_STATUS_AWAY_I     "pidgin-status-away-i"
00068 #define PIDGIN_STOCK_STATUS_BUSY       "pidgin-status-busy"
00069 #define PIDGIN_STOCK_STATUS_BUSY_I     "pidgin-status-busy-i"
00070 #define PIDGIN_STOCK_STATUS_CHAT       "pidgin-status-chat"
00071 #define PIDGIN_STOCK_STATUS_INVISIBLE  "pidgin-status-invisible"
00072 #define PIDGIN_STOCK_STATUS_XA         "pidgin-status-xa"
00073 #define PIDGIN_STOCK_STATUS_XA_I       "pidgin-status-xa-i"
00074 #define PIDGIN_STOCK_STATUS_LOGIN      "pidgin-status-login"
00075 #define PIDGIN_STOCK_STATUS_LOGOUT     "pidgin-status-logout"
00076 #define PIDGIN_STOCK_STATUS_OFFLINE    "pidgin-status-offline"
00077 #define PIDGIN_STOCK_STATUS_OFFLINE_I  "pidgin-status-offline"
00078 #define PIDGIN_STOCK_STATUS_PERSON     "pidgin-status-person"
00079 #define PIDGIN_STOCK_STATUS_MESSAGE    "pidgin-status-message"
00080 
00081 /* Chat room emblems */
00082 #define PIDGIN_STOCK_STATUS_IGNORED    "pidgin-status-ignored"
00083 #define PIDGIN_STOCK_STATUS_FOUNDER    "pidgin-status-founder"
00084 #define PIDGIN_STOCK_STATUS_OPERATOR   "pidgin-status-operator"
00085 #define PIDGIN_STOCK_STATUS_HALFOP     "pidgin-status-halfop"
00086 #define PIDGIN_STOCK_STATUS_VOICE      "pidgin-status-voice"
00087 
00088 /* Dialog icons */
00089 #define PIDGIN_STOCK_DIALOG_AUTH    "pidgin-dialog-auth"
00090 #define PIDGIN_STOCK_DIALOG_ERROR   "pidgin-dialog-error"
00091 #define PIDGIN_STOCK_DIALOG_INFO    "pidgin-dialog-info"
00092 #define PIDGIN_STOCK_DIALOG_MAIL    "pidgin-dialog-mail"
00093 #define PIDGIN_STOCK_DIALOG_QUESTION    "pidgin-dialog-question"
00094 #define PIDGIN_STOCK_DIALOG_COOL    "pidgin-dialog-cool"
00095 #define PIDGIN_STOCK_DIALOG_WARNING "pidgin-dialog-warning"
00096 
00097 /* StatusBox Animations */
00098 #define PIDGIN_STOCK_ANIMATION_CONNECT0 "pidgin-anim-connect0"
00099 #define PIDGIN_STOCK_ANIMATION_CONNECT1 "pidgin-anim-connect1"
00100 #define PIDGIN_STOCK_ANIMATION_CONNECT2 "pidgin-anim-connect2"
00101 #define PIDGIN_STOCK_ANIMATION_CONNECT3 "pidgin-anim-connect3"
00102 #define PIDGIN_STOCK_ANIMATION_CONNECT4 "pidgin-anim-connect4"
00103 #define PIDGIN_STOCK_ANIMATION_CONNECT5 "pidgin-anim-connect5"
00104 #define PIDGIN_STOCK_ANIMATION_CONNECT6 "pidgin-anim-connect6"
00105 #define PIDGIN_STOCK_ANIMATION_CONNECT7 "pidgin-anim-connect7"
00106 #define PIDGIN_STOCK_ANIMATION_CONNECT8 "pidgin-anim-connect8"
00107 #define PIDGIN_STOCK_ANIMATION_CONNECT9 "pidgin-anim-connect9"
00108 #define PIDGIN_STOCK_ANIMATION_CONNECT10 "pidgin-anim-connect10"
00109 #define PIDGIN_STOCK_ANIMATION_CONNECT11 "pidgin-anim-connect11"
00110 #define PIDGIN_STOCK_ANIMATION_CONNECT12 "pidgin-anim-connect12"
00111 #define PIDGIN_STOCK_ANIMATION_CONNECT13 "pidgin-anim-connect13"
00112 #define PIDGIN_STOCK_ANIMATION_CONNECT14 "pidgin-anim-connect14"
00113 #define PIDGIN_STOCK_ANIMATION_CONNECT15 "pidgin-anim-connect15"
00114 #define PIDGIN_STOCK_ANIMATION_CONNECT16 "pidgin-anim-connect16"
00115 #define PIDGIN_STOCK_ANIMATION_CONNECT17 "pidgin-anim-connect17"
00116 #define PIDGIN_STOCK_ANIMATION_CONNECT18 "pidgin-anim-connect18"
00117 #define PIDGIN_STOCK_ANIMATION_CONNECT19 "pidgin-anim-connect19"
00118 #define PIDGIN_STOCK_ANIMATION_CONNECT20 "pidgin-anim-connect20"
00119 #define PIDGIN_STOCK_ANIMATION_CONNECT21 "pidgin-anim-connect21"
00120 #define PIDGIN_STOCK_ANIMATION_CONNECT22 "pidgin-anim-connect22"
00121 #define PIDGIN_STOCK_ANIMATION_CONNECT23 "pidgin-anim-connect23"
00122 #define PIDGIN_STOCK_ANIMATION_CONNECT24 "pidgin-anim-connect24"
00123 #define PIDGIN_STOCK_ANIMATION_CONNECT25 "pidgin-anim-connect25"
00124 #define PIDGIN_STOCK_ANIMATION_CONNECT26 "pidgin-anim-connect26"
00125 #define PIDGIN_STOCK_ANIMATION_CONNECT27 "pidgin-anim-connect27"
00126 #define PIDGIN_STOCK_ANIMATION_CONNECT28 "pidgin-anim-connect28"
00127 #define PIDGIN_STOCK_ANIMATION_CONNECT29 "pidgin-anim-connect29"
00128 #define PIDGIN_STOCK_ANIMATION_CONNECT30 "pidgin-anim-connect30"
00129 #define PIDGIN_STOCK_ANIMATION_TYPING0  "pidgin-anim-typing0"
00130 #define PIDGIN_STOCK_ANIMATION_TYPING1  "pidgin-anim-typing1"
00131 #define PIDGIN_STOCK_ANIMATION_TYPING2  "pidgin-anim-typing2"
00132 #define PIDGIN_STOCK_ANIMATION_TYPING3  "pidgin-anim-typing3"
00133 #define PIDGIN_STOCK_ANIMATION_TYPING4  "pidgin-anim-typing4"
00134 #define PIDGIN_STOCK_ANIMATION_TYPING5  "pidgin-anim-typing5"
00135 
00136 /* Toolbar (and menu) icons */
00137 #define PIDGIN_STOCK_TOOLBAR_ACCOUNTS     "pidgin-accounts"
00138 #define PIDGIN_STOCK_TOOLBAR_BGCOLOR      "pidgin-bgcolor"
00139 #define PIDGIN_STOCK_TOOLBAR_BLOCK        "pidgin-block"
00140 #define PIDGIN_STOCK_TOOLBAR_FGCOLOR      "pidgin-fgcolor"
00141 #define PIDGIN_STOCK_TOOLBAR_SMILEY       "pidgin-smiley"
00142 #define PIDGIN_STOCK_TOOLBAR_FONT_FACE    "pidgin-font-face"
00143 #define PIDGIN_STOCK_TOOLBAR_TEXT_SMALLER "pidgin-text-smaller"
00144 #define PIDGIN_STOCK_TOOLBAR_TEXT_LARGER  "pidgin-text-larger"
00145 #define PIDGIN_STOCK_TOOLBAR_INSERT       "pidgin-insert"
00146 #define PIDGIN_STOCK_TOOLBAR_INSERT_IMAGE "pidgin-insert-image"
00147 #define PIDGIN_STOCK_TOOLBAR_INSERT_LINK  "pidgin-insert-link"
00148 #define PIDGIN_STOCK_TOOLBAR_MESSAGE_NEW  "pidgin-message-new"
00149 #define PIDGIN_STOCK_TOOLBAR_PENDING      "pidgin-pending"
00150 #define PIDGIN_STOCK_TOOLBAR_PLUGINS      "pidgin-plugins"
00151 #define PIDGIN_STOCK_TOOLBAR_TYPING       "pidgin-typing"
00152 #define PIDGIN_STOCK_TOOLBAR_USER_INFO    "pidgin-info"
00153 #define PIDGIN_STOCK_TOOLBAR_UNBLOCK      "pidgin-unblock"
00154 #define PIDGIN_STOCK_TOOLBAR_SELECT_AVATAR "pidgin-select-avatar"
00155 #define PIDGIN_STOCK_TOOLBAR_SEND_FILE    "pidgin-send-file"
00156 #define PIDGIN_STOCK_TOOLBAR_TRANSFER     "pidgin-transfer"
00157 #ifdef USE_VV
00158 #define PIDGIN_STOCK_TOOLBAR_AUDIO_CALL   "pidgin-audio-call"
00159 #define PIDGIN_STOCK_TOOLBAR_VIDEO_CALL   "pidgin-video-call"
00160 #define PIDGIN_STOCK_TOOLBAR_AUDIO_VIDEO_CALL "pidgin-audio-video-call"
00161 #endif
00162 #define PIDGIN_STOCK_TOOLBAR_SEND_ATTENTION "pidgin-send-attention"
00163 
00164 /* Tray icons */
00165 #define PIDGIN_STOCK_TRAY_AVAILABLE       "pidgin-tray-available"
00166 #define PIDGIN_STOCK_TRAY_INVISIBLE   "pidgin-tray-invisible"
00167 #define PIDGIN_STOCK_TRAY_AWAY        "pidgin-tray-away"
00168 #define PIDGIN_STOCK_TRAY_BUSY            "pidgin-tray-busy"
00169 #define PIDGIN_STOCK_TRAY_XA              "pidgin-tray-xa"
00170 #define PIDGIN_STOCK_TRAY_OFFLINE         "pidgin-tray-offline"
00171 #define PIDGIN_STOCK_TRAY_CONNECT         "pidgin-tray-connect"
00172 #define PIDGIN_STOCK_TRAY_PENDING         "pidgin-tray-pending"
00173 #define PIDGIN_STOCK_TRAY_EMAIL       "pidgin-tray-email"
00174 
00175 
00181 #define PIDGIN_ICON_SIZE_TANGO_MICROSCOPIC    "pidgin-icon-size-tango-microscopic"
00182 #define PIDGIN_ICON_SIZE_TANGO_EXTRA_SMALL    "pidgin-icon-size-tango-extra-small"
00183 #define PIDGIN_ICON_SIZE_TANGO_SMALL          "pidgin-icon-size-tango-small"
00184 #define PIDGIN_ICON_SIZE_TANGO_MEDIUM         "pidgin-icon-size-tango-medium"
00185 #define PIDGIN_ICON_SIZE_TANGO_LARGE          "pidgin-icon-size-tango-large"
00186 #define PIDGIN_ICON_SIZE_TANGO_HUGE           "pidgin-icon-size-tango-huge"
00187 
00195 typedef struct _PidginStockIconTheme        PidginStockIconTheme;
00196 typedef struct _PidginStockIconThemeClass   PidginStockIconThemeClass;
00197 
00198 #define PIDGIN_TYPE_STOCK_ICON_THEME            (pidgin_stock_icon_theme_get_type ())
00199 #define PIDGIN_STOCK_ICON_THEME(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), PIDGIN_TYPE_STOCK_ICON_THEME, PidginStockIconTheme))
00200 #define PIDGIN_STOCK_ICON_THEME_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), PIDGIN_TYPE_STOCK_ICON_THEME, PidginStockIconThemeClass))
00201 #define PIDGIN_IS_STOCK_ICON_THEME(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PIDGIN_TYPE_STOCK_ICON_THEME))
00202 #define PIDGIN_IS_STOCK_ICON_THEME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PIDGIN_TYPE_STOCK_ICON_THEME))
00203 #define PIDGIN_STOCK_ICON_THEME_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), PIDGIN_TYPE_STOCK_ICON_THEME, PidginStockIconThemeClass))
00204 
00205 struct _PidginStockIconTheme
00206 {
00207     PidginIconTheme parent;
00208 };
00209 
00210 struct _PidginStockIconThemeClass
00211 {
00212     PidginIconThemeClass parent_class;
00213 };
00214 
00215 G_BEGIN_DECLS
00216 
00221 GType pidgin_stock_icon_theme_get_type(void);
00222 
00228 void pidgin_stock_load_status_icon_theme(PidginStatusIconTheme *theme);
00229 
00230 
00231 void pidgin_stock_load_stock_icon_theme(PidginStockIconTheme *theme);
00232 
00236 void pidgin_stock_init(void);
00237 
00238 G_END_DECLS
00239 #endif /* _PIDGIN_STOCK_H_ */