ui/winui/util.h

Thu, 22 Feb 2024 22:25:53 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Thu, 22 Feb 2024 22:25:53 +0100
branch
newapi
changeset 269
3380100e20f5
parent 250
d2068517fbdd
permissions
-rw-r--r--

implement listview (GTK)

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
250
d2068517fbdd add function for creating dialogs (WinUI3)
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 224
diff changeset
3 #include <stdlib.h>
d2068517fbdd add function for creating dialogs (WinUI3)
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 224
diff changeset
4
180
f34953bf4ac7 add basic winui menu implementation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
5 wchar_t* str2wstr(const char* str, int* newlen);
192
bcacd00ea955 implement textfield (WinUI3)
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 180
diff changeset
6
224
88bc21b19213 add minimal working dnd implementation (WinUI3)
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 192
diff changeset
7 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
8
192
bcacd00ea955 implement textfield (WinUI3)
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 180
diff changeset
9 char* wchar2utf8(const wchar_t* wstr, size_t wlen);

mercurial