Skip to content
Snippets Groups Projects
Commit dfca728e authored by Joakim Hunskaar's avatar Joakim Hunskaar
Browse files

rollback of getter dimensions because it breaks compability

parent e28c79c7
No related branches found
No related tags found
No related merge requests found
...@@ -120,8 +120,8 @@ class AnimationWindow { ...@@ -120,8 +120,8 @@ class AnimationWindow {
void show_error_dialog(const std::string& message) const; void show_error_dialog(const std::string& message) const;
// Getters for the window dimensions // Getters for the window dimensions
int get_width() const; int width() const;
int get_height() const; int height() const;
void setBackgroundColor(TDT4102::Color newBackgroundColor); void setBackgroundColor(TDT4102::Color newBackgroundColor);
......
...@@ -337,11 +337,11 @@ TDT4102::Point TDT4102::AnimationWindow::getWindowDimensions() const { ...@@ -337,11 +337,11 @@ TDT4102::Point TDT4102::AnimationWindow::getWindowDimensions() const {
return dimensions; return dimensions;
} }
int TDT4102::AnimationWindow::get_width() const { int TDT4102::AnimationWindow::width() const {
return getWindowDimensions().x; return getWindowDimensions().x;
} }
int TDT4102::AnimationWindow::get_height() const { int TDT4102::AnimationWindow::height() const {
return getWindowDimensions().y; return getWindowDimensions().y;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment