mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(ui): add CSimpleSlider::OnFrameSizeChanged
This commit is contained in:
parent
18f64ac439
commit
4aa67fc3dc
@ -127,6 +127,13 @@ void CSimpleSlider::LoadXML(XMLNode* node, CStatus* status) {
|
||||
}
|
||||
}
|
||||
|
||||
void CSimpleSlider::OnFrameSizeChanged(const CRect& rect) {
|
||||
this->CSimpleFrame::OnFrameSizeChanged(rect);
|
||||
|
||||
this->m_changed = 1;
|
||||
}
|
||||
|
||||
|
||||
void CSimpleSlider::OnLayerHide() {
|
||||
this->m_buttonDown = 0;
|
||||
|
||||
|
||||
@ -39,6 +39,7 @@ class CSimpleSlider : public CSimpleFrame {
|
||||
virtual int32_t OnLayerTrackUpdate(const CMouseEvent& evt);
|
||||
virtual int32_t OnLayerMouseDown(const CMouseEvent& evt, const char* btn);
|
||||
virtual int32_t OnLayerMouseUp(const CMouseEvent& evt, const char* btn);
|
||||
virtual void OnFrameSizeChanged(const CRect& rect);
|
||||
|
||||
// Member functions
|
||||
CSimpleSlider(CSimpleFrame* parent)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user