Searched refs:wasPressed (Results 1 – 2 of 2) sorted by relevance
177 bool wasPressed = Value() == B_CONTROL_ON; in MouseDown() local178 _SetFlag(FLAG_WAS_PRESSED, wasPressed); in MouseDown()179 SetValue(wasPressed ? B_CONTROL_OFF : B_CONTROL_ON); in MouseDown()
139 bool wasPressed = fSATKeyPressed; in KeyPressed() local143 if (wasPressed && !fSATKeyPressed) in KeyPressed()145 if (!wasPressed && fSATKeyPressed) in KeyPressed()