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_MATTEXVIEW_H 17 #define INC_MAPE_MATTEXVIEW_H 18 19 #include <gtk/gtk.h> 20 21 #include "mape/forward.h" 22 #include "mape/group.h" 23 #include "mape/material.h" 24 #include "mape/texture.h" 25 26 struct MapeMatTexView_ { 27 GtkWidget* notebook; 28 29 MapeIconView* view_mat; 30 MapeIconView* view_tex; 31 32 MapeMaterialMap* mat_map; 33 MapeTextureMap* tex_map; 34 35 MapeFileIconSet* icon_set; 36 }; 37 38 MapeMatTexView* mape_mat_tex_view_new(MapeFileIconSet* icon_set, 39 GError** error); 40 void mape_mat_tex_view_destroy(MapeMatTexView* view); 41 42 gboolean mape_mat_tex_view_reload(MapeMatTexView* view, 43 MapeTextureMap* new_tex_map, 44 MapeGroup* base_group, 45 gboolean overload_materials, 46 gboolean overload_textures, 47 MapeGroup* overload_from, 48 GError** error); 49 50 #endif /* INC_MAPE_MATTEXVIEW_H */ 51