Esempio n. 1
0
	void Button::mouseReleased(const event::MouseEvent& e)
	{
		if(e.getButton() == event::MouseEvent::MOUSE_BUTTON2)
		{
			setSelected(false);
		}
	}
Esempio n. 2
0
	void Button::mousePressed(const event::MouseEvent& e)
	{
		if(e.getButton() == event::MouseEvent::MOUSE_BUTTON2)
		{
			setSelected(true);
		}
	}