Starting work on moving GUI to event system (doesnt compile)
This commit is contained in:
parent
f1a855edc3
commit
ef7dfcef05
69 changed files with 4296 additions and 3709 deletions
16
src/GUIStuff/Elements/PositionAdjustingPopupMenu.hpp
Normal file
16
src/GUIStuff/Elements/PositionAdjustingPopupMenu.hpp
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#pragma once
|
||||
#include "Element.hpp"
|
||||
#include "LayoutElement.hpp"
|
||||
|
||||
namespace GUIStuff {
|
||||
|
||||
class PositionAdjustingPopupMenu : public Element {
|
||||
public:
|
||||
PositionAdjustingPopupMenu(GUIManager& gui);
|
||||
void layout(Vector2f popupPos, const std::function<void()>& innerContent);
|
||||
private:
|
||||
LayoutElement* layoutElement = nullptr;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue