Merge 20a0fde012 Tidying up default clipboard handler for non Windows-OS (from Nav branch)

This commit is contained in:
ocornut
2016-07-30 10:02:46 +02:00
committed by omar
parent 50b3a14d0a
commit 2ad2190d47
2 changed files with 7 additions and 15 deletions

View File

@ -471,7 +471,7 @@ struct ImGuiContext
float DragSpeedScaleFast;
ImVec2 ScrollbarClickDeltaToGrabCenter; // Distance between mouse and center of grab box, normalized in parent space. Use storage?
int TooltipOverrideCount;
char* PrivateClipboard; // If no custom clipboard handler is defined
ImVector<char> PrivateClipboard; // If no custom clipboard handler is defined
ImVec2 OsImePosRequest, OsImePosSet; // Cursor position request & last passed to the OS Input Method Editor
// Logging
@ -541,7 +541,6 @@ struct ImGuiContext
DragSpeedScaleFast = 10.0f;
ScrollbarClickDeltaToGrabCenter = ImVec2(0.0f, 0.0f);
TooltipOverrideCount = 0;
PrivateClipboard = NULL;
OsImePosRequest = OsImePosSet = ImVec2(-1.0f, -1.0f);
ModalWindowDarkeningRatio = 0.0f;