Crossfire Client, Trunk  R20996
info.h
Go to the documentation of this file.
1 /*
2  * char *rcsid_gtk2_info_h =
3  * "$Id: info.h 12878 2010-04-09 09:27:27Z kbulgrien $";
4  */
5 
6 /*
7  Crossfire client, a client program for the crossfire program.
8 
9  Copyright (C) 2010 Mark Wedel & Crossfire Development Team
10 
11  This program is free software; you can redistribute it and/or modify
12  it under the terms of the GNU General Public License as published by
13  the Free Software Foundation; either version 2 of the License, or
14  (at your option) any later version.
15 
16  This program is distributed in the hope that it will be useful,
17  but WITHOUT ANY WARRANTY; without even the implied warranty of
18  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  GNU General Public License for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with this program; if not, write to the Free Software
23  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 
25  The author can be reached via e-mail to crossfire@metalforge.org
26 */
27 
28 #ifndef INFO_H
29 #define INFO_H
30 
38 #include "shared/newclient.h"
39 
47 #define FONT_NORMAL 0
48 #define FONT_ARCANE 1
49 #define FONT_STRANGE 2
50 #define FONT_FIXED 3
51 #define FONT_HAND 4
52 #define NUM_FONTS 5
53 
54 
55 typedef struct Info_Pane
56 {
57  GtkWidget *textview;
58  GtkWidget *scrolled_window;
59  GtkTextBuffer *textbuffer;
60  GtkTextMark *textmark;
61  GtkAdjustment *adjustment;
62  GtkTextTag *color_tags[NUM_COLORS];
63  GtkTextTag *font_tags[NUM_FONTS];
66 } Info_Pane;
67 
68 #endif
GtkWidget * textview
Definition: info.h:57
struct Info_Pane Info_Pane
GtkTextTag * bold_tag
Definition: info.h:64
GtkTextTag ** msg_type_tags[MSG_TYPE_LAST]
Definition: info.h:65
#define NUM_FONTS
Definition: info.h:52
GtkTextTag * color_tags[NUM_COLORS]
Definition: info.h:62
GtkTextMark * textmark
Definition: info.h:60
GtkTextTag * italic_tag
Definition: info.h:64
GtkTextTag * default_tag
Definition: info.h:64
#define NUM_COLORS
Definition: main.h:19
Definition: info.h:55
GtkTextBuffer * textbuffer
Definition: info.h:59
GtkWidget * scrolled_window
Definition: info.h:58
#define MSG_TYPE_LAST
Definition: newclient.h:396
GtkTextTag * font_tags[NUM_FONTS]
Definition: info.h:63
GtkTextTag * underline_tag
Definition: info.h:64
GtkAdjustment * adjustment
Definition: info.h:61