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

#include <ScorchOptions.h>

Inherits COptionsPanel, and PopupSliderOwner.

Public Types

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

Public Member Functions

 ScorchOptions (CWnd *pParent=NULL)
 
virtual void GetPopSliderInfo (const long sliderID, long *pMin, long *pMax, long *pLineSize, long *pInitial)
 
virtual void PopSliderChanged (const long sliderID, long theVal)
 
virtual void PopSliderFinished (const long sliderID, long theVal)
 
- Public Member Functions inherited from COptionsPanel
 COptionsPanel (Int dlgid=0, CWnd *pParent=NULL)
 

Static Public Member Functions

static void update (void)
 
static Scorches getScorchType (void)
 
static Real getScorchSize (void)
 

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
 
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 OnChangeScorchtype ()
 
afx_msg void OnChangeSizeEdit ()
 
- 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)
 

Detailed Description

Definition at line 37 of file ScorchOptions.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
IDD 

Definition at line 45 of file ScorchOptions.h.

Constructor & Destructor Documentation

◆ ScorchOptions()

ScorchOptions::ScorchOptions ( CWnd * pParent = NULL)

Definition at line 40 of file ScorchOptions.cpp.

Member Function Documentation

◆ DoDataExchange()

void ScorchOptions::DoDataExchange ( CDataExchange * pDX)
protectedvirtual

Reimplemented from COptionsPanel.

Definition at line 48 of file ScorchOptions.cpp.

◆ GetPopSliderInfo()

void ScorchOptions::GetPopSliderInfo ( const long sliderID,
long * pMin,
long * pMax,
long * pLineSize,
long * pInitial )
virtual

Implements PopupSliderOwner.

Definition at line 165 of file ScorchOptions.cpp.

◆ getScorchSize()

static Real ScorchOptions::getScorchSize ( void )
inlinestatic

Definition at line 87 of file ScorchOptions.h.

◆ getScorchType()

static Scorches ScorchOptions::getScorchType ( void )
inlinestatic

Definition at line 86 of file ScorchOptions.h.

◆ OnCancel()

virtual void ScorchOptions::OnCancel ( )
inlineprotectedvirtual

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

Definition at line 56 of file ScorchOptions.h.

◆ OnChangeScorchtype()

void ScorchOptions::OnChangeScorchtype ( )
protected

Definition at line 141 of file ScorchOptions.cpp.

◆ OnChangeSizeEdit()

void ScorchOptions::OnChangeSizeEdit ( )
protected

Definition at line 151 of file ScorchOptions.cpp.

◆ OnInitDialog()

BOOL ScorchOptions::OnInitDialog ( )
protectedvirtual

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

Definition at line 115 of file ScorchOptions.cpp.

◆ OnOK()

virtual void ScorchOptions::OnOK ( )
inlineprotectedvirtual

Definition at line 55 of file ScorchOptions.h.

◆ PopSliderChanged()

void ScorchOptions::PopSliderChanged ( const long sliderID,
long theVal )
virtual

Implements PopupSliderOwner.

Definition at line 182 of file ScorchOptions.cpp.

◆ PopSliderFinished()

void ScorchOptions::PopSliderFinished ( const long sliderID,
long theVal )
virtual

Implements PopupSliderOwner.

Definition at line 204 of file ScorchOptions.cpp.

◆ update()

void ScorchOptions::update ( void )
static

Definition at line 105 of file ScorchOptions.cpp.


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