Home
last modified time | relevance | path

Searched refs:wasPressed (Results 1 – 2 of 2) sorted by relevance

/haiku/src/kits/interface/
H A DButton.cpp177 bool wasPressed = Value() == B_CONTROL_ON; in MouseDown() local
178 _SetFlag(FLAG_WAS_PRESSED, wasPressed); in MouseDown()
179 SetValue(wasPressed ? B_CONTROL_OFF : B_CONTROL_ON); in MouseDown()
/haiku/src/servers/app/stackandtile/
H A DStackAndTile.cpp139 bool wasPressed = fSATKeyPressed; in KeyPressed() local
143 if (wasPressed && !fSATKeyPressed) in KeyPressed()
145 if (!wasPressed && fSATKeyPressed) in KeyPressed()