aboutsummaryrefslogtreecommitdiff
path: root/CruUI/ui/controls/toggle_button.h
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2018-09-19 22:19:52 +0800
committercrupest <crupest@outlook.com>2018-09-19 22:19:52 +0800
commit938391d2e0654bf2f57a67871753a056023e0d2c (patch)
treeba8beba43ce5f59d33113677414bdc329cbaf56e /CruUI/ui/controls/toggle_button.h
parent85bb4d466efeb2540363065d7c0987a9d60f70e9 (diff)
downloadcru-938391d2e0654bf2f57a67871753a056023e0d2c.tar.gz
cru-938391d2e0654bf2f57a67871753a056023e0d2c.tar.bz2
cru-938391d2e0654bf2f57a67871753a056023e0d2c.zip
Rename some event functions.
Diffstat (limited to 'CruUI/ui/controls/toggle_button.h')
-rw-r--r--CruUI/ui/controls/toggle_button.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/CruUI/ui/controls/toggle_button.h b/CruUI/ui/controls/toggle_button.h
index 8668b2c9..d496f21a 100644
--- a/CruUI/ui/controls/toggle_button.h
+++ b/CruUI/ui/controls/toggle_button.h
@@ -47,7 +47,7 @@ namespace cru::ui::controls
Size OnMeasure(const Size& available_size) override;
private:
- void OnToggleInternal(bool new_state);
+ void RaiseToggleEvent(bool new_state);
private:
bool state_ = false;