mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-12-05 03:16:41 -08:00
imgui: migrate to new event-based IO (#604)
## Link to GitHub Issue or related Pull Request, if one exists #287 ## Description of change Switch over to new event-based I/O system in ImGui so that we can keep up with ImGui updates. Unlike #287, this change does not modify how mouse position is handled. That continues to be supported by newer versions of ImGui. ## Testing wip
This commit is contained in:
1 parent
b1ee828457
commit
5af3e0d494
5 files changed
+431
-244
No files matched your search
@@ -40,13 +40,17 @@ namespace overlay::windows {
|
||||
ImGui::Dummy(ImVec2(12, 0));
|
||||
|
||||
ImGui::SameLine();
|
||||
ImGui::PushID("P1");
|
||||
this->draw_buttons(0);
|
||||
ImGui::PopID();
|
||||
|
||||
ImGui::SameLine();
|
||||
ImGui::Dummy(ImVec2(12, 0));
|
||||
|
||||
ImGui::SameLine();
|
||||
ImGui::PushID("P2");
|
||||
this->draw_buttons(1);
|
||||
ImGui::PopID();
|
||||
}
|
||||
|
||||
void DDRIOPanel::draw_buttons(const int p) {
|
||||
|
||||
Reference in new issue
Block a user