summaryrefslogtreecommitdiff
path: root/src/widget/widget_button.c
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-17 20:49:03 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-17 20:49:03 +0000
commit77465c2629ef63629d69c97a0af60a47a07ce7f5 (patch)
tree3d361898d0f29f4b789e52682e0945c741df6cb0 /src/widget/widget_button.c
parentb6af4e925f4cf9dd284728e846b99e1de776ec31 (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_button.c')
-rw-r--r--src/widget/widget_button.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widget/widget_button.c b/src/widget/widget_button.c
index 0bdab86..4cff900 100644
--- a/src/widget/widget_button.c
+++ b/src/widget/widget_button.c
@@ -25,8 +25,8 @@ widget_button_t* newWidgetButton(char *text, int x, int y, void (*fce_event)(voi
void drawWidgetButton(widget_button_t *p)
{
- static SDL_Surface *g_button0 = NULL;
- static SDL_Surface *g_button1 = NULL;
+ static image_t *g_button0 = NULL;
+ static image_t *g_button1 = NULL;
int x, y;
getMousePosition(&x, &y);