MainFrame Class Reference

#include <mainframe.h>

Collaboration diagram for MainFrame:
Collaboration graph
[legend]

Public Types

enum  EViewStyle { eRegular = 0, eSplit = 1 }
 

The style of the window layout.

More...
typedef MemberCaller
< MainFrame,&MainFrame::RedrawStatusText > 
RedrawStatusTextCaller

Public Member Functions

 MainFrame ()
 ~MainFrame ()
void SetStatusText (std::string &status_text, const std::string &pText)
void UpdateStatusText ()
void RedrawStatusText ()
void SetActiveXY (XYWnd *p)
XYWnd * ActiveXY ()
XYWnd * GetXYWnd ()
XYWnd * GetXZWnd ()
XYWnd * GetYZWnd ()
CamWndGetCamWnd ()
EViewStyle CurrentStyle ()
void SetSaveButton (GtkButton *saveBtn)
GtkButtonGetSaveButton ()
void SetUndoButton (GtkButton *undoBtn)
GtkButtonGetUndoButton ()
void SetRedoButton (GtkButton *redoBtn)
GtkButtonGetRedoButton ()
void SetSaveMenuItem (GtkMenuItem *saveMenuItem)
GtkMenuItemGetSaveMenuItem ()
void SetUndoMenuItem (GtkMenuItem *undoMenuItem)
GtkMenuItemGetUndoMenuItem ()
void SetRedoMenuItem (GtkMenuItem *redoMenuItem)
GtkMenuItemGetRedoMenuItem ()
void SaveComplete (void)

Data Fields

GtkWindowm_window
std::string m_command_status
std::string m_position_status
std::string m_brushcount_status
std::string m_texture_status

Private Member Functions

void Create ()
void SaveWindowInfo ()
void Shutdown ()

Private Attributes

GtkWidgetm_vSplit
GtkWidgetm_hSplit
GtkWidgetm_vSplit2
XYWnd * m_pXYWnd
XYWnd * m_pYZWnd
XYWnd * m_pXZWnd
CamWndm_pCamWnd
XYWnd * m_pActiveXY
GtkWidgetm_pStatusLabel [c_count_status]
EViewStyle m_nCurrentStyle
WindowPositionTracker m_position_tracker
IdleDraw m_idleRedrawStatusText
GtkButtonm_toolBtnSave
GtkButtonm_toolBtnUndo
GtkButtonm_toolBtnRedo
GtkMenuItemm_menuSave
GtkMenuItemm_menuUndo
GtkMenuItemm_menuRedo
UndoSaveStateTracker m_saveStateTracker

Detailed Description

Definition at line 73 of file mainframe.h.


Member Typedef Documentation

typedef MemberCaller<MainFrame, &MainFrame::RedrawStatusText> MainFrame::RedrawStatusTextCaller

Definition at line 130 of file mainframe.h.


Member Enumeration Documentation

The style of the window layout.

Enumerator:
eRegular 

one view, console and texture on the right side

eSplit 

4 views

Definition at line 77 of file mainframe.h.


Constructor & Destructor Documentation

MainFrame::MainFrame (  ) 
MainFrame::~MainFrame (  ) 

Member Function Documentation

XYWnd* MainFrame::ActiveXY (  )  [inline]

Definition at line 133 of file mainframe.h.

References m_pActiveXY.

void MainFrame::Create (  )  [private]
EViewStyle MainFrame::CurrentStyle (  )  [inline]

Definition at line 156 of file mainframe.h.

References m_nCurrentStyle.

CamWnd* MainFrame::GetCamWnd (  )  [inline]

Definition at line 150 of file mainframe.h.

References m_pCamWnd.

GtkButton* MainFrame::GetRedoButton (  )  [inline]

Definition at line 183 of file mainframe.h.

References m_toolBtnRedo.

GtkMenuItem* MainFrame::GetRedoMenuItem (  )  [inline]

Definition at line 210 of file mainframe.h.

References m_menuRedo.

GtkButton* MainFrame::GetSaveButton (  )  [inline]

Definition at line 165 of file mainframe.h.

References m_toolBtnSave.

GtkMenuItem* MainFrame::GetSaveMenuItem (  )  [inline]

Definition at line 192 of file mainframe.h.

