pidgin: gtkthemes.h Source File

pidgin 2.14.4

Loading...
Searching...
No Matches
gtkthemes.h
Go to the documentation of this file.
1
6/* pidgin
7 *
8 * Pidgin is the legal property of its developers, whose names are too numerous
9 * to list here. Please refer to the COPYRIGHT file distributed with this
10 * source distribution.
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
25 */
26#ifndef _PIDGINTHEMES_H_
27#define _PIDGINTHEMES_H_
28
29 struct smiley_list {
30 char *sml;
31 GSList *smileys;
32 struct smiley_list *next;
33};
34
35 struct smiley_theme {
36 char *path;
37 char *name;
38 char *desc;
39 char *icon;
40 char *author;
41
42 struct smiley_list *list;
43};
44
45extern struct smiley_theme *current_smiley_theme;
46extern GSList *smiley_themes;
47
48void pidgin_themes_init(void);
49
50gboolean pidgin_themes_smileys_disabled(void);
51
52void pidgin_themes_smiley_themeize(GtkWidget *);
53
57 void pidgin_themes_smiley_themeize_custom(GtkWidget *);
58
59void pidgin_themes_smiley_theme_probe(void);
60
61void pidgin_themes_load_smiley_theme(const char *file, gboolean load);
62
66 void pidgin_themes_remove_smiley_theme(const char *file);
67
68GSList *pidgin_themes_get_proto_smileys(const char *id);
69
70#endif /* _PIDGINTHEMES_H_ */
pidgin_themes_remove_smiley_theme
void pidgin_themes_remove_smiley_theme(const char *file)
pidgin_themes_smiley_themeize_custom
void pidgin_themes_smiley_themeize_custom(GtkWidget *)
smiley_list
Definition: gtkthemes.h:29
smiley_theme
Definition: gtkthemes.h:35