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

CellWidth modal dialog to set the cell width. More...

#include <CellWidth.h>

Inherits CDialog.

Public Types

enum  { IDD = IDD_CellWidth }
 

Public Member Functions

 CellWidth (int cellWidth, CWnd *pParent=NULL)
 Constructor and set initial cell width.
 
int GetCellWidth (void)
 

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
 
virtual void OnOK ()
 Get the cell width value from the ui on ok.
 
virtual BOOL OnInitDialog ()
 Set the initial value of cell width into the combobox.
 

Protected Attributes

int mCellWidth
 

Detailed Description

CellWidth modal dialog to set the cell width.

Definition at line 31 of file CellWidth.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
IDD 

Definition at line 40 of file CellWidth.h.

Constructor & Destructor Documentation

◆ CellWidth()

CellWidth::CellWidth ( int cellWidth,
CWnd * pParent = NULL )

Constructor and set initial cell width.

Definition at line 30 of file CellWidth.cpp.

Member Function Documentation

◆ DoDataExchange()

void CellWidth::DoDataExchange ( CDataExchange * pDX)
protectedvirtual

Definition at line 40 of file CellWidth.cpp.

◆ GetCellWidth()

int CellWidth::GetCellWidth ( void )
inline

Definition at line 37 of file CellWidth.h.

◆ OnInitDialog()

BOOL CellWidth::OnInitDialog ( )
protectedvirtual

Set the initial value of cell width into the combobox.

Definition at line 66 of file CellWidth.cpp.

◆ OnOK()

void CellWidth::OnOK ( )
protectedvirtual

Get the cell width value from the ui on ok.

Definition at line 53 of file CellWidth.cpp.

Member Data Documentation

◆ mCellWidth

int CellWidth::mCellWidth
protected

Definition at line 55 of file CellWidth.h.


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