Another-Game-Engine / AGE

AGE - C++11 OpenGL4 Game Engine
MIT License
49 stars 11 forks source link

Capture keyboard and mouse for ImGui #598

Open cesarl opened 8 years ago

cesarl commented 8 years ago

Regarde, y a ca dans imgui pour pas que quand on tape des queutrus dans imgui l'engine les interprete lui aussi.

IMGUI_API void          CaptureKeyboardFromApp();                                           // manually enforce imgui setting the io.WantCaptureKeyboard flag next frame (your application needs to handle it). e.g. capture keyboard when your widget is being hovered.
IMGUI_API void          CaptureMouseFromApp();                                              // manually enforce imgui setting the io.WantCaptureMouse flag next frame (your application needs to handle it).