OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
preview.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_PREVIEW_H
17 #define INC_MAPE_PREVIEW_H
18 
19 #include <gdk-pixbuf/gdk-pixbuf.h>
20 #include <gtk/gtk.h>
21 #include "mape/forward.h"
22 
23 typedef enum MapePreViewError_ {
27 
28 struct MapePreView_ {
29  GtkWidget* frame;
30  GtkWidget* event_box;
31  GtkWidget* image;
32  /*GdkPixbuf* pixbuf;*/
33 
35 };
36 
38  GError** error);
40 
42  GdkPixbuf* pixbuf);
43 
45  MapePreferences* preferences);
46 
47 #endif /* INC_MAPE_PREVIEW_H */
enum MapePreViewError_ MapePreViewError
void mape_pre_view_apply_preferences(MapePreView *view, MapePreferences *preferences)
Definition: preview.c:64
GtkWidget * frame
Definition: preview.h:29
MapeMatTexView * mat_tex
Definition: preview.h:34
MapePreView * mape_pre_view_new(MapeMatTexView *mat_tex, GError **error)
Definition: preview.c:21
MapePreViewError_
Definition: preview.h:23
void mape_pre_view_destroy(MapePreView *view)
Definition: preview.c:47
void mape_pre_view_update(MapePreView *view, GdkPixbuf *pixbuf)
Definition: preview.c:52
GtkWidget * image
Definition: preview.h:31
GtkWidget * event_box
Definition: preview.h:30