Mon, 29 Jan 2024 12:19:21 +0100
fix wrong menu item list label string used
205
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
1 | // Copyright (c) Microsoft Corporation and Contributors. |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
2 | // Licensed under the MIT License. |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
3 | |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
4 | #pragma once |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
5 | #include <windows.h> |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
6 | #include <unknwn.h> |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
7 | #include <restrictederrorinfo.h> |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
8 | #include <hstring.h> |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
9 | |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
10 | // Undefine GetCurrentTime macro to prevent |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
11 | // conflict with Storyboard::GetCurrentTime |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
12 | #undef GetCurrentTime |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
13 | |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
14 | #include <winrt/Windows.Foundation.h> |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
15 | #include <winrt/Windows.Foundation.Collections.h> |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
16 | #include <winrt/Windows.ApplicationModel.Activation.h> |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
17 | #include <winrt/Microsoft.UI.Composition.h> |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
18 | #include <winrt/Microsoft.UI.Xaml.h> |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
19 | #include <winrt/Microsoft.UI.Xaml.Controls.h> |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
20 | #include <winrt/Microsoft.UI.Xaml.Controls.Primitives.h> |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
21 | #include <winrt/Microsoft.UI.Xaml.Data.h> |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
22 | #include <winrt/Microsoft.UI.Xaml.Interop.h> |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
23 | #include <winrt/Microsoft.UI.Xaml.Markup.h> |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
24 | #include <winrt/Microsoft.UI.Xaml.Media.h> |
216
391c2c723029
add dll icon loader
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
205
diff
changeset
|
25 | #include <winrt/Microsoft.UI.Xaml.Media.Imaging.h> |
205
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
26 | #include <winrt/Microsoft.UI.Xaml.Navigation.h> |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
27 | #include <winrt/Microsoft.UI.Xaml.Shapes.h> |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
28 | #include <winrt/Microsoft.UI.Xaml.XamlTypeInfo.h> |
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
29 | #include <winrt/Microsoft.UI.Dispatching.h> |
224
88bc21b19213
add minimal working dnd implementation (WinUI3)
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
216
diff
changeset
|
30 | #include <winrt/Windows.ApplicationModel.DataTransfer.h> |
205
b1ac0dd1d38b
new winui vs project, add toolbar
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
31 | #include <wil/cppwinrt_helpers.h> |
225
097f45f9c1fa
add new path textfield (WinUI3)
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
224
diff
changeset
|
32 | #include <winrt/Microsoft.UI.Xaml.Input.h> |
227
04b317bc6f13
make table columns resizable
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
225
diff
changeset
|
33 | #include <winrt/Microsoft.UI.Input.h> |
225
097f45f9c1fa
add new path textfield (WinUI3)
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
224
diff
changeset
|
34 | #include <winrt/Windows.UI.Core.h> |
097f45f9c1fa
add new path textfield (WinUI3)
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
224
diff
changeset
|
35 | #include <winrt/Windows.ApplicationModel.h> |
234
9036b346cd66
implement ui_job() and add ui_call_mainthread (WinUI3)
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
227
diff
changeset
|
36 | #include <winrt\Microsoft.UI.Dispatching.h> |
216
391c2c723029
add dll icon loader
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
205
diff
changeset
|
37 | |
227
04b317bc6f13
make table columns resizable
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
225
diff
changeset
|
38 | |
216
391c2c723029
add dll icon loader
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
205
diff
changeset
|
39 | #include <winrt/Windows.Storage.Streams.h> |