Mercurial > pidgin
annotate src/gtkimhtmltoolbar.h @ 10738:55af3fa46329
[gaim-migrate @ 12340]
Lots of changes here. A lot of it stems from chaning
gaim_account_connect() so that it DOES NOT have the GaimStatus
parameter. It will attempt to use the GaimStatus of your
account from the last time it was connected (which doesn't
work quite right yet).
My goal here was to save and load each account's GaimStatuses
to accounts.xml, so if you were "away" when you signed off then
you'll be "away" when you sign back on. Not quite there yet.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 26 Mar 2005 20:08:43 +0000 |
parents | 5fb5c447eb4f |
children | da0dc44368ba |
rev | line source |
---|---|
8317 | 1 /* |
2 * GtkIMHtmlToolbar | |
3 * | |
4 * Gaim is the legal property of its developers, whose names are too numerous | |
5 * to list here. Please refer to the COPYRIGHT file distributed with this | |
6 * source distribution. | |
7 * | |
8 * This program is free software; you can redistribute it and/or modify | |
9 * under the terms of the GNU General Public License as published by | |
10 * the Free Software Foundation; either version 2 of the License, or | |
11 * (at your option) any later version. | |
12 * | |
13 * This program is distributed in the hope that it will be useful, | |
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 * GNU General Public License for more details. | |
17 * | |
18 * You should have received a copy of the GNU General Public License | |
19 * along with this program; if not, write to the Free Software | |
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
21 * | |
22 */ | |
9713 | 23 #ifndef _GAIM_GTKIMHTMLTOOLBAR_H_ |
24 #define _GAIM_GTKIMHTMLTOOLBAR_H_ | |
8317 | 25 |
26 #include <gtk/gtkvbox.h> | |
27 #include "gtkimhtml.h" | |
28 | |
29 #ifdef __cplusplus | |
30 extern "C" { | |
31 #endif | |
32 | |
10125 | 33 #define DEFAULT_FONT_FACE "Helvetica 12" |
34 | |
8317 | 35 #define GTK_TYPE_IMHTMLTOOLBAR (gtk_imhtmltoolbar_get_type ()) |
36 #define GTK_IMHTMLTOOLBAR(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_IMHTMLTOOLBAR, GtkIMHtmlToolbar)) | |
37 #define GTK_IMHTMLTOOLBAR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_IMHTMLTOOLBAR, GtkIMHtmlToolbarClass)) | |
38 #define GTK_IS_IMHTMLTOOLBAR(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_IMHTMLTOOLBAR)) | |
39 #define GTK_IS_IMHTMLTOOLBAR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IMHTMLTOOLBAR)) | |
40 | |
41 typedef struct _GtkIMHtmlToolbar GtkIMHtmlToolbar; | |
42 typedef struct _GtkIMHtmlToolbarClass GtkIMHtmlToolbarClass; | |
43 | |
44 struct _GtkIMHtmlToolbar { | |
10080 | 45 GtkHBox box; |
8317 | 46 |
47 GtkWidget *imhtml; | |
48 | |
49 GtkTooltips *tooltips; | |
8319
a2c5537a814b
[gaim-migrate @ 9043]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
50 |
8317 | 51 GtkWidget *bold; |
52 GtkWidget *italic; | |
53 GtkWidget *underline; | |
8319
a2c5537a814b
[gaim-migrate @ 9043]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
54 |
8317 | 55 GtkWidget *larger_size; |
56 GtkWidget *normal_size; | |
57 GtkWidget *smaller_size; | |
58 | |
59 GtkWidget *font; | |
60 GtkWidget *fgcolor; | |
61 GtkWidget *bgcolor; | |
62 | |
63 GtkWidget *image; | |
64 GtkWidget *link; | |
65 GtkWidget *smiley; | |
66 GtkWidget *log; | |
67 | |
68 GtkWidget *font_dialog; | |
69 GtkWidget *fgcolor_dialog; | |
70 GtkWidget *bgcolor_dialog; | |
71 GtkWidget *link_dialog; | |
10138 | 72 GtkWidget *smiley_dialog; |
8317 | 73 GtkWidget *image_dialog; |
8427 | 74 |
75 char *sml; | |
8317 | 76 }; |
77 | |
78 struct _GtkIMHtmlToolbarClass { | |
10080 | 79 GtkHBoxClass parent_class; |
8317 | 80 |
81 }; | |
82 | |
8319
a2c5537a814b
[gaim-migrate @ 9043]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
83 GType gtk_imhtmltoolbar_get_type (void); |
8317 | 84 GtkWidget* gtk_imhtmltoolbar_new (void); |
85 | |
86 void gtk_imhtmltoolbar_attach (GtkIMHtmlToolbar *toolbar, GtkWidget *imhtml); | |
8427 | 87 void gtk_imhtmltoolbar_associate_smileys (GtkIMHtmlToolbar *toolbar, const char *proto_id); |
8317 | 88 |
89 | |
90 #ifdef __cplusplus | |
91 } | |
92 #endif | |
93 | |
9713 | 94 #endif /* _GAIM_GTKIMHTMLTOOLBAR_H_ */ |