Mercurial > pidgin
comparison src/convo.h @ 472:6a92cd7322cc
[gaim-migrate @ 482]
merged chat and IM windows. /me is now in IM, font/color dialogs in chat, and smileys in chat too. also, fixed the GOOD bug. i don't know what kind of crack rob was smoking when he decided O could be eyes.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sun, 09 Jul 2000 23:19:21 +0000 |
parents | |
children | 4d1e39112cbd |
comparison
equal
deleted
inserted
replaced
471:4d0b703a094c | 472:6a92cd7322cc |
---|---|
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 | |
28 #include "pixmaps/underline.xpm" | |
29 #include "pixmaps/bold.xpm" | |
30 #include "pixmaps/italic.xpm" | |
31 #include "pixmaps/small.xpm" | |
32 #include "pixmaps/normal.xpm" | |
33 #include "pixmaps/big.xpm" | |
34 #include "pixmaps/fontface.xpm" | |
35 #include "pixmaps/speaker.xpm" | |
36 /* #include "pixmaps/aimicon2.xpm" */ | |
37 #include "pixmaps/wood.xpm" | |
38 #include "pixmaps/palette.xpm" | |
39 #include "pixmaps/link.xpm" | |
40 #include "pixmaps/strike.xpm" | |
41 | |
42 #include "pixmaps/smile_happy.xpm" | |
43 #include "pixmaps/smile_sad.xpm" | |
44 #include "pixmaps/smile_wink.xpm" | |
45 | |
46 #include "pixmaps/join.xpm" | |
47 #include "pixmaps/cancel.xpm" | |
48 | |
49 | |
50 /* we declare all of the global functions for chat and IM windows here, so | |
51 * that it's easy to keep them merged. */ | |
52 | |
53 /* chat first */ | |
54 extern void im_callback(GtkWidget *, struct conversation *); | |
55 extern void ignore_callback(GtkWidget *, struct conversation *); | |
56 extern void whisper_callback(GtkWidget *, struct conversation *); | |
57 extern void invite_callback(GtkWidget *, struct conversation *); | |
58 | |
59 /* now IM */ | |
60 extern void warn_callback(GtkWidget *, struct conversation *); | |
61 extern void block_callback(GtkWidget *, struct conversation *); | |
62 extern void add_callback(GtkWidget *, struct conversation *); | |
63 | |
64 /* now both */ | |
65 extern void info_callback(GtkWidget *, struct conversation *); | |
66 extern void do_bold(GtkWidget *, GtkWidget *); | |
67 extern void do_italic(GtkWidget *, GtkWidget *); | |
68 extern void do_underline(GtkWidget *, GtkWidget *); | |
69 extern void do_strike(GtkWidget *, GtkWidget *); | |
70 extern void do_small(GtkWidget *, GtkWidget *); | |
71 extern void do_normal(GtkWidget *, GtkWidget *); | |
72 extern void do_big(GtkWidget *, GtkWidget *); | |
73 extern void toggle_font(GtkWidget *, struct conversation *); | |
74 extern void do_link(GtkWidget *, GtkWidget *); | |
75 extern void toggle_color(GtkWidget *, struct conversation *); | |
76 extern void toggle_loggle(GtkWidget *, struct conversation *); | |
77 /* sound is handled by set_option */ | |
78 extern gboolean keypress_callback(GtkWidget *, GdkEventKey *, struct conversation *); | |
79 | |
80 extern GtkWidget *build_conv_toolbar(struct conversation *); | |
81 | |
82 extern void send_callback(GtkWidget *, struct conversation *); | |
83 extern int close_callback(GtkWidget *, struct conversation *); | |
84 | |
85 extern gboolean meify(char *); | |
86 | |
87 #endif |