1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29 #ifndef UI_IMAGE_H
30 #define UI_IMAGE_H
31
32 #include "toolkit.h"
33
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37
38 UiIcon* ui_icon(
const char *name,
int size);
39 UiIcon* ui_icon_unscaled(
const char *name,
int size);
40 void ui_free_icon(UiIcon *icon);
41
42 UiImage* ui_icon_image(UiIcon *icon);
43 UiImage* ui_image(
const char *filename);
44 UiImage* ui_named_image(
const char *filename,
const char *name);
45 UiImage* ui_load_image_from_path(
const char *path,
const char *name);
46 void ui_free_image(UiImage *img);
47
48
49 #ifdef __cplusplus
50 }
51 #endif
52
53 #endif
54
55