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

#include <LightOptions.h>

Inherits COptionsPanel.

Public Types

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

Public Member Functions

 LightOptions (CWnd *pParent=NULL)
 LightOptions dialog trivial construstor - Create does the real work.
 
- Public Member Functions inherited from COptionsPanel
 COptionsPanel (Int dlgid=0, CWnd *pParent=NULL)
 

Static Public Member Functions

static void update (void)
 
static MapObjectgetSingleSelectedLight (void)
 

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 OnChangeLightEdit ()
 
void updateTheUI (void)
 
- 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 LightOptionsm_staticThis = NULL
 Reference to the floating panel so SetWidth and SetFeather can be static.
 

Detailed Description

Definition at line 33 of file LightOptions.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
IDD 

Definition at line 42 of file LightOptions.h.

Constructor & Destructor Documentation

◆ LightOptions()

LightOptions::LightOptions ( CWnd * pParent = NULL)

LightOptions dialog trivial construstor - Create does the real work.

Definition at line 36 of file LightOptions.cpp.

Member Function Documentation

◆ DoDataExchange()

void LightOptions::DoDataExchange ( CDataExchange * pDX)
protectedvirtual

Windows default stuff.

Reimplemented from COptionsPanel.

Definition at line 44 of file LightOptions.cpp.

◆ getSingleSelectedLight()

MapObject * LightOptions::getSingleSelectedLight ( void )
static

Definition at line 52 of file LightOptions.cpp.

◆ OnCancel()

virtual void LightOptions::OnCancel ( )
inlineprotectedvirtual

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

Definition at line 53 of file LightOptions.h.

◆ OnChangeLightEdit()

void LightOptions::OnChangeLightEdit ( )
protected

Definition at line 154 of file LightOptions.cpp.

◆ OnInitDialog()

BOOL LightOptions::OnInitDialog ( )
protectedvirtual

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

Dialog UI initialization.

Creates the slider controls, and sets the initial values for width and feather in the ui controls.

Definition at line 130 of file LightOptions.cpp.

◆ OnOK()

virtual void LightOptions::OnOK ( )
inlineprotectedvirtual

Definition at line 52 of file LightOptions.h.

◆ update()

void LightOptions::update ( void )
static

Definition at line 117 of file LightOptions.cpp.

◆ updateTheUI()

void LightOptions::updateTheUI ( void )
protected

Definition at line 73 of file LightOptions.cpp.

Member Data Documentation

◆ m_staticThis

LightOptions * LightOptions::m_staticThis = NULL
staticprotected

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

Definition at line 67 of file LightOptions.h.

◆ m_updating

Bool LightOptions::m_updating
protected

true if the ui is updating itself.

Definition at line 68 of file LightOptions.h.


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