From 4a061b0ec71736cda8279bc9f3a7fbb08061dc9c Mon Sep 17 00:00:00 2001 From: bartvbl <bartvblokl@gmail.com> Date: Mon, 24 Feb 2025 11:29:03 +0100 Subject: [PATCH] Header files weren't copied --- .../animationwindow/include/AnimationWindow.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/dependencies/subprojects/animationwindow/include/AnimationWindow.h b/dependencies/subprojects/animationwindow/include/AnimationWindow.h index de19414..e2543ab 100644 --- a/dependencies/subprojects/animationwindow/include/AnimationWindow.h +++ b/dependencies/subprojects/animationwindow/include/AnimationWindow.h @@ -117,14 +117,11 @@ class AnimationWindow { // Add a GUI widget to the window such that it becomes visible and the user can interact with it void add(TDT4102::Widget& widgetToAdd); - // Different dialogs provided by the operating system - void show_message(std::string title, std::string message, TDT4102::MessageType type = TDT4102::MessageType::INFO) const; - bool show_yesno_dialog(std::string title, std::string message, TDT4102::MessageType type = TDT4102::MessageType::QUESTION) const; - void show_notification(std::string title, std::string message, TDT4102::MessageType type = TDT4102::MessageType::INFO) const; - std::filesystem::path show_open_file_dialog(std::string title, std::filesystem::path initialDirectory = std::filesystem::current_path()) const; - std::filesystem::path show_select_directory_dialog(std::string title, std::filesystem::path initialDirectory = std::filesystem::current_path()) const; - std::filesystem::path show_save_file_dialog(std::string title, std::filesystem::path initialDirectory = std::filesystem::current_path()) const; - + // Show an information dialog message to the user + void show_info_dialog(const std::string& message) const; + // Show an alert message to the user + void show_error_dialog(const std::string& message) const; + // Getters for the window dimensions int width() const; int height() const; -- GitLab