This commit is contained in:
ChristianVisintin
2020-11-25 12:05:36 +01:00
parent 4938613c18
commit 2e45c8adae

View File

@@ -91,11 +91,11 @@ enum DialogYesNoOption {
/// PopupType describes the type of popup /// PopupType describes the type of popup
#[derive(std::cmp::PartialEq, Clone)] #[derive(std::cmp::PartialEq, Clone)]
enum PopupType { enum PopupType {
Alert(Color, String), // Block color; Block text Alert(Color, String), // Block color; Block text
Fatal(String), // Must quit after being hidden Fatal(String), // Must quit after being hidden
Input(String, OnInputSubmitCallback), // Input description; Callback for submit Input(String, OnInputSubmitCallback), // Input description; Callback for submit
Progress(String), // Progress block text Progress(String), // Progress block text
Wait(String), // Wait block text Wait(String), // Wait block text
YesNo(String, DialogCallback, DialogCallback), // Yes, no callback YesNo(String, DialogCallback, DialogCallback), // Yes, no callback
} }