Tweak comments following feedbacks.

This commit is contained in:
ocornut 2014-09-24 14:12:51 +01:00
parent 6e039c8b7d
commit d58a029285

View File

@ -431,8 +431,8 @@ struct ImGuiIO
char InputCharacters[16]; // List of characters input (translated by user from keypress+keyboard state). Fill using AddInputCharacter() helper. char InputCharacters[16]; // List of characters input (translated by user from keypress+keyboard state). Fill using AddInputCharacter() helper.
// Output - Retrieve after calling NewFrame(), you can use them to discard inputs or hide them from the rest of your application // Output - Retrieve after calling NewFrame(), you can use them to discard inputs or hide them from the rest of your application
bool WantCaptureMouse; // ImGui is using your mouse input (= window is being hovered or widget is active). bool WantCaptureMouse; // Mouse is hovering a window or widget is active (= ImGui will use your mouse input)
bool WantCaptureKeyboard; // imGui is using your keyboard input (= widget is active). bool WantCaptureKeyboard; // Widget is active (= ImGui will use your keyboard input)
// Function // Function
void AddInputCharacter(char c); // Helper to add a new character into InputCharacters[] void AddInputCharacter(char c); // Helper to add a new character into InputCharacters[]