Mercurial > pidgin
annotate src/convo.h @ 574:0aca48e1baa7
[gaim-migrate @ 584]
smileys wrap more properly now
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 01 Aug 2000 23:50:32 +0000 |
parents | 66fe9f2c26ad |
children | 0b1a132e0f75 |
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 | |
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 | |
502
4d1e39112cbd
[gaim-migrate @ 512]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
472
diff
changeset
|
42 #include "pixmaps/angel.xpm" |
4d1e39112cbd
[gaim-migrate @ 512]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
472
diff
changeset
|
43 #include "pixmaps/bigsmile.xpm" |
4d1e39112cbd
[gaim-migrate @ 512]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
472
diff
changeset
|
44 #include "pixmaps/burp.xpm" |
4d1e39112cbd
[gaim-migrate @ 512]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
472
diff
changeset
|
45 #include "pixmaps/crossedlips.xpm" |
4d1e39112cbd
[gaim-migrate @ 512]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
472
diff
changeset
|
46 #include "pixmaps/cry.xpm" |
4d1e39112cbd
[gaim-migrate @ 512]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
472
diff
changeset
|
47 #include "pixmaps/embarrassed.xpm" |
4d1e39112cbd
[gaim-migrate @ 512]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
472
diff
changeset
|
48 #include "pixmaps/kiss.xpm" |
4d1e39112cbd
[gaim-migrate @ 512]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
472
diff
changeset
|
49 #include "pixmaps/moneymouth.xpm" |
4d1e39112cbd
[gaim-migrate @ 512]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
472
diff
changeset
|
50 #include "pixmaps/sad.xpm" |
4d1e39112cbd
[gaim-migrate @ 512]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
472
diff
changeset
|
51 #include "pixmaps/scream.xpm" |
4d1e39112cbd
[gaim-migrate @ 512]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
472
diff
changeset
|
52 #include "pixmaps/smile.xpm" |
4d1e39112cbd
[gaim-migrate @ 512]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
472
diff
changeset
|
53 #include "pixmaps/smile8.xpm" |
4d1e39112cbd
[gaim-migrate @ 512]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
472
diff
changeset
|
54 #include "pixmaps/think.xpm" |
4d1e39112cbd
[gaim-migrate @ 512]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
472
diff
changeset
|
55 #include "pixmaps/tongue.xpm" |
4d1e39112cbd
[gaim-migrate @ 512]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
472
diff
changeset
|
56 #include "pixmaps/wink.xpm" |
4d1e39112cbd
[gaim-migrate @ 512]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
472
diff
changeset
|
57 #include "pixmaps/yell.xpm" |
551 | 58 #include "pixmaps/luke03.xpm" |
472 | 59 |
60 #include "pixmaps/join.xpm" | |
61 #include "pixmaps/cancel.xpm" | |
62 | |
63 | |
64 /* we declare all of the global functions for chat and IM windows here, so | |
65 * that it's easy to keep them merged. */ | |
66 | |
67 /* chat first */ | |
68 extern void im_callback(GtkWidget *, struct conversation *); | |
69 extern void ignore_callback(GtkWidget *, struct conversation *); | |
70 extern void whisper_callback(GtkWidget *, struct conversation *); | |
71 extern void invite_callback(GtkWidget *, struct conversation *); | |
72 | |
73 /* now IM */ | |
74 extern void warn_callback(GtkWidget *, struct conversation *); | |
75 extern void block_callback(GtkWidget *, struct conversation *); | |
76 extern void add_callback(GtkWidget *, struct conversation *); | |
77 | |
78 /* now both */ | |
79 extern void info_callback(GtkWidget *, struct conversation *); | |
80 extern void do_bold(GtkWidget *, GtkWidget *); | |
81 extern void do_italic(GtkWidget *, GtkWidget *); | |
82 extern void do_underline(GtkWidget *, GtkWidget *); | |
83 extern void do_strike(GtkWidget *, GtkWidget *); | |
84 extern void do_small(GtkWidget *, GtkWidget *); | |
85 extern void do_normal(GtkWidget *, GtkWidget *); | |
86 extern void do_big(GtkWidget *, GtkWidget *); | |
87 extern void toggle_font(GtkWidget *, struct conversation *); | |
88 extern void do_link(GtkWidget *, GtkWidget *); | |
89 extern void toggle_color(GtkWidget *, struct conversation *); | |
90 extern void toggle_loggle(GtkWidget *, struct conversation *); | |
555 | 91 extern void insert_smiley(GtkWidget *, struct conversation *); |
472 | 92 /* sound is handled by set_option */ |
93 extern gboolean keypress_callback(GtkWidget *, GdkEventKey *, struct conversation *); | |
94 | |
95 extern GtkWidget *build_conv_toolbar(struct conversation *); | |
96 | |
97 extern void send_callback(GtkWidget *, struct conversation *); | |
98 extern int close_callback(GtkWidget *, struct conversation *); | |
99 | |
100 extern gboolean meify(char *); | |
101 | |
102 #endif |