mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 08:20:30 +02:00
ImGui: Add TTF font support
We use the Roboto font that we're already shipping for now, although, we could also support other fonts or have a setting.
This commit is contained in:
1 parent
32d8b12d47
commit
6dfc5ea9ef
5 files changed
+26
-6
No files matched your search
@@ -399,7 +399,8 @@ void ImDebugger::Frame(MIPSDebugInterface *mipsDebug, GPUDebugInterface *gpuDebu
|
||||
if (ImGui::MenuItem("Close Debugger")) {
|
||||
g_Config.bShowImDebugger = false;
|
||||
}
|
||||
ImGui::MenuItem("Dear ImGUI Demo", nullptr, &cfg_.demoOpen);
|
||||
ImGui::MenuItem("Dear ImGui Demo", nullptr, &cfg_.demoOpen);
|
||||
ImGui::MenuItem("Dear ImGui Style editor", nullptr, &cfg_.styleEditorOpen);
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
ImGui::EndMainMenuBar();
|
||||
@@ -409,6 +410,10 @@ void ImDebugger::Frame(MIPSDebugInterface *mipsDebug, GPUDebugInterface *gpuDebu
|
||||
ImGui::ShowDemoWindow(&cfg_.demoOpen);
|
||||
}
|
||||
|
||||
if (cfg_.styleEditorOpen) {
|
||||
ImGui::ShowStyleEditor();
|
||||
}
|
||||
|
||||
if (cfg_.disasmOpen) {
|
||||
disasm_.Draw(mipsDebug, &cfg_.disasmOpen, coreState);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user