ui/winui/util.h

Sun, 28 Jan 2024 09:35:44 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 28 Jan 2024 09:35:44 +0100
branch
newapi
changeset 230
4f5b32a2a60f
parent 224
88bc21b19213
child 250
d2068517fbdd
permissions
-rw-r--r--

add icon parameter for buttons (WinUI3)

180
f34953bf4ac7 add basic winui menu implementation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
1 #pragma once
f34953bf4ac7 add basic winui menu implementation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
2
f34953bf4ac7 add basic winui menu implementation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
3 wchar_t* str2wstr(const char* str, int* newlen);
192
bcacd00ea955 implement textfield (WinUI3)
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 180
diff changeset
4
224
88bc21b19213 add minimal working dnd implementation (WinUI3)
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 192
diff changeset
5 wchar_t* str2wstr_len(const char* str, size_t len, int* newlen);
88bc21b19213 add minimal working dnd implementation (WinUI3)
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 192
diff changeset
6
192
bcacd00ea955 implement textfield (WinUI3)
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 180
diff changeset
7 char* wchar2utf8(const wchar_t* wstr, size_t wlen);

mercurial