pidgin/gtkblist-theme.h

branch
soc.2013.gobjectification.plugins
changeset 37121
fba6e5400a2a
parent 37094
84873ce721dc
parent 35600
a0d221323be1
child 37992
0185eb26ac7d
equal deleted inserted replaced
37120:9b5c7e27c8d9 37121:fba6e5400a2a
42 #define PIDGIN_BLIST_THEME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PIDGIN_TYPE_BLIST_THEME, PidginBlistThemeClass)) 42 #define PIDGIN_BLIST_THEME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PIDGIN_TYPE_BLIST_THEME, PidginBlistThemeClass))
43 #define PIDGIN_IS_BLIST_THEME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PIDGIN_TYPE_BLIST_THEME)) 43 #define PIDGIN_IS_BLIST_THEME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PIDGIN_TYPE_BLIST_THEME))
44 #define PIDGIN_IS_BLIST_THEME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PIDGIN_TYPE_BLIST_THEME)) 44 #define PIDGIN_IS_BLIST_THEME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PIDGIN_TYPE_BLIST_THEME))
45 #define PIDGIN_BLIST_THEME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PIDGIN_TYPE_BLIST_THEME, PidginBlistThemeClass)) 45 #define PIDGIN_BLIST_THEME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PIDGIN_TYPE_BLIST_THEME, PidginBlistThemeClass))
46 46
47 #define PIDGIN_TYPE_THEME_FONT (pidgin_theme_font_get_type())
48
49 #define PIDGIN_TYPE_BLIST_LAYOUT (pidgin_blist_layout_get_type())
50
47 /** 51 /**
48 * PidginBlistTheme: 52 * PidginBlistTheme:
49 * 53 *
50 * A pidgin buddy list theme. 54 * A pidgin buddy list theme.
51 * This is an object for Purple to represent a buddy list theme. 55 * This is an object for Purple to represent a buddy list theme.
60 struct _PidginBlistThemeClass 64 struct _PidginBlistThemeClass
61 { 65 {
62 PurpleThemeClass parent_class; 66 PurpleThemeClass parent_class;
63 }; 67 };
64 68
65 #if 0
66 typedef struct _PidginThemeFont PidginThemeFont;
67 struct _PidginThemeFont
68 {
69 const gchar *font;
70 const gchar *color;
71
72 };
73 #endif
74 typedef struct _PidginThemeFont PidginThemeFont; 69 typedef struct _PidginThemeFont PidginThemeFont;
75 70
76 typedef struct _PidginBlistLayout PidginBlistLayout; 71 typedef struct _PidginBlistLayout PidginBlistLayout;
77 72
78 struct _PidginBlistLayout 73 struct _PidginBlistLayout
91 /**************************************************************************/ 86 /**************************************************************************/
92 /* PidginThemeFont API */ 87 /* PidginThemeFont API */
93 /**************************************************************************/ 88 /**************************************************************************/
94 89
95 /** 90 /**
91 * pidgin_theme_font_get_type:
92 *
93 * Returns: The #GType for the #PidginThemeFont boxed structure.
94 */
95 GType pidgin_theme_font_get_type(void);
96
97 /**
96 * pidgin_theme_font_new: 98 * pidgin_theme_font_new:
97 * @face: The font face 99 * @face: The font face
98 * @color: The color of the font 100 * @color: The color of the font
99 * 101 *
100 * Create a new PidginThemeFont. 102 * Create a new PidginThemeFont.
168 * 170 *
169 * Returns: The #GType for a blist theme. 171 * Returns: The #GType for a blist theme.
170 */ 172 */
171 GType pidgin_blist_theme_get_type(void); 173 GType pidgin_blist_theme_get_type(void);
172 174
175 /**
176 * pidgin_blist_layout_get_type:
177 *
178 * Returns: The #GType for the #PidginBlistLayout boxed structure.
179 */
180 GType pidgin_blist_layout_get_type(void);
181
173 /* get methods */ 182 /* get methods */
174 183
175 /** 184 /**
176 * pidgin_blist_theme_get_background_color: 185 * pidgin_blist_theme_get_background_color:
177 * @theme: The PidginBlist theme. 186 * @theme: The PidginBlist theme.

mercurial