benchmark_toolbox: reorganize tabs

This commit is contained in:
souldbminersmwc
2026-06-11 19:07:14 -04:00
parent 65eb5f8903
commit 319fa2bf8f
5 changed files with 36 additions and 7 deletions

View File

@@ -84,6 +84,11 @@ class Sidebar : public ScrollingFrame
*/
void addItem(std::string label, GenericEvent::Callback focusCallback);
/**
* Adds a non-focusable section header to this sidebar.
*/
void addHeader(std::string label);
/**
* Adds a separator to this sidebar.
*/

View File

@@ -37,6 +37,7 @@ class TabFrame : public AppletFrame
void handleXMLElement(tinyxml2::XMLElement* element) override;
void addTab(std::string label, TabViewCreator creator);
void addHeader(std::string label);
void addSeparator();
static View* create();