diff --git a/dependencies/subprojects/animationwindow/include/AnimationWindow.h b/dependencies/subprojects/animationwindow/include/AnimationWindow.h index 89d692cf880a166c580d3507e4be23b81ddfebe1..c9211b7bc98a8c81e088d3a3b027e752992f38c6 100644 --- a/dependencies/subprojects/animationwindow/include/AnimationWindow.h +++ b/dependencies/subprojects/animationwindow/include/AnimationWindow.h @@ -120,8 +120,8 @@ class AnimationWindow { void show_error_dialog(const std::string& message) const; // Getters for the window dimensions - int get_width() const; - int get_height() const; + int width() const; + int height() const; void setBackgroundColor(TDT4102::Color newBackgroundColor); diff --git a/dependencies/subprojects/animationwindow/src/AnimationWindow.cpp b/dependencies/subprojects/animationwindow/src/AnimationWindow.cpp index cea352b737acaa7b5b071492aeeadf09405eaf0d..9ab25680b1327ae948a94f639e0d3f1926d85d1c 100644 --- a/dependencies/subprojects/animationwindow/src/AnimationWindow.cpp +++ b/dependencies/subprojects/animationwindow/src/AnimationWindow.cpp @@ -337,11 +337,11 @@ TDT4102::Point TDT4102::AnimationWindow::getWindowDimensions() const { return dimensions; } -int TDT4102::AnimationWindow::get_width() const { +int TDT4102::AnimationWindow::width() const { return getWindowDimensions().x; } -int TDT4102::AnimationWindow::get_height() const { +int TDT4102::AnimationWindow::height() const { return getWindowDimensions().y; }