diff options
| author | crupest <crupest@outlook.com> | 2018-10-06 23:49:17 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2018-10-06 23:49:17 +0800 |
| commit | 2261a4bc348a6017a0f31233f969bdf31ae35679 (patch) | |
| tree | ccdc237b84423c9564458df3fae036f08815dda6 /src/ui/control.h | |
| parent | beb6cfa6b3492f5a9d89ba99c03358c22598e7aa (diff) | |
| download | cru-2261a4bc348a6017a0f31233f969bdf31ae35679.tar.gz cru-2261a4bc348a6017a0f31233f969bdf31ae35679.tar.bz2 cru-2261a4bc348a6017a0f31233f969bdf31ae35679.zip | |
Add debug layout visual effects.
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. |
