GUI margin and Back button adjustments

This commit is contained in:
Nab
2025-09-07 20:10:50 +02:00
committed by GitHub
parent a996645764
commit 5200ace606
9 changed files with 17 additions and 16 deletions

View File

@@ -326,13 +326,14 @@ void DeveloperToolsScreen::CreateMIPSTracerTab(UI::LinearLayout *list) {
return UI::EVENT_CONTINUE;
});
Button *FlushTrace = list->Add(new Button(dev->T("Flush the trace")));
list->Add(new ItemHeader(dev->T("MIPSTracer actions")));
Choice *FlushTrace = list->Add(new Choice(dev->T("Flush the trace")));
FlushTrace->OnClick.Handle(this, &DeveloperToolsScreen::OnMIPSTracerFlushTrace);
Button *InvalidateJitCache = list->Add(new Button(dev->T("Clear the JIT cache")));
Choice *InvalidateJitCache = list->Add(new Choice(dev->T("Clear the JIT cache")));
InvalidateJitCache->OnClick.Handle(this, &DeveloperToolsScreen::OnMIPSTracerClearJitCache);
Button *ClearMIPSTracer = list->Add(new Button(dev->T("Clear the MIPSTracer")));
Choice *ClearMIPSTracer = list->Add(new Choice(dev->T("Clear the MIPSTracer")));
ClearMIPSTracer->OnClick.Handle(this, &DeveloperToolsScreen::OnMIPSTracerClearTracer);
}