Lines Matching refs:STATE_PRESSED
99 if (_HasFlags(STATE_PRESSED) || _HasFlags(STATE_FORCE_PRESSED)) { in Draw()
120 if (_HasFlags(STATE_PRESSED) || _HasFlags(STATE_FORCE_PRESSED)) in Draw()
135 if (_HasFlags(STATE_PRESSED) || _HasFlags(STATE_FORCE_PRESSED)) in Draw()
173 _AddFlags(STATE_PRESSED | STATE_TRACKING); in MouseDown()
175 _ClearFlags(STATE_PRESSED | STATE_TRACKING); in MouseDown()
187 if (_HasFlags(STATE_ENABLED) && _HasFlags(STATE_PRESSED) && Bounds().Contains(where)) in MouseUp()
191 _ClearFlags(STATE_PRESSED | STATE_TRACKING); in MouseUp()
204 if (!buttons && _HasFlags(STATE_PRESSED)) { in MouseMoved()
217 _AddFlags(STATE_PRESSED); in MouseMoved()
219 _ClearFlags(STATE_PRESSED); in MouseMoved()
546 return _HasFlags(STATE_PRESSED) ? B_CONTROL_ON : B_CONTROL_OFF; in Value()
554 _AddFlags(STATE_PRESSED); in SetValue()
556 _ClearFlags(STATE_PRESSED); in SetValue()