cgv
cgv::gui::dialog Class Reference

#include <dialog.h>

Public Member Functions

 dialog (const std::string &title, const std::string &group_type="align_group")
 create from title and adjust size according to content
 
 dialog (int w, int h, const std::string &title, const std::string &group_type="align_group")
 create from dimensions and title
 
cgv::gui::gui_group_ptr group ()
 return the gui group to which new elements are to be add
 
void add_std_buttons (const std::string &ok_label="ok", const std::string &cancel_label="")
 add buttons for ok and or cancel
 
bool exec ()
 execute modal dialog and freeze all other windows
 

Detailed Description

use this class to construct and execute a modal dialog.


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