ui/winui/util.h

Thu, 03 Oct 2024 11:42:14 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Thu, 03 Oct 2024 11:42:14 +0200
branch
newapi
changeset 320
be224cf1f50e
parent 250
d2068517fbdd
permissions
-rw-r--r--

add alternative ui_dialog implementation for libadwaita

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