33 #include "eng3d/ui/widget.hpp"
40 glm::ivec2 start_drag_position;
50 Widget* close_btn =
nullptr;
Window widget, this widget is similar to a Group widget, the key difference is that this one can be m...
void set_close_btn_function(std::function< void(Widget &)> on_click)
Window(int x, int y, unsigned w, unsigned h, Widget *parent=nullptr)
virtual ~Window() override