ui/winui/util.h@950d2e38957b
ui/winui/util.h
Sun, 20 Apr 2025 10:56:50 +0200
- author
- Olaf Wintermann <olaf.wintermann@gmail.com>
- date
- Sun, 20 Apr 2025 10:56:50 +0200
- changeset 578
- 950d2e38957b
- parent 250
-
d2068517fbdd
- permissions
- -rw-r--r--
fix ui_image_load_* functions would not set the type to UI_IMAGE_OBJECT_TYPE in case UiGeneric is not bound to an widget
#pragma once
#include <stdlib.h>
wchar_t* str2wstr(const char* str, int* newlen);
wchar_t* str2wstr_len(const char* str, size_t len, int* newlen);
char* wchar2utf8(const wchar_t* wstr, size_t wlen);