]> git.localhorst.tv Git - blobs.git/blob - src/ui/RecordsPanel.hpp
track a few things
[blobs.git] / src / ui / RecordsPanel.hpp
1 #ifndef BLOBS_UI_RECORDSPANEL_HPP_
2 #define BLOBS_UI_RECORDSPANEL_HPP_
3
4 #include "Panel.hpp"
5
6
7 namespace blobs {
8 namespace graphics {
9         class Viewport;
10 }
11 namespace world {
12         class Simulation;
13 }
14 namespace ui {
15
16 class Label;
17
18 class RecordsPanel {
19
20 public:
21         explicit RecordsPanel(world::Simulation &);
22         ~RecordsPanel();
23
24 public:
25         void Draw(graphics::Viewport &) noexcept;
26
27 private:
28         world::Simulation ∼
29         Label *live;
30         std::vector<Label *> records;
31         std::vector<Label *> holders;
32         Panel panel;
33
34 };
35
36 }
37 }
38
39 #endif