Allolib  1.0
C++ Components For Interactive Multimedia
al::Dialog Class Reference

#include <C:/Users/Andres/source/repos/casm_viewer/external/tinc/external/allolib/include/al/ui/al_Dialog.hpp>

Public Types

enum  Buttons { AL_DIALOG_BUTTON_OK = 0x01 , AL_DIALOG_BUTTON_CANCEL = 0x02 , AL_DIALOG_BUTTON_YES = 0x04 , AL_DIALOG_BUTTON_NO = 0x08 }
 
enum class  DialogResult : int { AL_DIALOG_OK , AL_DIALOG_CANCEL , AL_DIALOG_YES , AL_DIALOG_NO }
 

Public Member Functions

 Dialog (std::string title, std::string text, int buttons=Buttons::AL_DIALOG_BUTTON_OK)
 
void start ()
 
void start (std::function< void(DialogResult)> doneCallback)
 
bool isOpen ()
 
DialogResult getReturnValue ()
 
virtual void draw (Graphics &g)
 

Detailed Description

Dialog

Definition at line 56 of file al_Dialog.hpp.


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