Introduce separators in drawList

This commit is contained in:
jpirnay
2026-04-09 16:49:28 +02:00
parent 64b6818eeb
commit c4424dfe1c
7 changed files with 169 additions and 3 deletions
+2
View File
@@ -121,6 +121,8 @@ class BaseTheme {
const std::function<UIIcon(int index)>& rowIcon = nullptr,
const std::function<std::string(int index)>& rowValue = nullptr,
bool highlightValue = false) const;
virtual void drawListSeparator(const GfxRenderer& renderer, Rect rowRect, int textX, int textWidth,
const std::string& title) const;
virtual void drawHeader(const GfxRenderer& renderer, Rect rect, const char* title,
const char* subtitle = nullptr) const;
virtual void drawSubHeader(const GfxRenderer& renderer, Rect rect, const char* label,