Mercurial > pidgin
annotate src/convo.h @ 538:94ab4e2ea247
[gaim-migrate @ 548]
Hmm
committer: Tailor Script <tailor@pidgin.im>
| author | Rob Flynn <gaim@robflynn.com> |
|---|---|
| date | Thu, 27 Jul 2000 19:01:12 +0000 |
| parents | 4d1e39112cbd |
| children | 33f8d91a9e9c |
| 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" |
| 472 | 58 |
| 59 #include "pixmaps/join.xpm" | |
| 60 #include "pixmaps/cancel.xpm" | |
| 61 | |
| 62 | |
| 63 /* we declare all of the global functions for chat and IM windows here, so | |
| 64 * that it's easy to keep them merged. */ | |
| 65 | |
| 66 /* chat first */ | |
| 67 extern void im_callback(GtkWidget *, struct conversation *); | |
| 68 extern void ignore_callback(GtkWidget *, struct conversation *); | |
| 69 extern void whisper_callback(GtkWidget *, struct conversation *); | |
| 70 extern void invite_callback(GtkWidget *, struct conversation *); | |
| 71 | |
| 72 /* now IM */ | |
| 73 extern void warn_callback(GtkWidget *, struct conversation *); | |
| 74 extern void block_callback(GtkWidget *, struct conversation *); | |
| 75 extern void add_callback(GtkWidget *, struct conversation *); | |
| 76 | |
| 77 /* now both */ | |
| 78 extern void info_callback(GtkWidget *, struct conversation *); | |
| 79 extern void do_bold(GtkWidget *, GtkWidget *); | |
| 80 extern void do_italic(GtkWidget *, GtkWidget *); | |
| 81 extern void do_underline(GtkWidget *, GtkWidget *); | |
| 82 extern void do_strike(GtkWidget *, GtkWidget *); | |
| 83 extern void do_small(GtkWidget *, GtkWidget *); | |
| 84 extern void do_normal(GtkWidget *, GtkWidget *); | |
| 85 extern void do_big(GtkWidget *, GtkWidget *); | |
| 86 extern void toggle_font(GtkWidget *, struct conversation *); | |
| 87 extern void do_link(GtkWidget *, GtkWidget *); | |
| 88 extern void toggle_color(GtkWidget *, struct conversation *); | |
| 89 extern void toggle_loggle(GtkWidget *, struct conversation *); | |
| 90 /* sound is handled by set_option */ | |
| 91 extern gboolean keypress_callback(GtkWidget *, GdkEventKey *, struct conversation *); | |
| 92 | |
| 93 extern GtkWidget *build_conv_toolbar(struct conversation *); | |
| 94 | |
| 95 extern void send_callback(GtkWidget *, struct conversation *); | |
| 96 extern int close_callback(GtkWidget *, struct conversation *); | |
| 97 | |
| 98 extern gboolean meify(char *); | |
| 99 | |
| 100 #endif |
