Commented samples and shuffled bits of the initialisation based on user's feedback.

This commit is contained in:
ocornut
2014-08-11 15:02:33 +01:00
parent 8ab2942716
commit 86d2c9d232
3 changed files with 88 additions and 74 deletions

View File

@ -381,7 +381,7 @@ struct ImGuiIO
void (*SetClipboardTextFn)(const char* text, const char* text_end); // Required for clipboard support (nb- the string is *NOT* zero-terminated at 'text_end')
// Input - Fill before calling NewFrame()
ImVec2 MousePos; // Mouse position (set to -1,-1 if no mouse / on another screen, etc.)
ImVec2 MousePos; // Mouse position, in pixels (set to -1,-1 if no mouse / on another screen, etc.)
bool MouseDown[2]; // Mouse buttons
int MouseWheel; // Mouse wheel: -1,0,+1
bool KeyCtrl; // Keyboard modifier pressed: Control