4 * Pidgin 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
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.
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.
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., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
23 #ifndef _PIDGINIMHTMLTOOLBAR_H_
24 #define _PIDGINIMHTMLTOOLBAR_H_
27 #include "gtkimhtml.h"
33 #define DEFAULT_FONT_FACE "Helvetica 12"
35 #define GTK_TYPE_IMHTMLTOOLBAR (gtk_imhtmltoolbar_get_type())
36 #define GTK_IMHTMLTOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_IMHTMLTOOLBAR, GtkIMHtmlToolbar))
37 #define GTK_IMHTMLTOOLBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_IMHTMLTOOLBAR, GtkIMHtmlToolbarClass))
38 #define GTK_IS_IMHTMLTOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_IMHTMLTOOLBAR))
39 #define GTK_IS_IMHTMLTOOLBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_IMHTMLTOOLBAR))
41 typedef struct _GtkIMHtmlToolbar GtkIMHtmlToolbar
;
42 typedef struct _GtkIMHtmlToolbarClass GtkIMHtmlToolbarClass
;
44 struct _GtkIMHtmlToolbar
{
49 GtkTooltips
*tooltips
;
55 GtkWidget
*larger_size
;
56 GtkWidget
*normal_size
;
57 GtkWidget
*smaller_size
;
69 GtkWidget
*font_dialog
;
70 GtkWidget
*fgcolor_dialog
;
71 GtkWidget
*bgcolor_dialog
;
72 GtkWidget
*link_dialog
;
73 GtkWidget
*smiley_dialog
;
74 GtkWidget
*image_dialog
;
77 GtkWidget
*strikethrough
;
82 struct _GtkIMHtmlToolbarClass
{
83 GtkHBoxClass parent_class
;
87 GType
gtk_imhtmltoolbar_get_type (void);
88 GtkWidget
* gtk_imhtmltoolbar_new (void);
90 void gtk_imhtmltoolbar_attach (GtkIMHtmlToolbar
*toolbar
, GtkWidget
*imhtml
);
91 void gtk_imhtmltoolbar_associate_smileys (GtkIMHtmlToolbar
*toolbar
, const char *proto_id
);
96 void gtk_imhtmltoolbar_switch_active_conversation(GtkIMHtmlToolbar
*toolbar
,
97 PurpleConversation
*conv
);
103 #endif /* _PIDGINIMHTMLTOOLBAR_H_ */