X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fui%2FRecordsPanel.hpp;h=150a7a0d3c4ed3c53fb4200e98cf452f66798f9d;hp=032ad5664d0970b25739b9801d8228d257fe690f;hb=1f8fe0fd81053821f26787e9809cd1a13f747819;hpb=8d3258ace004e89a8cd6b44880b5938c18314401 diff --git a/src/ui/RecordsPanel.hpp b/src/ui/RecordsPanel.hpp index 032ad56..150a7a0 100644 --- a/src/ui/RecordsPanel.hpp +++ b/src/ui/RecordsPanel.hpp @@ -24,12 +24,19 @@ public: public: void Draw(graphics::Viewport &) noexcept; + void Show() noexcept { shown = true; } + void Hide() noexcept { shown = false; } + void Toggle() noexcept { shown = !shown; } + bool Shown() const noexcept { return shown; } + + void ZIndex(float z) noexcept { panel.ZIndex(z); } + private: world::Simulation ∼ - Label *live; std::vector