Allow recording while using replay/streaming and option to save 1 min or 10 min

This commit is contained in:
dec05eba
2025-04-23 00:59:17 +02:00
parent 719236d4f4
commit 736f2f3095
9 changed files with 275 additions and 72 deletions

View File

@@ -181,6 +181,10 @@ namespace gsr {
}
void DropdownButton::add_item(const std::string &text, const std::string &id, const std::string &description) {
for(auto &item : items) {
if(item.id == id)
return;
}
items.push_back({mgl::Text(text, *title_font), mgl::Text(description, *description_font), nullptr, id});
dirty = true;
}