OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
diskview.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_DISKVIEW_H
17 #define INC_MAPE_DISKVIEW_H
18 
19 #include <gtk/gtk.h>
20 
21 #include "mape/forward.h"
22 #include "mape/group.h"
23 
24 typedef enum MapeDiskViewColumns_ {
28 
31 
32 typedef enum MapeDiskViewError_ {
34 
37 
38 struct MapeDiskView_ {
39  GtkWidget* window;
40  GtkWidget* view;
41 
42  GtkTreeModel* tree_store;
43 
44  GtkCellRenderer* renderer_icon;
45  GtkCellRenderer* renderer_file;
46 
47  GtkTreeViewColumn* col_file;
48 
51 
55 };
56 
58  MapeMatTexView* mat_tex,
59  MapeEditView* edit_view,
60  MapeConfigFile* config,
61  GError** error);
62 void mape_disk_view_destroy(MapeDiskView* disk_view);
63 
65  const gchar* filepath,
66  GError** error);
67 
68 #endif /* INC_MAPE_DISKVIEW_H */
enum MapeDiskViewColumns_ MapeDiskViewColumns
MapeDiskViewError_
Definition: diskview.h:32
enum MapeDiskViewError_ MapeDiskViewError
GtkTreeViewColumn * col_file
Definition: diskview.h:47
MapeDiskViewColumns_
Definition: diskview.h:24
MapeGroup * group_top
Definition: diskview.h:53
GtkCellRenderer * renderer_file
Definition: diskview.h:45
void mape_disk_view_destroy(MapeDiskView *disk_view)
Definition: diskview.c:974
GtkWidget * view
Definition: diskview.h:40
MapeConfigFile * config
Definition: diskview.h:54
GtkCellRenderer * renderer_icon
Definition: diskview.h:44
gboolean mape_disk_view_extend_to_path(MapeDiskView *disk_view, const gchar *filepath, GError **error)
Definition: diskview.c:989
GtkWidget * window
Definition: diskview.h:39
MapeMatTexView * mat_tex
Definition: diskview.h:49
MapeDiskView * mape_disk_view_new(MapeFileIconSet *icon_set, MapeMatTexView *mat_tex, MapeEditView *edit_view, MapeConfigFile *config, GError **error)
Definition: diskview.c:823
GtkTreeModel * tree_store
Definition: diskview.h:42
MapeEditView * edit_view
Definition: diskview.h:50
MapeFileIconSet * icon_set
Definition: diskview.h:52