Mercurial > pidgin
annotate src/convo.h @ 921:d2e865d64dd8
[gaim-migrate @ 931]
bah. maybe i'll get this working for the next release, but i don't think it's possible to get it working.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 16 Sep 2000 00:54:29 +0000 |
parents | 9f2afe5faed5 |
children | fa681641643d |
rev | line source |
---|---|
472 | 1 /* |
2 * gaim | |
3 * | |
4 * Copyright (C) 1998-1999, Mark Spencer <markster@marko.net> | |
5 * | |
6 * This program is free software; you can redistribute it and/or modify | |
7 * it under the terms of the GNU General Public License as published by | |
8 * the Free Software Foundation; either version 2 of the License, or | |
9 * (at your option) any later version. | |
10 * | |
11 * This program is distributed in the hope that it will be useful, | |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 * GNU General Public License for more details. | |
15 * | |
16 * You should have received a copy of the GNU General Public License | |
17 * along with this program; if not, write to the Free Software | |
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
19 * | |
20 */ | |
21 | |
22 #ifndef _GAIMCONVO_H_ | |
23 #define _GAIMCONVO_H_ | |
24 | |
25 #include <gtk/gtk.h> | |
26 #include "gaim.h" | |
27 | |
909
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
907
diff
changeset
|
28 #include "pixmaps/tmp_send.xpm" |
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
907
diff
changeset
|
29 #include "pixmaps/gnome_remove.xpm" |
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
907
diff
changeset
|
30 #include "pixmaps/gnome_add.xpm" |
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
907
diff
changeset
|
31 #include "pixmaps/fgcolor.xpm" |
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
907
diff
changeset
|
32 #include "pixmaps/bgcolor.xpm" |
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
907
diff
changeset
|
33 #include "pixmaps/cancel.xpm" |
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
907
diff
changeset
|
34 #include "pixmaps/warn.xpm" |
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
907
diff
changeset
|
35 #include "pixmaps/tb_search.xpm" |
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
907
diff
changeset
|
36 #include "pixmaps/block.xpm" |
472 | 37 |
38 /* we declare all of the global functions for chat and IM windows here, so | |
39 * that it's easy to keep them merged. */ | |
40 | |
41 /* chat first */ | |
42 extern void im_callback(GtkWidget *, struct conversation *); | |
43 extern void ignore_callback(GtkWidget *, struct conversation *); | |
44 extern void whisper_callback(GtkWidget *, struct conversation *); | |
45 extern void invite_callback(GtkWidget *, struct conversation *); | |
46 | |
47 /* now IM */ | |
48 extern void warn_callback(GtkWidget *, struct conversation *); | |
49 extern void block_callback(GtkWidget *, struct conversation *); | |
50 extern void add_callback(GtkWidget *, struct conversation *); | |
51 | |
52 /* now both */ | |
53 extern void info_callback(GtkWidget *, struct conversation *); | |
54 extern void do_bold(GtkWidget *, GtkWidget *); | |
55 extern void do_italic(GtkWidget *, GtkWidget *); | |
56 extern void do_underline(GtkWidget *, GtkWidget *); | |
57 extern void do_strike(GtkWidget *, GtkWidget *); | |
58 extern void do_small(GtkWidget *, GtkWidget *); | |
59 extern void do_normal(GtkWidget *, GtkWidget *); | |
60 extern void do_big(GtkWidget *, GtkWidget *); | |
61 extern void toggle_font(GtkWidget *, struct conversation *); | |
608 | 62 extern void toggle_link(GtkWidget *, struct conversation *); |
472 | 63 extern void toggle_color(GtkWidget *, struct conversation *); |
64 extern void toggle_loggle(GtkWidget *, struct conversation *); | |
555 | 65 extern void insert_smiley(GtkWidget *, struct conversation *); |
472 | 66 /* sound is handled by set_option */ |
67 extern gboolean keypress_callback(GtkWidget *, GdkEventKey *, struct conversation *); | |
907
08d5037c9296
[gaim-migrate @ 917]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
608
diff
changeset
|
68 extern void check_spelling( GtkEditable *, gchar *, gint, gint *, gpointer); |
08d5037c9296
[gaim-migrate @ 917]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
608
diff
changeset
|
69 extern int entry_key_pressed(GtkWidget *, GtkWidget *); |
472 | 70 |
71 extern GtkWidget *build_conv_toolbar(struct conversation *); | |
72 | |
73 extern void send_callback(GtkWidget *, struct conversation *); | |
74 extern int close_callback(GtkWidget *, struct conversation *); | |
75 | |
76 extern gboolean meify(char *); | |
77 | |
78 #endif |