MGUI::DLG_SPATMOD_IMAGE_VIEW Class Reference

Dialog wrapper around MGUI::FORM_SPATMOD_IMAGE_VIEW. More...

#include <mgui/spatmodimageview.h>

Inheritance diagram for MGUI::DLG_SPATMOD_IMAGE_VIEW:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DLG_SPATMOD_IMAGE_VIEW (INT32 width=200, INT32 height=200, FORM_SPATMOD_IMAGE_VIEW::STYLE style=FORM_SPATMOD_IMAGE_VIEW::STYLE_Default)
virtual ~DLG_SPATMOD_IMAGE_VIEW ()
ERRVALUE Display ()
FORM_SPATMOD_IMAGE_VIEWGetFormImageView ()
INT32 GetViewNum ()
void SetDelegateOnClose (DELEGATE_VOID_NOPARMS delegate)
void SetStage (SPATMOD::IMAGE::STAGE *stage, bool bTakeOwnership)
void SetViewNum (const INT32 &ViewNum)

Private Member Functions

ERRVALUE v_CreateContent ()
void v_OnClose ()
void v_OnOpen ()

Private Attributes

DELEGATE_VOID_NOPARMS m_DelegateOnClose
INT32 m_Height
FORM_SPATMOD_IMAGE_VIEW::STYLE m_Style
FORM_SPATMOD_IMAGE_VIEW m_View
INT32 m_Width

Detailed Description

Dialog wrapper around MGUI::FORM_SPATMOD_IMAGE_VIEW.


Constructor & Destructor Documentation

MGUI::DLG_SPATMOD_IMAGE_VIEW::DLG_SPATMOD_IMAGE_VIEW ( INT32  width = 200,
INT32  height = 200,
FORM_SPATMOD_IMAGE_VIEW::STYLE  style = FORM_SPATMOD_IMAGE_VIEW::STYLE_Default 
)
virtual MGUI::DLG_SPATMOD_IMAGE_VIEW::~DLG_SPATMOD_IMAGE_VIEW (  )  [virtual]

Member Function Documentation

ERRVALUE MGUI::DLG_SPATMOD_IMAGE_VIEW::Display (  )  [inline]

Display the image.

FORM_SPATMOD_IMAGE_VIEW& MGUI::DLG_SPATMOD_IMAGE_VIEW::GetFormImageView (  )  [inline]
INT32 MGUI::DLG_SPATMOD_IMAGE_VIEW::GetViewNum (  )  [inline]

Get the image viewer window number.

void MGUI::DLG_SPATMOD_IMAGE_VIEW::SetDelegateOnClose ( DELEGATE_VOID_NOPARMS  delegate  )  [inline]
void MGUI::DLG_SPATMOD_IMAGE_VIEW::SetStage ( SPATMOD::IMAGE::STAGE stage,
bool  bTakeOwnership 
) [inline]

Set the image stage to display.

void MGUI::DLG_SPATMOD_IMAGE_VIEW::SetViewNum ( const INT32 ViewNum  )  [inline]

Set the image viewer window number.

ERRVALUE MGUI::DLG_SPATMOD_IMAGE_VIEW::v_CreateContent (  )  [private, virtual]

Create dialog shell contents.

Derived class MUST implement this. Function must return 0 for success or an error code. This will be called by the dialog creation code and must not be called directly. This is normally overridden only by the specific dialog implementation and not by the code that actually uses that dialog implementation. Implementation should call GetMainForm() or GetMainPane() to determine the form or pane to create the controls in. Note that you cannot override the dialog title in v_CreateContent, title must be set first. This function should not open another dialog, modal or non-modal.

Implements MGUI::DLGSHELL.

void MGUI::DLG_SPATMOD_IMAGE_VIEW::v_OnClose (  )  [private, virtual]

Called when dialog gets closed.

Reimplemented from MGUI::DLGSHELL.

void MGUI::DLG_SPATMOD_IMAGE_VIEW::v_OnOpen (  )  [private, virtual]

Called after dialog is actually opened.

Reimplemented from MGUI::DLGSHELL.


Member Data Documentation


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

Generated on Sun Oct 7 21:35:50 2012 for TNTsdk 2012 by  doxygen 1.6.1