aboutsummaryrefslogtreecommitdiff
path: root/src/gui/Widget.cpp
blob: 1dc4d98336920c869f96797f99c5b5958dc3f2f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "../../include/gui/Widget.hpp"

namespace gsr {
    Widget::Widget() {
        
    }

    Widget::~Widget() {
        
    }

    void Widget::set_position(mgl::vec2f position) {
        this->position = position;
    }

    mgl::vec2f Widget::get_position() const {
        return position;
    }
}