Home
last modified time | relevance | path

Searched refs:STATE_PRESSED (Results 1 – 3 of 3) sorted by relevance

/haiku/src/apps/icon-o-matic/generic/gui/
H A DIconButton.cpp99 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()
[all …]
H A DIconButton.h97 STATE_PRESSED = 0x0002, enumerator
/haiku/src/kits/shared/
H A DIconButton.cpp38 STATE_PRESSED = 0x0002, enumerator
106 if (_HasFlags(STATE_PRESSED) || _HasFlags(STATE_FORCE_PRESSED)) in Draw()
167 _SetFlags(STATE_PRESSED, true); in MouseDown()
170 _SetFlags(STATE_PRESSED, false); in MouseDown()
183 if (IsEnabled() && _HasFlags(STATE_PRESSED) in MouseUp()
189 _SetFlags(STATE_PRESSED, false); in MouseUp()
203 if (!buttons && _HasFlags(STATE_PRESSED)) { in MouseMoved()
213 _SetFlags(STATE_PRESSED, Bounds().Contains(where)); in MouseMoved()
626 _SetFlags(STATE_PRESSED, value != 0); in SetValue()
845 if ((flags & STATE_PRESSED) != 0) in _SetFlags()