Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - gingger

Pages: [1]
1
General / keyboard events
« on: January 06, 2018, 08:53:02 am »
 i just want to when you pres the exit button or press esc the window closes.
         // help here // i wont it to close the program when you pres the escape key
         if (event.type == sf::Event::Closed || event.type == sf::Event::EventType::KeyPressed Escape)
   

Pages: [1]