/* * mape - C4 Landscape.txt editor * * Copyright (c) 2005-2009, Armin Burgmeier * * Distributed under the terms of the ISC license; see accompanying file * "COPYING" for details. * * "Clonk" is a registered trademark of Matthes Bender, used with permission. * See accompanying file "TRADEMARK" for details. * * To redistribute this file separately, substitute the full license texts * for the above references. */ #ifndef INC_MAPE_PREVIEW_H #define INC_MAPE_PREVIEW_H #include #include #include "mape/forward.h" typedef enum MapePreViewError_ { MAPE_PRE_VIEW_ERROR_MISSING_MAPS, MAPE_PRE_VIEW_ERROR_FAILED } MapePreViewError; struct MapePreView_ { GtkWidget* frame; GtkWidget* event_box; GtkWidget* image; /*GdkPixbuf* pixbuf;*/ MapeMatTexView* mat_tex; }; MapePreView* mape_pre_view_new(MapeMatTexView* mat_tex, GError** error); void mape_pre_view_destroy(MapePreView* view); void mape_pre_view_update(MapePreView* view, GdkPixbuf* pixbuf); void mape_pre_view_apply_preferences(MapePreView* view, MapePreferences* preferences); #endif /* INC_MAPE_PREVIEW_H */