-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrated to OGRE's built-in DearIMGUI
STATUS: - ogre imgui port: keyboard/mouse input working! - ogre imgui port: FIXME: hacked Renderdash to build, but imgui will likely render into it - how to disable?? - ogre imgui port: builds and runs with default font. - under Debug I get asserts about NewFrame()/EndFrame() mismatches, to be fixed later. CODECHANGES: * imgui deprecated - renamed ImGui::AlignFirstTextHeightToWidgets() to ImGui::AlignTextToFramePadding() * imgui deprecated - ImGui::GetContentRegionAvailWidth() -> use ImGui::GetContentRegionAvail().x * imgui deprecated - GetWindowContentRegionWidth() function. -> 'GetWindowContentRegionMax().x * imgui deprecated - SetScrollHere() -> SetScrollHereX() + SetScollHereY() * imgui deprecated - ImGui::TreeAdvanceToLabelPos() -> use ImGui::SetCursorPosX(ImGui::GetCursorPosX() + ImGui::GetTreeNodeToLabelSpacing()); * imgui deprecated - renamed SetNextTreeNodeOpen() to SetNextItemOpen(). * imgui deprecated - renamed ListBoxHeader(const char* label, ImVec2 size) to BeginListBox(). * imgui deprecated - removed BeginPopupContextWindow(const char*, int mouse_button, bool also_over_items) in favor of BeginPopupContextWindow(const char*, ImGuiPopupFlags flags) with ImGuiPopupFlags_NoOverItems. * imgui deprecated - removed CalcListClipping() function. Prefer using ImGuiListClipper which can return non-contiguous ranges. * imgui deprecated - ImGuiCol_ChildWindowBg -> use ImGuiCol_ChildBg * imgui deprecated - style: renamed ImGuiCol_ModalWindowDarkening to ImGuiCol_ModalWindowDimBg * imgui deprecated - GetItemsLineHeightWithSpacing() -> use GetFrameHeightWithSpacing() * imgui deprecated - InputText: Renamed ImGuiTextEditCallbackData to ImGuiInputTextCallbackData * imgui deprecated - SetNextWindowContentWidth(float w) -> SetNextWindowContentSize(ImVec2(w, 0.0f)) * imgui deprecated - SetNextWindowPosCenter(ImGuiCond c=0) { SetNextWindowPos(GetMainViewport()->GetCenter(), c, ImVec2(0.5f,0.5f)); * ogre imgui port: use public `GetFont()/GetFontSize()` instead of internal `ImGuiContext->Font/FontSize` * VehicleAI panel: `Push/PopItemFlag(Disabled)` (imgui_internal) -> `Begin/EndDisabled()` (public BETA API)
- Loading branch information
Showing
58 changed files
with
277 additions
and
37,965 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.