aboutsummaryrefslogtreecommitdiff
path: root/CruUI/ui/controls/toggle_button.h
diff options
context:
space:
mode:
Diffstat (limited to 'CruUI/ui/controls/toggle_button.h')
-rw-r--r--CruUI/ui/controls/toggle_button.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/CruUI/ui/controls/toggle_button.h b/CruUI/ui/controls/toggle_button.h
index d2e49473..8668b2c9 100644
--- a/CruUI/ui/controls/toggle_button.h
+++ b/CruUI/ui/controls/toggle_button.h
@@ -52,6 +52,8 @@ namespace cru::ui::controls
private:
bool state_ = false;
+ float current_circle_position_;
+
Microsoft::WRL::ComPtr<ID2D1RoundedRectangleGeometry> frame_path_;
Microsoft::WRL::ComPtr<ID2D1Brush> on_brush_;
Microsoft::WRL::ComPtr<ID2D1Brush> off_brush_;