mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-10 00:28:23 +03:00
feat(ui): add CSimpleSlider::OnLayerHide
This commit is contained in:
2 files changed
+7
No files matched your search
@@ -127,6 +127,12 @@ void CSimpleSlider::LoadXML(XMLNode* node, CStatus* status) {
|
||||
}
|
||||
}
|
||||
|
||||
void CSimpleSlider::OnLayerHide() {
|
||||
this->m_buttonDown = 0;
|
||||
|
||||
this->CSimpleFrame::OnLayerHide();
|
||||
}
|
||||
|
||||
void CSimpleSlider::OnLayerUpdate(float elapsedSec) {
|
||||
this->CSimpleFrame::OnLayerUpdate(elapsedSec);
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@ class CSimpleSlider : public CSimpleFrame {
|
||||
virtual bool IsA(int32_t type);
|
||||
virtual int32_t GetScriptMetaTable();
|
||||
virtual void LoadXML(XMLNode* node, CStatus* status);
|
||||
virtual void OnLayerHide();
|
||||
virtual void OnLayerUpdate(float elapsedSec);
|
||||
|
||||
// Member functions
|
||||
|
||||
Reference in new issue
Block a user