aboutsummaryrefslogtreecommitdiff
path: root/src/gui/Widget.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-03-30 16:16:51 +0200
committerdec05eba <dec05eba@protonmail.com>2022-03-30 16:16:51 +0200
commit889efe51b26d505171d132097ac77a14ade5a101 (patch)
tree0a4233cdb4270a3c2ab54184f43b7344eb660a5b /src/gui/Widget.cpp
parent44b986c762815874ccfb636152ae452ecba48764 (diff)
Initial commit, showing ui above target window
Diffstat (limited to 'src/gui/Widget.cpp')
-rw-r--r--src/gui/Widget.cpp7
1 files changed, 7 insertions, 0 deletions
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