aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-02-10 23:37:38 +0800
committercrupest <crupest@outlook.com>2022-02-10 23:37:38 +0800
commit382d42802221941e24e672743d03e7adcb544f94 (patch)
treecce2a16646c289f66270e61a0b0533764049ceaf /include/cru/ui/controls
parentf65d0502a9f0fc44be0dd79a5f3f31697bb3aad0 (diff)
downloadcru-382d42802221941e24e672743d03e7adcb544f94.tar.gz
cru-382d42802221941e24e672743d03e7adcb544f94.tar.bz2
cru-382d42802221941e24e672743d03e7adcb544f94.zip
...
Diffstat (limited to 'include/cru/ui/controls')
-rw-r--r--include/cru/ui/controls/Control.h1
-rw-r--r--include/cru/ui/controls/StackLayout.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/cru/ui/controls/Control.h b/include/cru/ui/controls/Control.h
index 1d976970..97096e35 100644
--- a/include/cru/ui/controls/Control.h
+++ b/include/cru/ui/controls/Control.h
@@ -2,6 +2,7 @@
#include "../Base.h"
#include "../events/UiEvents.h"
#include "../render/RenderObject.h"
+#include "../style/StyleRuleSet.h"
namespace cru::ui::controls {
diff --git a/include/cru/ui/controls/StackLayout.h b/include/cru/ui/controls/StackLayout.h
index 82826171..cbf35cbe 100644
--- a/include/cru/ui/controls/StackLayout.h
+++ b/include/cru/ui/controls/StackLayout.h
@@ -4,6 +4,8 @@
#include "../render/StackLayoutRenderObject.h"
namespace cru::ui::controls {
+using render::StackChildLayoutData;
+
class CRU_UI_API StackLayout
: public LayoutControl<render::StackLayoutRenderObject> {
public: