X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fui%2FRecordsPanel.hpp;h=150a7a0d3c4ed3c53fb4200e98cf452f66798f9d;hb=1f8fe0fd81053821f26787e9809cd1a13f747819;hp=032ad5664d0970b25739b9801d8228d257fe690f;hpb=392826deaf802ac0960ed3924a3f98b9d18d381b;p=blobs.git 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