diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-07-17 20:49:03 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-07-17 20:49:03 +0000 |
| commit | 77465c2629ef63629d69c97a0af60a47a07ce7f5 (patch) | |
| tree | 3d361898d0f29f4b789e52682e0945c741df6cb0 /src/widget/widget_buttonimage.h | |
| parent | b6af4e925f4cf9dd284728e846b99e1de776ec31 (diff) | |
- 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
Diffstat (limited to 'src/widget/widget_buttonimage.h')
| -rw-r--r-- | src/widget/widget_buttonimage.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |