Step 181: enhanced status bar
This commit is contained in:
@@ -94,6 +94,11 @@ public:
|
||||
return history;
|
||||
}
|
||||
|
||||
const Notification* latest() const {
|
||||
if (history.empty()) return nullptr;
|
||||
return &history.back();
|
||||
}
|
||||
|
||||
void renderToasts(const std::function<void(const Notification&)>& onNavigate = {},
|
||||
bool reduceMotion = false) {
|
||||
const double now = ImGui::GetTime();
|
||||
|
||||
Reference in New Issue
Block a user