|
cgv
|
#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 | |
use this class to construct and execute a modal dialog.