56 |
56 |
57 #define ui_imageviewer(obj, ...) ui_imageviewer_create(obj, (UiImageViewerArgs){ __VA_ARGS__ } ) |
57 #define ui_imageviewer(obj, ...) ui_imageviewer_create(obj, (UiImageViewerArgs){ __VA_ARGS__ } ) |
58 |
58 |
59 UIEXPORT UIWIDGET ui_imageviewer_create(UiObject *obj, UiImageViewerArgs args); |
59 UIEXPORT UIWIDGET ui_imageviewer_create(UiObject *obj, UiImageViewerArgs args); |
60 |
60 |
61 int ui_image_load_file(UiGeneric *obj, const char *path); |
61 UIEXPORT int ui_image_load_file(UiGeneric *obj, const char *path); |
62 |
62 |
63 #ifdef __cplusplus |
63 #ifdef __cplusplus |
64 } |
64 } |
65 #endif |
65 #endif |
66 |
66 |