Shell containing view form. More...
#include <gre/uishellview.h>

Public Member Functions | |
| SHELL_VIEW (GRE::VIEWABLE *viewable, INT16 CanvasWidth=200, INT16 CanvasHeight=200, GRE::UI::FORM_VIEW::CREATEFLAGS CreateFlags=FORM_VIEW::CREATEFLAG_None, GRE::UI::FORM_VIEW::SETTINGS *pFormSettings=0) | |
| virtual | ~SHELL_VIEW () |
| GRE::UI::FORM_VIEW & | GetFormView () |
| void | SetDelegateAddTools (UI::FORM_VIEW::DELEGATE_ADDTOOLS delegate) |
| void | SetDestroySelfOnClose (bool DestroySelfOnClose=true) |
| void | SetDestroyViewableOnClose (bool DestroyViewableOnClose=true) |
| void | SetMenuBarSubMenus (UI::FORM_VIEW::SUBMENUS submenus) |
Static Public Member Functions | |
| static SHELL_VIEW * | CreateAndOpen (GRE::VIEWABLE *viewable, INT16 CanvasWidth=200, INT16 CanvasHeight=200, GRE::UI::FORM_VIEW::CREATEFLAGS CreateFlags=FORM_VIEW::CREATEFLAG_None, const char *placementkeystr=0) |
Shell containing view form.
| GRE::UI::SHELL_VIEW::SHELL_VIEW | ( | GRE::VIEWABLE * | viewable, | |
| INT16 | CanvasWidth = 200, |
|||
| INT16 | CanvasHeight = 200, |
|||
| GRE::UI::FORM_VIEW::CREATEFLAGS | CreateFlags = FORM_VIEW::CREATEFLAG_None, |
|||
| GRE::UI::FORM_VIEW::SETTINGS * | pFormSettings = 0 | |||
| ) |
Construct for viewable.
| virtual GRE::UI::SHELL_VIEW::~SHELL_VIEW | ( | ) | [virtual] |
Destructor.
| static SHELL_VIEW* GRE::UI::SHELL_VIEW::CreateAndOpen | ( | GRE::VIEWABLE * | viewable, | |
| INT16 | CanvasWidth = 200, |
|||
| INT16 | CanvasHeight = 200, |
|||
| GRE::UI::FORM_VIEW::CREATEFLAGS | CreateFlags = FORM_VIEW::CREATEFLAG_None, |
|||
| const char * | placementkeystr = 0 | |||
| ) | [static] |
Create and open shell for viewable.
Shell will be set to self-destruct on close. Will be created with default menubar.
| GRE::UI::FORM_VIEW& GRE::UI::SHELL_VIEW::GetFormView | ( | ) | [inline] |
Get UI::FORM_VIEW instance.
| void GRE::UI::SHELL_VIEW::SetDelegateAddTools | ( | UI::FORM_VIEW::DELEGATE_ADDTOOLS | delegate | ) | [inline] |
Set delegate to call to add extra tools.
| void GRE::UI::SHELL_VIEW::SetDestroySelfOnClose | ( | bool | DestroySelfOnClose = true |
) | [inline] |
Set to self-destruct on close.
Default is true if created via CreateAndOpen, otherwise false.
| void GRE::UI::SHELL_VIEW::SetDestroyViewableOnClose | ( | bool | DestroyViewableOnClose = true |
) | [inline] |
Set whether to destroy viewable on close.
If not called viewable will not be destroyed.
| void GRE::UI::SHELL_VIEW::SetMenuBarSubMenus | ( | UI::FORM_VIEW::SUBMENUS | submenus | ) | [inline] |
Set which submenus will appear in menubar.
By default, View, Tools, Options, Macros and HotKeys will be included. Must be called before Create().
| submenus | Which submenus to include |
1.6.1