GRE::UI::SHELL_VIEW Class Reference

Shell containing view form. More...

#include <gre/uishellview.h>

Inheritance diagram for GRE::UI::SHELL_VIEW:
Inheritance graph
[legend]

List of all members.

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_VIEWGetFormView ()
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_VIEWCreateAndOpen (GRE::VIEWABLE *viewable, INT16 CanvasWidth=200, INT16 CanvasHeight=200, GRE::UI::FORM_VIEW::CREATEFLAGS CreateFlags=FORM_VIEW::CREATEFLAG_None, const char *placementkeystr=0)

Detailed Description

Shell containing view form.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().

Parameters:
submenus Which submenus to include

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

Generated on Sun Oct 7 21:34:59 2012 for TNTsdk 2012 by  doxygen 1.6.1