aboutsummaryrefslogtreecommitdiff
path: root/src/gui/Widget.cpp
diff options
context:
space:
mode:
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