summaryrefslogtreecommitdiff
path: root/src/widget/widget_image.h
blob: 85c98d784101f37d6a02e425b1eeb360d0cd50b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

#ifndef WIDGET_IMAGE_H

#define WIDGET_IMAGE_H

#include "base/main.h"
#include "client/interface.h"

typedef struct widget_image
{
	int x, y;
	SDL_Surface *image;
} widget_image_t;

extern widget_image_t* newWidgetImage(int x, int y, SDL_Surface *image);
extern void drawWidgetImage(widget_image_t *p);
extern void eventWidgetImage(widget_image_t *p);
extern void destroyWidgetImage(widget_image_t *p);

#endif