OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
fileicon.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_FILEICON_H
17 #define INC_MAPE_FILEICON_H
18 
19 #include <gdk-pixbuf/gdk-pixbuf.h>
20 #include <gtk/gtk.h>
21 
22 #include "mape/forward.h"
23 
24 typedef enum MapeFileIconType_ {
32 
35 
36 struct MapeFileIcon_ {
38  GdkPixbuf* pixbuf;
39 };
40 
43 };
44 
45 MapeFileIconSet* mape_file_icon_set_new(GtkWidget* widget);
47 
49  MapeFileIconType type);
50 
51 GdkPixbuf* mape_file_icon_get(MapeFileIcon* icon);
52 
53 #endif /* INC_MAPE_FILEICON_H */
MapeFileIcon * icons[MAPE_FILE_ICON_COUNT]
Definition: fileicon.h:42
MapeFileIcon * mape_file_icon_set_lookup(MapeFileIconSet *set, MapeFileIconType type)
Definition: fileicon.c:129
MapeFileIconSet * mape_file_icon_set_new(GtkWidget *widget)
Definition: fileicon.c:109
enum MapeFileIconType_ MapeFileIconType
GdkPixbuf * pixbuf
Definition: fileicon.h:38
MapeFileIconType_
Definition: fileicon.h:24
GdkPixbuf * mape_file_icon_get(MapeFileIcon *icon)
Definition: fileicon.c:137
void mape_file_icon_set_destroy(MapeFileIconSet *set)
Definition: fileicon.c:122
MapeFileIconType type
Definition: fileicon.h:37