blob: ad7104d8517cc23df7ef25f8c56484690e042b69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef WIDGET_IMAGE_H
#define WIDGET_IMAGE_H
#include "main.h"
#include "interface.h"
#include "widget.h"
typedef struct widget_image {
image_t *image;
} widget_image_t;
extern widget_t *wid_image_new(int x, int y, image_t *image);
extern void wid_image_draw(widget_t *p);
extern void wid_image_event(widget_t *p);
extern void wid_image_destroy(widget_t *p);
#endif /* WIDGET_IMAGE_H */
|