Crossfire Client, Trunk
info.h
Go to the documentation of this file.
1 /*
2  * char *rcsid_gtk2_info_h =
3  * "$Id$";
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
Info_Pane::bold_tag
GtkTextTag * bold_tag
Definition: info.h:64
Info_Pane::textview
GtkWidget * textview
Definition: info.h:57
MSG_TYPE_LAST
#define MSG_TYPE_LAST
Definition: newclient.h:388
NUM_FONTS
#define NUM_FONTS
Definition: info.h:52
Info_Pane::default_tag
GtkTextTag * default_tag
Definition: info.h:64
Info_Pane::msg_type_tags
GtkTextTag ** msg_type_tags[MSG_TYPE_LAST]
Definition: info.h:65
Info_Pane::italic_tag
GtkTextTag * italic_tag
Definition: info.h:64
Info_Pane::textmark
GtkTextMark * textmark
Definition: info.h:60
Info_Pane
struct Info_Pane Info_Pane
Info_Pane::color_tags
GtkTextTag * color_tags[NUM_COLORS]
Definition: info.h:62
Info_Pane
Definition: info.h:55
Info_Pane::underline_tag
GtkTextTag * underline_tag
Definition: info.h:64
Info_Pane::font_tags
GtkTextTag * font_tags[NUM_FONTS]
Definition: info.h:63
Info_Pane::adjustment
GtkAdjustment * adjustment
Definition: info.h:61
Info_Pane::scrolled_window
GtkWidget * scrolled_window
Definition: info.h:58
Info_Pane::textbuffer
GtkTextBuffer * textbuffer
Definition: info.h:59
newclient.h
NUM_COLORS
#define NUM_COLORS
Definition: main.h:22