annotate pidgin/gtkblist-theme.h @ 32789:8331b45b6200

disapproval of revision '183ac4d83596ebf70192f4694b131e45a7a5a4c5'
author Ethan Blanton <elb@pidgin.im>
date Sat, 05 May 2012 17:11:58 +0000
parents 84ab7b2db114
children 4d92a431d0a1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25099
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
1 /**
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
2 * @file gtkblist-theme.h GTK+ Buddy List Theme API
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
3 */
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
4
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
5 /* pidgin
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
6 *
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
7 * Pidgin is the legal property of its developers, whose names are too numerous
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
8 * to list here. Please refer to the COPYRIGHT file distributed with this
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
9 * source distribution.
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
10 *
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
11 * This program is free software; you can redistribute it and/or modify
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
12 * it under the terms of the GNU General Public License as published by
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
13 * the Free Software Foundation; either version 2 of the License, or
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
14 * (at your option) any later version.
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
15 *
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
16 * This program is distributed in the hope that it will be useful,
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
19 * GNU General Public License for more details.
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
20 *
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
21 * You should have received a copy of the GNU General Public License
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
22 * along with this program; if not, write to the Free Software
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
24 */
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
25
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
26 #ifndef PIDGIN_BLIST_THEME_H
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
27 #define PIDGIN_BLIST_THEME_H
25099
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
28
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
29 #include <glib.h>
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
30 #include <glib-object.h>
25102
4aeef8c3cce3 restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25101
diff changeset
31 #include <gtk/gtk.h>
4aeef8c3cce3 restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25101
diff changeset
32
25099
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
33 #include "theme.h"
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
34
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
35 /**
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
36 * A pidgin buddy list theme.
25122
9525fb966efb theme loader cleanup, and remove a few warnings
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25108
diff changeset
37 * This is an object for Purple to represent a buddy list theme.
25099
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
38 *
25102
4aeef8c3cce3 restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25101
diff changeset
39 * PidginBlistTheme is a PurpleTheme Object.
25099
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
40 */
25102
4aeef8c3cce3 restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25101
diff changeset
41 typedef struct _PidginBlistTheme PidginBlistTheme;
4aeef8c3cce3 restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25101
diff changeset
42 typedef struct _PidginBlistThemeClass PidginBlistThemeClass;
25099
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
43
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
44 #define PIDGIN_TYPE_BLIST_THEME (pidgin_blist_theme_get_type ())
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
45 #define PIDGIN_BLIST_THEME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PIDGIN_TYPE_BLIST_THEME, PidginBlistTheme))
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
46 #define PIDGIN_BLIST_THEME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PIDGIN_TYPE_BLIST_THEME, PidginBlistThemeClass))
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
47 #define PIDGIN_IS_BLIST_THEME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PIDGIN_TYPE_BLIST_THEME))
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
48 #define PIDGIN_IS_BLIST_THEME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PIDGIN_TYPE_BLIST_THEME))
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
49 #define PIDGIN_BLIST_THEME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PIDGIN_TYPE_BLIST_THEME, PidginBlistThemeClass))
25099
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
50
25102
4aeef8c3cce3 restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25101
diff changeset
51 struct _PidginBlistTheme
25099
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
52 {
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
53 PurpleTheme parent;
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
54 gpointer priv;
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
55 };
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
56
25102
4aeef8c3cce3 restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25101
diff changeset
57 struct _PidginBlistThemeClass
25099
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
58 {
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
59 PurpleThemeClass parent_class;
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
60 };
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
61
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
62 #if 0
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
63 typedef struct
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
64 {
26554
548871664d3b PidginBlistTheme now copies all its parameters instead of taking ownership.
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
65 const gchar *font;
548871664d3b PidginBlistTheme now copies all its parameters instead of taking ownership.
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
66 const gchar *color;
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
67
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
68 } PidginThemeFont;
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
69 #endif
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
70 typedef struct _PidginThemeFont PidginThemeFont;
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
71
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
72 typedef struct
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
73 {
25106
d17d6e83f428 Added layout capabilities to blist themes
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25103
diff changeset
74 gint status_icon;
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
75 gint text;
25106
d17d6e83f428 Added layout capabilities to blist themes
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25103
diff changeset
76 gint emblem;
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
77 gint protocol_icon;
25106
d17d6e83f428 Added layout capabilities to blist themes
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25103
diff changeset
78 gint buddy_icon;
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
79 gboolean show_status;
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
80
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
81 } PidginBlistLayout;
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
82
25108
06392c8252c0 Added text and font coloring for buddies, contacts and chats, as well as fix a few small bugs
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25106
diff changeset
83 /**************************************************************************/
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
84 /** @name PidginThemeFont API */
25108
06392c8252c0 Added text and font coloring for buddies, contacts and chats, as well as fix a few small bugs
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25106
diff changeset
85 /**************************************************************************/
06392c8252c0 Added text and font coloring for buddies, contacts and chats, as well as fix a few small bugs
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25106
diff changeset
86
06392c8252c0 Added text and font coloring for buddies, contacts and chats, as well as fix a few small bugs
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25106
diff changeset
87 /**
26573
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
88 * Create a new PidginThemeFont.
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
89 *
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
90 * @param face The font face
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
91 * @param color The color of the font
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
92 *
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
93 * @return A newly created PidginThemeFont
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
94 */
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
95 PidginThemeFont * pidgin_theme_font_new(const gchar *face, GdkColor *color);
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
96
25108
06392c8252c0 Added text and font coloring for buddies, contacts and chats, as well as fix a few small bugs
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25106
diff changeset
97 /**
06392c8252c0 Added text and font coloring for buddies, contacts and chats, as well as fix a few small bugs
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25106
diff changeset
98 * Frees a font and color pair
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
99 *
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
100 * @param font The theme font
25108
06392c8252c0 Added text and font coloring for buddies, contacts and chats, as well as fix a few small bugs
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25106
diff changeset
101 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
102 void pidgin_theme_font_free(PidginThemeFont *font);
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
103
26573
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
104 /**
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
105 * Set the font-face of a PidginThemeFont.
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
106 *
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
107 * @param font The PidginThemeFont
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
108 * @param face The font-face
25108
06392c8252c0 Added text and font coloring for buddies, contacts and chats, as well as fix a few small bugs
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25106
diff changeset
109 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
110 void pidgin_theme_font_set_font_face(PidginThemeFont *font, const gchar *face);
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
111
26573
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
112 /**
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
113 * Set the color of a PidginThemeFont.
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
114 *
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
115 * @param font The PidginThemeFont
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
116 * @param color The color
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
117 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
118 void pidgin_theme_font_set_color(PidginThemeFont *font, const GdkColor *color);
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
119
26573
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
120 /**
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
121 * Get the font-face of a PidginThemeFont.
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
122 *
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
123 * @param font The PidginThemeFont
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
124 *
26576
80f2d19e524f Allow unsetting the color for a PidginThemeFont.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26573
diff changeset
125 * @return The font-face, or NULL if none is set.
26573
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
126 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
127 const gchar * pidgin_theme_font_get_font_face(PidginThemeFont *font);
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
128
26573
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
129 /**
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
130 * Get the color of a PidginThemeFont as a GdkColor object.
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
131 *
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
132 * @param font The PidginThemeFont
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
133 *
26576
80f2d19e524f Allow unsetting the color for a PidginThemeFont.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26573
diff changeset
134 * @return The color, or NULL if none is set.
26573
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
135 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
136 const GdkColor * pidgin_theme_font_get_color(PidginThemeFont *font);
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
137
26573
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
138 /**
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
139 * Get the color of a PidginThemeFont.
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
140 *
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
141 * @param font The PidginThemeFont
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
142 *
26576
80f2d19e524f Allow unsetting the color for a PidginThemeFont.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26573
diff changeset
143 * @return The color, or NULL if none is set.
26573
98c40e2a0c7f Document some functions.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26572
diff changeset
144 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
145 const gchar * pidgin_theme_font_get_color_describe(PidginThemeFont *font);
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
146
25099
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
147 /**************************************************************************/
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
148 /** @name Purple Buddy List Theme API */
25099
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
149 /**************************************************************************/
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
150 G_BEGIN_DECLS
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
151
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
152 /**
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
153 * GObject foo.
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
154 * @internal.
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
155 */
25102
4aeef8c3cce3 restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25101
diff changeset
156 GType pidgin_blist_theme_get_type(void);
25099
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
157
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
158 /* get methods */
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
159
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
160 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
161 * Returns the background color of the buddy list.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
162 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
163 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
164 *
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
165 * @returns A gdk color.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
166 */
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
167 GdkColor *pidgin_blist_theme_get_background_color(PidginBlistTheme *theme);
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
168
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
169 /**
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
170 * Returns the opacity of the buddy list window
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
171 * (0.0 or clear to 1.0 fully opaque).
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
172 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
173 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
174 *
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
175 * @returns The opacity
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
176 */
25102
4aeef8c3cce3 restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25101
diff changeset
177 gdouble pidgin_blist_theme_get_opacity(PidginBlistTheme *theme);
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
178
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
179 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
180 * Returns the layout to be used with the buddy list.
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
181 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
182 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
183 *
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
184 * @returns The buddy list layout.
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
185 */
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
186 PidginBlistLayout *pidgin_blist_theme_get_layout(PidginBlistTheme *theme);
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
187
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
188 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
189 * Returns the background color to be used with expanded groups.
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
190 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
191 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
192 *
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
193 * @returns A gdk color.
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
194 */
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
195 GdkColor *pidgin_blist_theme_get_expanded_background_color(PidginBlistTheme *theme);
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
196
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
197 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
198 * Returns the text font and color to be used with expanded groups.
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
199 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
200 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
201 *
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
202 * @returns A font and color pair.
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
203 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
204 PidginThemeFont *pidgin_blist_theme_get_expanded_text_info(PidginBlistTheme *theme);
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
205
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
206 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
207 * Returns the background color to be used with collapsed groups.
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
208 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
209 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
210 *
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
211 * @returns A gdk color.
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
212 */
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
213 GdkColor *pidgin_blist_theme_get_collapsed_background_color(PidginBlistTheme *theme);
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
214
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
215 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
216 * Returns the text font and color to be used with collapsed groups.
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
217 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
218 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
219 *
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
220 * @returns A font and color pair.
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
221 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
222 PidginThemeFont *pidgin_blist_theme_get_collapsed_text_info(PidginBlistTheme *theme);
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
223
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
224 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
225 * Returns the colors to be used for contacts and chats.
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
226 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
227 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
228 *
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
229 * @returns A gdkcolor for contacts and chats.
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
230 */
25108
06392c8252c0 Added text and font coloring for buddies, contacts and chats, as well as fix a few small bugs
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25106
diff changeset
231 GdkColor *pidgin_blist_theme_get_contact_color(PidginBlistTheme *theme);
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
232
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
233 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
234 * Returns the text font and color to be used for expanded contacts.
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
235 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
236 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
237 *
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
238 * @returns A font and color pair.
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
239 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
240 PidginThemeFont *pidgin_blist_theme_get_contact_text_info(PidginBlistTheme *theme);
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
241
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
242 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
243 * Returns the text font and color to be used for online buddies.
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
244 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
245 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
246 *
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
247 * @returns A font and color pair.
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
248 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
249 PidginThemeFont *pidgin_blist_theme_get_online_text_info(PidginBlistTheme *theme);
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
250
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
251 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
252 * Returns the text font and color to be used for away and idle buddies.
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
253 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
254 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
255 *
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
256 * @returns A font and color pair.
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
257 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
258 PidginThemeFont *pidgin_blist_theme_get_away_text_info(PidginBlistTheme *theme);
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
259
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
260 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
261 * Returns the text font and color to be used for offline buddies.
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
262 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
263 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
264 *
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
265 * @returns A font and color pair.
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
266 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
267 PidginThemeFont *pidgin_blist_theme_get_offline_text_info(PidginBlistTheme *theme);
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
268
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
269 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
270 * Returns the text font and color to be used for idle buddies.
25108
06392c8252c0 Added text and font coloring for buddies, contacts and chats, as well as fix a few small bugs
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25106
diff changeset
271 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
272 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
273 *
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
274 * @returns A font and color pair.
25108
06392c8252c0 Added text and font coloring for buddies, contacts and chats, as well as fix a few small bugs
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25106
diff changeset
275 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
276 PidginThemeFont *pidgin_blist_theme_get_idle_text_info(PidginBlistTheme *theme);
25108
06392c8252c0 Added text and font coloring for buddies, contacts and chats, as well as fix a few small bugs
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25106
diff changeset
277
06392c8252c0 Added text and font coloring for buddies, contacts and chats, as well as fix a few small bugs
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25106
diff changeset
278 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
279 * Returns the text font and color to be used for buddies with unread messages.
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
280 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
281 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
282 *
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
283 * @returns A font and color pair.
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
284 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
285 PidginThemeFont *pidgin_blist_theme_get_unread_message_text_info(PidginBlistTheme *theme);
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
286
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
287 /**
25898
dc2584ebaa1a Adding the patch to extend the blist theme to allow coloring of chat nodes with unread messages mentioning your nick.
Paul Aurich <paul@darkrain42.org>
parents: 25122
diff changeset
288 * Returns the text font and color to be used for chats with unread messages
dc2584ebaa1a Adding the patch to extend the blist theme to allow coloring of chat nodes with unread messages mentioning your nick.
Paul Aurich <paul@darkrain42.org>
parents: 25122
diff changeset
289 * that mention your nick.
dc2584ebaa1a Adding the patch to extend the blist theme to allow coloring of chat nodes with unread messages mentioning your nick.
Paul Aurich <paul@darkrain42.org>
parents: 25122
diff changeset
290 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
291 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
292 *
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
293 * @returns A font and color pair.
25898
dc2584ebaa1a Adding the patch to extend the blist theme to allow coloring of chat nodes with unread messages mentioning your nick.
Paul Aurich <paul@darkrain42.org>
parents: 25122
diff changeset
294 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
295 PidginThemeFont *pidgin_blist_theme_get_unread_message_nick_said_text_info(PidginBlistTheme *theme);
25898
dc2584ebaa1a Adding the patch to extend the blist theme to allow coloring of chat nodes with unread messages mentioning your nick.
Paul Aurich <paul@darkrain42.org>
parents: 25122
diff changeset
296
dc2584ebaa1a Adding the patch to extend the blist theme to allow coloring of chat nodes with unread messages mentioning your nick.
Paul Aurich <paul@darkrain42.org>
parents: 25122
diff changeset
297 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
298 * Returns the text font and color to be used for a buddy's status message.
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
299 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
300 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
301 *
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
302 * @returns A font and color pair.
25100
8941e76e0762 flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25099
diff changeset
303 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
304 PidginThemeFont *pidgin_blist_theme_get_status_text_info(PidginBlistTheme *theme);
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
305
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
306 /* Set Methods */
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
307
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
308 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
309 * Sets the background color to be used for this buddy list theme.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
310 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
311 * @param theme The PidginBlist theme.
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
312 * @param color The new background color.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
313 */
26554
548871664d3b PidginBlistTheme now copies all its parameters instead of taking ownership.
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
314 void pidgin_blist_theme_set_background_color(PidginBlistTheme *theme, const GdkColor *color);
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
315
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
316 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
317 * Sets the opacity to be used for this buddy list theme.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
318 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
319 * @param theme The PidginBlist theme.
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
320 * @param opacity The new opacity setting.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
321 */
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
322 void pidgin_blist_theme_set_opacity(PidginBlistTheme *theme, gdouble opacity);
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
323
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
324 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
325 * Sets the buddy list layout to be used for this buddy list theme.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
326 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
327 * @param theme The PidginBlist theme.
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
328 * @param layout The new layout.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
329 */
26554
548871664d3b PidginBlistTheme now copies all its parameters instead of taking ownership.
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
330 void pidgin_blist_theme_set_layout(PidginBlistTheme *theme, const PidginBlistLayout *layout);
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
331
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
332 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
333 * Sets the background color to be used for expanded groups.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
334 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
335 * @param theme The PidginBlist theme.
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
336 * @param color The new background color.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
337 */
26554
548871664d3b PidginBlistTheme now copies all its parameters instead of taking ownership.
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
338 void pidgin_blist_theme_set_expanded_background_color(PidginBlistTheme *theme, const GdkColor *color);
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
339
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
340 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
341 * Sets the text color and font to be used for expanded groups.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
342 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
343 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
344 * @param pair The new text font and color pair.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
345 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
346 void pidgin_blist_theme_set_expanded_text_info(PidginBlistTheme *theme, const PidginThemeFont *pair);
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
347
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
348 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
349 * Sets the background color to be used for collapsed groups.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
350 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
351 * @param theme The PidginBlist theme.
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
352 * @param color The new background color.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
353 */
26554
548871664d3b PidginBlistTheme now copies all its parameters instead of taking ownership.
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
354 void pidgin_blist_theme_set_collapsed_background_color(PidginBlistTheme *theme, const GdkColor *color);
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
355
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
356 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
357 * Sets the text color and font to be used for expanded groups.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
358 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
359 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
360 * @param pair The new text font and color pair.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
361 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
362 void pidgin_blist_theme_set_collapsed_text_info(PidginBlistTheme *theme, const PidginThemeFont *pair);
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
363
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
364 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
365 * Sets the background color to be used for contacts and chats.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
366 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
367 * @param theme The PidginBlist theme.
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
368 * @param color The color to use for contacts and chats.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
369 */
26554
548871664d3b PidginBlistTheme now copies all its parameters instead of taking ownership.
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
370 void pidgin_blist_theme_set_contact_color(PidginBlistTheme *theme, const GdkColor *color);
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
371
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
372 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
373 * Sets the text color and font to be used for expanded contacts.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
374 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
375 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
376 * @param pair The new text font and color pair.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
377 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
378 void pidgin_blist_theme_set_contact_text_info(PidginBlistTheme *theme, const PidginThemeFont *pair);
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
379
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
380 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
381 * Sets the text color and font to be used for online buddies.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
382 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
383 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
384 * @param pair The new text font and color pair.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
385 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
386 void pidgin_blist_theme_set_online_text_info(PidginBlistTheme *theme, const PidginThemeFont *pair);
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
387
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
388 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
389 * Sets the text color and font to be used for away and idle buddies.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
390 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
391 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
392 * @param pair The new text font and color pair.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
393 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
394 void pidgin_blist_theme_set_away_text_info(PidginBlistTheme *theme, const PidginThemeFont *pair);
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
395
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
396 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
397 * Sets the text color and font to be used for offline buddies.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
398 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
399 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
400 * @param pair The new text font and color pair.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
401 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
402 void pidgin_blist_theme_set_offline_text_info(PidginBlistTheme *theme, const PidginThemeFont *pair);
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
403
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
404 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
405 * Sets the text color and font to be used for idle buddies.
25108
06392c8252c0 Added text and font coloring for buddies, contacts and chats, as well as fix a few small bugs
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25106
diff changeset
406 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
407 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
408 * @param pair The new text font and color pair.
25108
06392c8252c0 Added text and font coloring for buddies, contacts and chats, as well as fix a few small bugs
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25106
diff changeset
409 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
410 void pidgin_blist_theme_set_idle_text_info(PidginBlistTheme *theme, const PidginThemeFont *pair);
25108
06392c8252c0 Added text and font coloring for buddies, contacts and chats, as well as fix a few small bugs
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25106
diff changeset
411
06392c8252c0 Added text and font coloring for buddies, contacts and chats, as well as fix a few small bugs
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25106
diff changeset
412 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
413 * Sets the text color and font to be used for buddies with unread messages.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
414 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
415 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
416 * @param pair The new text font and color pair.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
417 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
418 void pidgin_blist_theme_set_unread_message_text_info(PidginBlistTheme *theme, const PidginThemeFont *pair);
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
419
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
420 /**
25898
dc2584ebaa1a Adding the patch to extend the blist theme to allow coloring of chat nodes with unread messages mentioning your nick.
Paul Aurich <paul@darkrain42.org>
parents: 25122
diff changeset
421 * Sets the text color and font to be used for a chat with unread messages
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
422 * that mention your nick.
25898
dc2584ebaa1a Adding the patch to extend the blist theme to allow coloring of chat nodes with unread messages mentioning your nick.
Paul Aurich <paul@darkrain42.org>
parents: 25122
diff changeset
423 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
424 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
425 * @param pair The new text font and color pair.
25898
dc2584ebaa1a Adding the patch to extend the blist theme to allow coloring of chat nodes with unread messages mentioning your nick.
Paul Aurich <paul@darkrain42.org>
parents: 25122
diff changeset
426 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
427 void pidgin_blist_theme_set_unread_message_nick_said_text_info(PidginBlistTheme *theme, const PidginThemeFont *pair);
25898
dc2584ebaa1a Adding the patch to extend the blist theme to allow coloring of chat nodes with unread messages mentioning your nick.
Paul Aurich <paul@darkrain42.org>
parents: 25122
diff changeset
428
dc2584ebaa1a Adding the patch to extend the blist theme to allow coloring of chat nodes with unread messages mentioning your nick.
Paul Aurich <paul@darkrain42.org>
parents: 25122
diff changeset
429 /**
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
430 * Sets the text color and font to be used for buddy status messages.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
431 *
26571
74d62c5fd716 Some doxygen fixes.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26554
diff changeset
432 * @param theme The PidginBlist theme.
26669
b1c8ffbd48f9 Fix more `make docs` warnings
Paul Aurich <paul@darkrain42.org>
parents: 25911
diff changeset
433 * @param pair The new text font and color pair.
25103
edb03a8d54bd Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25102
diff changeset
434 */
26572
f099e7f2739c Several changes:
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26571
diff changeset
435 void pidgin_blist_theme_set_status_text_info(PidginBlistTheme *theme, const PidginThemeFont *pair);
25099
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
436
1242a922a4bc start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff changeset
437 G_END_DECLS
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 25898
diff changeset
438 #endif /* PIDGIN_BLIST_THEME_H */