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

#ifndef WIDGET_IMAGE_H

#    define WIDGET_IMAGE_H

#    include "main.h"
#    include "interface.h"
#    include "widget.h"

typedef struct widget_image {
	image_t *widget_image;
} widget_image_t;

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

#endif