From 889efe51b26d505171d132097ac77a14ade5a101 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 30 Mar 2022 16:16:51 +0200 Subject: Initial commit, showing ui above target window --- src/gui/Widget.cpp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/gui/Widget.cpp (limited to 'src/gui/Widget.cpp') diff --git a/src/gui/Widget.cpp b/src/gui/Widget.cpp new file mode 100644 index 0000000..c30c1d1 --- /dev/null +++ b/src/gui/Widget.cpp @@ -0,0 +1,7 @@ +#include "../../include/gui/Widget.hpp" + +namespace gsr { + void Widget::set_position(mgl::vec2f position) { + this->position = position; + } +} \ No newline at end of file -- cgit v1.2.3