diff options
| author | Yuqian Yang <crupest@outlook.com> | 2018-10-06 15:51:36 +0000 |
|---|---|---|
| committer | Yuqian Yang <crupest@outlook.com> | 2018-10-06 15:51:36 +0000 |
| commit | b0057dc911f96258c7280b89c8f4da828ecc283c (patch) | |
| tree | ccdc237b84423c9564458df3fae036f08815dda6 /src/ui/control.h | |
| parent | 7e870dd16e2f5b41fa6c6f687723aaa50c16274d (diff) | |
| parent | 2261a4bc348a6017a0f31233f969bdf31ae35679 (diff) | |
| download | cru-b0057dc911f96258c7280b89c8f4da828ecc283c.tar.gz cru-b0057dc911f96258c7280b89c8f4da828ecc283c.tar.bz2 cru-b0057dc911f96258c7280b89c8f4da828ecc283c.zip | |
Merge branch '13-debug-layout' into 'master'
Resolve "Add debug layout visual effect."
Closes #13
See merge request crupest/CruUI!13
Diffstat (limited to 'src/ui/control.h')
| -rw-r--r-- | src/ui/control.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/control.h b/src/ui/control.h index 18ca4b69..b2321e2b 100644 --- a/src/ui/control.h +++ b/src/ui/control.h @@ -399,6 +399,11 @@ namespace cru std::unordered_map<String, std::any> additional_properties_{}; bool is_focus_on_pressed_ = true; + +#ifdef CRU_DEBUG_LAYOUT + Microsoft::WRL::ComPtr<ID2D1Geometry> margin_geometry_; + Microsoft::WRL::ComPtr<ID2D1Geometry> padding_geometry_; +#endif }; // Find the lowest common ancestor. |
