Viewports: Minor tweaks. (#2471)

This commit is contained in:
omar
2019-05-08 18:22:56 +02:00
parent 9bf3f910c8
commit 239c8732d7
3 changed files with 11 additions and 8 deletions

View File

@ -748,11 +748,6 @@ struct ImDrawDataBuilder
IMGUI_API void FlattenIntoSingleLayer();
};
enum ImGuiViewportFlagsPrivate_
{
ImGuiViewportFlags_CanHostOtherWindows = 1 << 10 // Normal viewports are associated to a single window. The main viewport can host multiple windows.
};
// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
// Note that every instance of ImGuiViewport is in fact a ImGuiViewportP.
struct ImGuiViewportP : public ImGuiViewport