References m_menuSave.

GtkButton* MainFrame::GetUndoButton (  )  [inline]

Definition at line 174 of file mainframe.h.

References m_toolBtnUndo.

GtkMenuItem* MainFrame::GetUndoMenuItem (  )  [inline]

Definition at line 201 of file mainframe.h.

References m_menuUndo.

XYWnd* MainFrame::GetXYWnd (  )  [inline]

Definition at line 138 of file mainframe.h.

References m_pXYWnd.

XYWnd* MainFrame::GetXZWnd (  )  [inline]

Definition at line 142 of file mainframe.h.

References m_pXZWnd.

XYWnd* MainFrame::GetYZWnd (  )  [inline]

Definition at line 146 of file mainframe.h.

References m_pYZWnd.

void MainFrame::RedrawStatusText (  ) 
void MainFrame::SaveComplete ( void   ) 
void MainFrame::SaveWindowInfo (  )  [private]
void MainFrame::SetActiveXY ( XYWnd *  p  ) 
void MainFrame::SetRedoButton ( GtkButton redoBtn  )  [inline]

Definition at line 179 of file mainframe.h.

References m_toolBtnRedo.

void MainFrame::SetRedoMenuItem ( GtkMenuItem redoMenuItem  )  [inline]

Definition at line 206 of file mainframe.h.

References m_menuRedo.

void MainFrame::SetSaveButton ( GtkButton saveBtn  )  [inline]

Definition at line 161 of file mainframe.h.

References m_toolBtnSave.

void MainFrame::SetSaveMenuItem ( GtkMenuItem saveMenuItem  )  [inline]

Definition at line 188 of file mainframe.h.

References m_menuSave.

void MainFrame::SetStatusText ( std::string status_text,
const std::string pText 
)
void MainFrame::SetUndoButton ( GtkButton undoBtn  )  [inline]

Definition at line 170 of file mainframe.h.

References m_toolBtnUndo.

void MainFrame::SetUndoMenuItem ( GtkMenuItem undoMenuItem  )  [inline]

Definition at line 197 of file mainframe.h.

References m_menuUndo.

void MainFrame::Shutdown (  )  [private]
void MainFrame::UpdateStatusText (  ) 

Field Documentation

Definition at line 91 of file mainframe.h.

Definition at line 89 of file mainframe.h.

Definition at line 100 of file mainframe.h.

Definition at line 114 of file mainframe.h.

Definition at line 122 of file mainframe.h.

Referenced by GetRedoMenuItem(), and SetRedoMenuItem().

Definition at line 120 of file mainframe.h.

Referenced by GetSaveMenuItem(), and SetSaveMenuItem().

Definition at line 121 of file mainframe.h.

Referenced by GetUndoMenuItem(), and SetUndoMenuItem().

Definition at line 111 of file mainframe.h.

Referenced by CurrentStyle().

XYWnd* MainFrame::m_pActiveXY [private]

Definition at line 107 of file mainframe.h.

Referenced by ActiveXY().

Definition at line 106 of file mainframe.h.

Referenced by GetCamWnd().

Definition at line 90 of file mainframe.h.

Definition at line 112 of file mainframe.h.

Definition at line 109 of file mainframe.h.

XYWnd* MainFrame::m_pXYWnd [private]

Definition at line 103 of file mainframe.h.

Referenced by GetXYWnd().

XYWnd* MainFrame::m_pXZWnd [private]

Definition at line 105 of file mainframe.h.

Referenced by GetXZWnd().

XYWnd* MainFrame::m_pYZWnd [private]

Definition at line 104 of file mainframe.h.

Referenced by GetYZWnd().

Definition at line 124 of file mainframe.h.

Definition at line 92 of file mainframe.h.

Definition at line 118 of file mainframe.h.

Referenced by GetRedoButton(), and SetRedoButton().

Definition at line 116 of file mainframe.h.

Referenced by GetSaveButton(), and SetSaveButton().

Definition at line 117 of file mainframe.h.

Referenced by GetUndoButton(), and SetUndoButton().

Definition at line 99 of file mainframe.h.

Definition at line 101 of file mainframe.h.

Definition at line 87 of file mainframe.h.


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

Generated by  doxygen 1.6.2