
02.11.2018, 15:37
|
|
Постоянный
Регистрация: 13.02.2016
Сообщений: 532
С нами:
5392682
Репутация:
93
|
|
Сообщение от _=Gigant=_
i puted this now in Present
Код:
Код:
ImGui::CreateContext();
ImGuiIO& io = ImGui::GetIO();
ImGuiStyle& style = ImGui::GetStyle();
io.IniFilename = NULL;
io.DeltaTime = 1.0f / 60.0f;
ImFont* pFont = io.Fonts->AddFontFromFileTTF("C:\\Windows\\Fonts\\framd.ttf", 15);
SetCursor(io.MouseDrawCursor ? NULL : LoadCursor(NULL, IDC_ARROW));
io.Fonts->AddFontDefault();
style.AntiAliasedLines = false;
style.AntiAliasedFill = false;
style.WindowBorderSize = 0.0f;
ImGui_ImplWin32_Init(GetActiveWindow());
ImGui_ImplDX9_Init(hDestWindowOverride, origIDirect3DDevice9);
It's in mainloop
Сообщение от _=Gigant=_
its not crashing and it draws the imgui mouse SetCursor but its not drawing ImGui::ShowDemoWindow(); or the imgui menu i created above
Connect imgui_demo.cpp
|
|
|