mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 16:22:45 +03:00
feat(ui): add CSimpleSlider::OnLayerHide
This commit is contained in:
parent
6ab79e612e
commit
c2e1bd19b8
@ -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) {
|
void CSimpleSlider::OnLayerUpdate(float elapsedSec) {
|
||||||
this->CSimpleFrame::OnLayerUpdate(elapsedSec);
|
this->CSimpleFrame::OnLayerUpdate(elapsedSec);
|
||||||
|
|
||||||
|
|||||||
@ -33,6 +33,7 @@ class CSimpleSlider : public CSimpleFrame {
|
|||||||
virtual bool IsA(int32_t type);
|
virtual bool IsA(int32_t type);
|
||||||
virtual int32_t GetScriptMetaTable();
|
virtual int32_t GetScriptMetaTable();
|
||||||
virtual void LoadXML(XMLNode* node, CStatus* status);
|
virtual void LoadXML(XMLNode* node, CStatus* status);
|
||||||
|
virtual void OnLayerHide();
|
||||||
virtual void OnLayerUpdate(float elapsedSec);
|
virtual void OnLayerUpdate(float elapsedSec);
|
||||||
|
|
||||||
// Member functions
|
// Member functions
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user