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

#include <RulerOptions.h>

Inherits COptionsPanel.

Public Types

enum  { IDD = IDD_RULER_OPTIONS }
 
- Public Types inherited from COptionsPanel
enum  { IDD = IDD_NO_OPTIONS }
 

Public Member Functions

 RulerOptions (CWnd *pParent=NULL)
 
- Public Member Functions inherited from COptionsPanel
 COptionsPanel (Int dlgid=0, CWnd *pParent=NULL)
 

Static Public Member Functions

static void setWidth (Real width)
 

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
 Windows default stuff.
 
virtual void OnOK ()
 
virtual void OnCancel ()
 Modeless dialogs don't OK, so eat this for modeless.
 
virtual BOOL OnInitDialog ()
 Modeless dialogs don't close on ESC, so eat this for modeless.
 
afx_msg void OnChangeWidthEdit ()
 
afx_msg void OnChangeCheckRuler ()
 
- Protected Member Functions inherited from COptionsPanel
afx_msg void OnMove (int x, int y)
 
afx_msg void OnEditRedo ()
 
afx_msg void OnUpdateEditRedo (CCmdUI *pCmdUI)
 
afx_msg void OnEditUndo ()
 
afx_msg void OnUpdateEditUndo (CCmdUI *pCmdUI)
 

Protected Attributes

Bool m_updating
 true if the ui is updating itself.
 

Static Protected Attributes

static RulerOptionsm_staticThis = NULL
 Reference to the floating panel so SetWidth and SetFeather can be static.
 

Detailed Description

Definition at line 33 of file RulerOptions.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
IDD 

Definition at line 43 of file RulerOptions.h.

Constructor & Destructor Documentation

◆ RulerOptions()

RulerOptions::RulerOptions ( CWnd * pParent = NULL)

Definition at line 33 of file RulerOptions.cpp.

Member Function Documentation

◆ DoDataExchange()

void RulerOptions::DoDataExchange ( CDataExchange * pDX)
protectedvirtual

Windows default stuff.

Reimplemented from COptionsPanel.

Definition at line 41 of file RulerOptions.cpp.

◆ OnCancel()

virtual void RulerOptions::OnCancel ( )
inlineprotectedvirtual

Modeless dialogs don't OK, so eat this for modeless.

Definition at line 54 of file RulerOptions.h.

◆ OnChangeCheckRuler()

void RulerOptions::OnChangeCheckRuler ( )
protected

Definition at line 104 of file RulerOptions.cpp.

◆ OnChangeWidthEdit()

void RulerOptions::OnChangeWidthEdit ( )
protected

Definition at line 86 of file RulerOptions.cpp.

◆ OnInitDialog()

BOOL RulerOptions::OnInitDialog ( )
protectedvirtual

Modeless dialogs don't close on ESC, so eat this for modeless.

Dialog UI initialization.

Definition at line 66 of file RulerOptions.cpp.

◆ OnOK()

virtual void RulerOptions::OnOK ( )
inlineprotectedvirtual

Definition at line 53 of file RulerOptions.h.

◆ setWidth()

void RulerOptions::setWidth ( Real width)
static

Update the value in the edit control.

Definition at line 51 of file RulerOptions.cpp.

Member Data Documentation

◆ m_staticThis

RulerOptions * RulerOptions::m_staticThis = NULL
staticprotected

Reference to the floating panel so SetWidth and SetFeather can be static.

Definition at line 69 of file RulerOptions.h.

◆ m_updating

Bool RulerOptions::m_updating
protected

true if the ui is updating itself.

Definition at line 71 of file RulerOptions.h.


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