16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 10:29:19 +02:00

semaphores controllable on minimap

This commit is contained in:
milek7
2019-03-02 14:32:39 +01:00
parent 2d66192c9a
commit 1f0d8c4dc8
26 changed files with 678 additions and 315 deletions

View File

@@ -12,6 +12,7 @@ http://mozilla.org/MPL/2.0/.
#include <string>
#include "Texture.h"
#include "translation.h"
#include "widgets/popup.h"
// GuiLayer -- basic user interface class. draws requested information on top of openGL screen
@@ -48,10 +49,12 @@ public:
int window_flags = -1;
const std::string& get_name() { return name; }
void register_popup(std::unique_ptr<ui::popup> &&popup);
protected:
// members
std::string name;
std::list<std::unique_ptr<ui::popup>> popups;
};
class ui_expandable_panel : public ui_panel {