Created
January 31, 2018 12:46
-
-
Save kungfooman/946f303609d2ef16b74b8be8f0174fe9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ImGui::SetNextWindowPos( ImVec2(0,0) ); | |
ImGui::SetNextWindowSize(io.DisplaySize); // this used to work, but not in latest imgui version... need to call SetWindowSize() now | |
ImGui::Begin("BCKGND", NULL, ImGui::GetIO().DisplaySize, 0.0, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoScrollWithMouse | ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_NoInputs | ImGuiWindowFlags_NoFocusOnAppearing | ImGuiWindowFlags_NoBringToFrontOnFocus); | |
//ImGuiWindow *bgwin = ImGui::GetCurrentWindow(); | |
if (false) // comment out = work | |
ImGui::SetWindowSize(io.DisplaySize); | |
ImDrawList *drawlist = ImGui::GetWindowDrawList(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment