ui/ui/image.h

branch
newapi
changeset 215
1bd5534c395d
parent 146
dd0ae1c62a72
equal deleted inserted replaced
214:279c0c81d3b1 215:1bd5534c395d
33 33
34 #ifdef __cplusplus 34 #ifdef __cplusplus
35 extern "C" { 35 extern "C" {
36 #endif 36 #endif
37 37
38 /*
39 UIEXPORT UiIcon* ui_icon(const char* name, size_t size);
40 UIEXPORT UiIcon* ui_imageicon(const char* file);
41 UIEXPORT void ui_icon_free(UiIcon* icon);
42 */
43
44 /*
38 UiIcon* ui_icon(const char *name, int size); 45 UiIcon* ui_icon(const char *name, int size);
39 UiIcon* ui_icon_unscaled(const char *name, int size); 46 UiIcon* ui_icon_unscaled(const char *name, int size);
40 void ui_free_icon(UiIcon *icon); 47 void ui_free_icon(UiIcon *icon);
41 48
42 UiImage* ui_icon_image(UiIcon *icon); 49 UiImage* ui_icon_image(UiIcon *icon);
43 UiImage* ui_image(const char *filename); 50 UiImage* ui_image(const char *filename);
44 UiImage* ui_named_image(const char *filename, const char *name); 51 UiImage* ui_named_image(const char *filename, const char *name);
45 UiImage* ui_load_image_from_path(const char *path, const char *name); 52 UiImage* ui_load_image_from_path(const char *path, const char *name);
46 void ui_free_image(UiImage *img); 53 void ui_free_image(UiImage *img);
54 */
47 55
48 56
49 #ifdef __cplusplus 57 #ifdef __cplusplus
50 } 58 }
51 #endif 59 #endif

mercurial