Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
CWB3dFrameWnd Class Reference

#include <WBFrameWnd.h>

Inherits CMainFrame.

Public Member Functions

virtual BOOL LoadFrame (UINT nIDResource, DWORD dwDefaultStyle=WS_OVERLAPPEDWINDOW|FWS_ADDTOTITLE, CWnd *pParentWnd=NULL, CCreateContext *pContext=NULL)
 
- Public Member Functions inherited from CMainFrame
 CMainFrame ()
 
virtual BOOL PreCreateWindow (CREATESTRUCT &cs)
 
virtual ~CMainFrame ()
 
void showOptionsDialog (Int dialogID)
 
void OnEditGloballightoptions ()
 
void ResetWindowPositions (void)
 
void adjustWindowSize (void)
 
Bool isAutoSaving (void)
 
void handleCameraChange (void)
 
void onEditScripts ()
 

Protected Member Functions

 CWB3dFrameWnd ()
 
virtual ~CWB3dFrameWnd ()
 
afx_msg void OnMove (int x, int y)
 
afx_msg void OnWindowPreview1024x768 ()
 
afx_msg void OnUpdateWindowPreview1024x768 (CCmdUI *pCmdUI)
 
afx_msg void OnWindowPreview640x480 ()
 
afx_msg void OnUpdateWindowPreview640x480 (CCmdUI *pCmdUI)
 
afx_msg void OnWindowPreview800x600 ()
 
afx_msg void OnUpdateWindowPreview800x600 (CCmdUI *pCmdUI)
 
afx_msg void OnPaint ()
 
- Protected Member Functions inherited from CMainFrame
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
 
afx_msg void OnMove (int x, int y)
 
afx_msg void OnViewBrushfeedback ()
 
afx_msg void OnUpdateViewBrushfeedback (CCmdUI *pCmdUI)
 
afx_msg void OnDestroy ()
 
afx_msg void OnTimer (UINT nIDEvent)
 
afx_msg void OnEditCameraoptions ()
 

Additional Inherited Members

- Static Public Member Functions inherited from CMainFrame
static CMainFrameGetMainFrame ()
 
- Protected Attributes inherited from CMainFrame
CStatusBar m_wndStatusBar
 
CToolBar m_wndToolBar
 
CToolBar m_floatingToolBar
 
BrushOptions m_brushOptions
 
TerrainMaterial m_terrainMaterial
 
BlendMaterial m_blendMaterial
 
ObjectOptions m_objectOptions
 
FenceOptions m_fenceOptions
 
MapObjectProps m_mapObjectProps
 
MoundOptions m_moundOptions
 
RoadOptions m_roadOptions
 
FeatherOptions m_featherOptions
 
MeshMoldOptions m_meshMoldOptions
 
WaypointOptions m_waypointOptions
 
WaterOptions m_waterOptions
 
LightOptions m_lightOptions
 
BuildList m_buildListOptions
 
GroveOptions m_groveOptions
 
RampOptions m_rampOptions
 
ScorchOptions m_scorchOptions
 
COptionsPanel m_noOptions
 
GlobalLightOptions m_globalLightOptions
 
CameraOptions m_cameraOptions
 
LayersListm_layersList
 
ScriptDialogm_scriptDialog
 
RulerOptions m_rulerOptions
 
CWnd * m_curOptions
 
Int m_curOptionsX
 
Int m_curOptionsY
 
Int m_optionsPanelWidth
 
Int m_optionsPanelHeight
 
Int m_globalLightOptionsWidth
 
Int m_globalLightOptionsHeight
 
Int m_3dViewWidth
 
Bool m_autoSaving
 True if we are autosaving.
 
UINT m_hAutoSaveTimer
 Timer that triggers for autosave.
 
Bool m_autoSave
 If true, then do autosaves.
 
Int m_autoSaveInterval
 Time between autosaves in seconds.
 
- Static Protected Attributes inherited from CMainFrame
static CMainFrameTheMainFrame = NULL
 

Detailed Description

Definition at line 67 of file WBFrameWnd.h.

Constructor & Destructor Documentation

◆ CWB3dFrameWnd()

CWB3dFrameWnd::CWB3dFrameWnd ( )
protected

Definition at line 95 of file WBFrameWnd.cpp.

◆ ~CWB3dFrameWnd()

CWB3dFrameWnd::~CWB3dFrameWnd ( )
protectedvirtual

Definition at line 99 of file WBFrameWnd.cpp.

Member Function Documentation

◆ LoadFrame()

BOOL CWB3dFrameWnd::LoadFrame ( UINT nIDResource,
DWORD dwDefaultStyle = WS_OVERLAPPEDWINDOW | FWS_ADDTOTITLE,
CWnd * pParentWnd = NULL,
CCreateContext * pContext = NULL )
virtual

Definition at line 119 of file WBFrameWnd.cpp.

◆ OnMove()

void CWB3dFrameWnd::OnMove ( int x,
int y )
protected

Definition at line 130 of file WBFrameWnd.cpp.

◆ OnPaint()

afx_msg void CWB3dFrameWnd::OnPaint ( )
protected

◆ OnUpdateWindowPreview1024x768()

void CWB3dFrameWnd::OnUpdateWindowPreview1024x768 ( CCmdUI * pCmdUI)
protected

Definition at line 149 of file WBFrameWnd.cpp.

◆ OnUpdateWindowPreview640x480()

void CWB3dFrameWnd::OnUpdateWindowPreview640x480 ( CCmdUI * pCmdUI)
protected

Definition at line 162 of file WBFrameWnd.cpp.

◆ OnUpdateWindowPreview800x600()

void CWB3dFrameWnd::OnUpdateWindowPreview800x600 ( CCmdUI * pCmdUI)
protected

Definition at line 175 of file WBFrameWnd.cpp.

◆ OnWindowPreview1024x768()

void CWB3dFrameWnd::OnWindowPreview1024x768 ( )
protected

Definition at line 141 of file WBFrameWnd.cpp.

◆ OnWindowPreview640x480()

void CWB3dFrameWnd::OnWindowPreview640x480 ( )
protected

Definition at line 154 of file WBFrameWnd.cpp.

◆ OnWindowPreview800x600()

void CWB3dFrameWnd::OnWindowPreview800x600 ( )
protected

Definition at line 167 of file WBFrameWnd.cpp.


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