libAlgAudio  v1.99-440-g08538e5-dirty
The development library for AlgAudio framework.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AlgAudio::IAlertable Class Referenceabstract

#include <Alertable.hpp>

Inheritance diagram for AlgAudio::IAlertable:
AlgAudio::Window AlgAudio::Console AlgAudio::LaunchConfigWindow AlgAudio::MainWindow

Public Member Functions

virtual LateReturn ShowErrorAlert (std::string message, std::string button_text)=0
 
virtual LateReturn< int > ShowSimpleAlert (std::string message, std::string button1_text, std::string button2_text, AlertType type=AlertType::NONE, Color button1_color=Theme::Get("bg-button-neutral"), Color button2_color=Theme::Get("bg-button-neutral"))=0
 

Member Function Documentation

virtual LateReturn AlgAudio::IAlertable::ShowErrorAlert ( std::string  message,
std::string  button_text 
)
pure virtual

Implemented in AlgAudio::Window, and AlgAudio::MainWindow.

virtual LateReturn<int> AlgAudio::IAlertable::ShowSimpleAlert ( std::string  message,
std::string  button1_text,
std::string  button2_text,
AlertType  type = AlertType::NONE,
Color  button1_color = Theme::Get("bg-button-neutral"),
Color  button2_color = Theme::Get("bg-button-neutral") 
)
pure virtual

Returns 0 if the first button was clicked, 1, if the second.

Implemented in AlgAudio::Window, and AlgAudio::MainWindow.


The documentation for this class was generated from the following file: