OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
header.h
Go to the documentation of this file.
1 /*
2  * mape - C4 Landscape.txt editor
3  *
4  * Copyright (c) 2005-2009, Armin Burgmeier
5  *
6  * Distributed under the terms of the ISC license; see accompanying file
7  * "COPYING" for details.
8  *
9  * "Clonk" is a registered trademark of Matthes Bender, used with permission.
10  * See accompanying file "TRADEMARK" for details.
11  *
12  * To redistribute this file separately, substitute the full license texts
13  * for the above references.
14  */
15 
16 #ifndef INC_MAPE_HEADER_H
17 #define INC_MAPE_HEADER_H
18 
19 #include <gtk/gtk.h>
20 #include "mape/forward.h"
21 
22 struct MapeHeader_ {
23  GtkUIManager* ui_manager;
24  GtkAccelGroup* accel_group;
25 
26  GtkWidget* menubar;
27  GtkWidget* toolbar;
28 
29  GtkActionGroup* group_file;
30  GtkAction* file_new;
31  GtkAction* file_open;
32  GtkAction* file_save;
33  GtkAction* file_save_as;
34  GtkAction* file_quit;
35 
36  GtkActionGroup* group_edit;
37  GtkAction* edit_undo;
38  GtkAction* edit_redo;
39  GtkAction* edit_preferences;
40 
41  GtkActionGroup* group_help;
42  GtkAction* help_about;
43 };
44 
46 void mape_header_destroy(MapeHeader* header);
47 
48 #endif /* INC_MAPE_HEADER_H */
GtkAction * file_save
Definition: header.h:32
GtkAction * edit_preferences
Definition: header.h:39
void mape_header_destroy(MapeHeader *header)
Definition: header.c:274
GtkAction * file_open
Definition: header.h:31
GtkWidget * toolbar
Definition: header.h:27
GtkAction * file_quit
Definition: header.h:34
GtkActionGroup * group_help
Definition: header.h:41
GtkActionGroup * group_edit
Definition: header.h:36
GtkAction * file_save_as
Definition: header.h:33
GtkActionGroup * group_file
Definition: header.h:29
GtkAction * edit_undo
Definition: header.h:37
GtkUIManager * ui_manager
Definition: header.h:23
GtkAccelGroup * accel_group
Definition: header.h:24
MapeHeader * mape_header_new(void)
Definition: header.c:148
GtkWidget * menubar
Definition: header.h:26
GtkAction * file_new
Definition: header.h:30
GtkAction * edit_redo
Definition: header.h:38
GtkAction * help_about
Definition: header.h:42