| 984:2cf5e6d55013 | 985:93f07ccfd997 |
|---|---|
| 29 #define UIC_UTILS_H | 29 #define UIC_UTILS_H |
| 30 | 30 |
| 31 #include "../ui/toolkit.h" | 31 #include "../ui/toolkit.h" |
| 32 #include "../ui/text.h" | 32 #include "../ui/text.h" |
| 33 | 33 |
| 34 #include <cx/string.h> | |
| 35 | |
| 34 #ifdef __cplusplus | 36 #ifdef __cplusplus |
| 35 extern "C" { | 37 extern "C" { |
| 36 #endif | 38 #endif |
| 37 | 39 |
| 38 UiPathElm* ui_default_pathelm_func(const char* full_path, size_t len, size_t* ret_nelm, void* data); | 40 UiPathElm* ui_default_pathelm_func(const char* full_path, size_t len, size_t* ret_nelm, void* data); |
| 41 * overrides width/height with values from | 43 * overrides width/height with values from |
| 42 * ui.window.width and ui.window.height properties if available | 44 * ui.window.width and ui.window.height properties if available |
| 43 */ | 45 */ |
| 44 void ui_get_window_default_width(int *width, int *height); | 46 void ui_get_window_default_width(int *width, int *height); |
| 45 | 47 |
| 48 cxmutstr ui_escape_string(cxstring str); | |
| 49 | |
| 46 | 50 |
| 47 #ifdef __cplusplus | 51 #ifdef __cplusplus |
| 48 } | 52 } |
| 49 #endif | 53 #endif |
| 50 | 54 |