Skip to content
Snippets Groups Projects
Commit 4a061b0e authored by bartvbl's avatar bartvbl
Browse files

Header files weren't copied

parent 7161dbff
No related branches found
No related tags found
No related merge requests found
...@@ -117,13 +117,10 @@ class AnimationWindow { ...@@ -117,13 +117,10 @@ class AnimationWindow {
// Add a GUI widget to the window such that it becomes visible and the user can interact with it // Add a GUI widget to the window such that it becomes visible and the user can interact with it
void add(TDT4102::Widget& widgetToAdd); void add(TDT4102::Widget& widgetToAdd);
// Different dialogs provided by the operating system // Show an information dialog message to the user
void show_message(std::string title, std::string message, TDT4102::MessageType type = TDT4102::MessageType::INFO) const; void show_info_dialog(const std::string& message) const;
bool show_yesno_dialog(std::string title, std::string message, TDT4102::MessageType type = TDT4102::MessageType::QUESTION) const; // Show an alert message to the user
void show_notification(std::string title, std::string message, TDT4102::MessageType type = TDT4102::MessageType::INFO) const; void show_error_dialog(const std::string& message) 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;
// Getters for the window dimensions // Getters for the window dimensions
int width() const; int width() const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment