From 77465c2629ef63629d69c97a0af60a47a07ce7f5 Mon Sep 17 00:00:00 2001 From: oroborus Date: Thu, 17 Jul 2008 20:49:03 +0000 Subject: - opravena chyba, tux mophol pomocou bombballu vybuchnuteho v objekte do ktoreho sa dostal ako duch pridavat itemy - kod namiesto SDL_Surface pouziva moj typ image_t git-svn-id: http://opensvn.csie.org/tuxanci_ng@154 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/widget/widget_buttonimage.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/widget/widget_buttonimage.h') diff --git a/src/widget/widget_buttonimage.h b/src/widget/widget_buttonimage.h index d03423e..e85ce70 100644 --- a/src/widget/widget_buttonimage.h +++ b/src/widget/widget_buttonimage.h @@ -12,11 +12,11 @@ typedef struct widget_buttonimageimage int x, y; int w, h; int active; - SDL_Surface *image; + image_t *image; void (*fce_event)(void *); } widget_buttonimage_t; -extern widget_buttonimage_t* newWidgetButtonimage(SDL_Surface *image, int x, int y, +extern widget_buttonimage_t* newWidgetButtonimage(image_t *image, int x, int y, void (*fce_event)(void *)); extern void drawWidgetButtonimage(widget_buttonimage_t *p); -- cgit v1.2.3