1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29 #pragma once
30
31 #include "toolkit.h"
32 #include "../ui/toolbar.h"
33 #include "../common/toolbar.h"
34
35 #include <Windows.h>
36 #undef GetCurrentTime
37 #include <winrt/Windows.Foundation.Collections.h>
38 #include <winrt/Windows.UI.Xaml.Interop.h>
39 #include <winrt/Microsoft.UI.Xaml.Controls.h>
40 #include <winrt/Microsoft.UI.Xaml.Controls.Primitives.h>
41 #include <winrt/Microsoft.UI.Xaml.XamlTypeInfo.h>
42 #include <winrt/Microsoft.UI.Xaml.Markup.h>
43
44 winrt::Microsoft::
UI::Xaml::Controls::CommandBar ui_create_toolbar(UiObject *obj, CxList* defaults, bool addappmenu);
45
46 extern "C" int64_t ui_appbar_togglebutton_get(UiInteger * integer);
47 extern "C" void ui_appbar_togglebutton_set(UiInteger * integer,
int64_t value);