31 #include "../ui/tree.h" |
31 #include "../ui/tree.h" |
32 #include "toolkit.h" |
32 #include "toolkit.h" |
33 |
33 |
34 #include "../ui/container.h" |
34 #include "../ui/container.h" |
35 |
35 |
36 struct UiPathBar { |
|
37 winrt::Microsoft::UI::Xaml::Controls::Grid grid = { nullptr }; |
|
38 winrt::Microsoft::UI::Xaml::Controls::StackPanel buttons = { nullptr }; |
|
39 winrt::Microsoft::UI::Xaml::Controls::TextBox textbox = { nullptr }; |
|
40 |
|
41 UiObject* obj; |
|
42 UiModel* model; |
|
43 ui_getvaluefunc getvalue; |
|
44 ui_callback onactivate; |
|
45 void* onactivatedata; |
|
46 ui_callback ontextinput; |
|
47 void* ontextinputdata; |
|
48 ui_callback ondragstart; |
|
49 void* ondragstartdata; |
|
50 ui_callback ondragcomplete; |
|
51 void* ondragcompletedata; |
|
52 ui_callback ondrop; |
|
53 void* ondropdata; |
|
54 UiBool enabledrag; |
|
55 UiBool enabledrop; |
|
56 }; |
|
57 |
|
58 |
36 |
59 extern "C" void ui_simple_list_update(UiList * list, int i); |
37 extern "C" void ui_simple_list_update(UiList * list, int i); |
60 |
38 |
61 extern "C" void ui_breadcrumbbar_update(UiList * list, int i); |
39 extern "C" void ui_breadcrumbbar_update(UiList * list, int i); |
62 |
40 |