diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-11-24 16:03:35 +0800 |
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-11-24 16:03:35 +0800 |
| commit | eb280d0ed73c7b3a410c94f4eb995b23cccb9e6a (patch) | |
| tree | 38ae5316b8f8847d3d1d18607d09d671779883a5 /include/cru/ui/controls/ControlHost.h | |
| parent | cfe37d586d2513e0bfe9e4754a6c08c86773fb0e (diff) | |
| download | cru-eb280d0ed73c7b3a410c94f4eb995b23cccb9e6a.tar.gz cru-eb280d0ed73c7b3a410c94f4eb995b23cccb9e6a.tar.bz2 cru-eb280d0ed73c7b3a410c94f4eb995b23cccb9e6a.zip | |
Add cache logic for layout.
Diffstat (limited to 'include/cru/ui/controls/ControlHost.h')
| -rw-r--r-- | include/cru/ui/controls/ControlHost.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/ui/controls/ControlHost.h b/include/cru/ui/controls/ControlHost.h index a27be835..fffbbb34 100644 --- a/include/cru/ui/controls/ControlHost.h +++ b/include/cru/ui/controls/ControlHost.h @@ -19,8 +19,8 @@ class CRU_UI_API ControlHost : public Object { platform::gui::INativeWindow* GetNativeWindow(); - void InvalidateLayout(); - void InvalidatePaint(); + void ScheduleRepaint(); + void ScheduleRelayout(); void Repaint(); void Relayout(); |
