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

#include <CameraOptions.h>

Inherits CDialog, and PopupSliderOwner.

Public Types

enum  { IDD = IDD_CAMERA_OPTIONS }
 

Public Member Functions

 CameraOptions (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)
 
void update (void)
 

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
 
afx_msg void OnCameraReset ()
 
afx_msg void OnDropWaypointButton ()
 
afx_msg void OnCenterOnSelectedButton ()
 
afx_msg void OnMove (int x, int y)
 
virtual BOOL OnInitDialog ()
 
afx_msg void OnChangePitchEdit ()
 
afx_msg void OnShowWindow (BOOL bShow, UINT nStatus)
 
void putInt (Int ctrlID, Int val)
 
void putReal (Int ctrlID, Real val)
 
void putAsciiString (Int ctrlID, AsciiString val)
 
BOOL getReal (Int ctrlID, Real *rVal)
 
void stuffValuesIntoFields (void)
 
void applyCameraPitch (Real pitch)
 

Protected Attributes

WBPopupSliderButton m_pitchPopup
 
Bool m_updating
 

Detailed Description

Definition at line 34 of file CameraOptions.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
IDD 

Definition at line 42 of file CameraOptions.h.

Constructor & Destructor Documentation

◆ CameraOptions()

CameraOptions::CameraOptions ( CWnd * pParent = NULL)

Definition at line 38 of file CameraOptions.cpp.

Member Function Documentation

◆ applyCameraPitch()

void CameraOptions::applyCameraPitch ( Real pitch)
protected

Definition at line 232 of file CameraOptions.cpp.

◆ DoDataExchange()

void CameraOptions::DoDataExchange ( CDataExchange * pDX)
protectedvirtual

Definition at line 48 of file CameraOptions.cpp.

◆ GetPopSliderInfo()

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

Implements PopupSliderOwner.

Definition at line 243 of file CameraOptions.cpp.

◆ getReal()

BOOL CameraOptions::getReal ( Int ctrlID,
Real * rVal )
protected

Definition at line 184 of file CameraOptions.cpp.

◆ OnCameraReset()

void CameraOptions::OnCameraReset ( )
protected

Definition at line 72 of file CameraOptions.cpp.

◆ OnCenterOnSelectedButton()

void CameraOptions::OnCenterOnSelectedButton ( )
protected

Definition at line 115 of file CameraOptions.cpp.

◆ OnChangePitchEdit()

void CameraOptions::OnChangePitchEdit ( )
protected

Definition at line 309 of file CameraOptions.cpp.

◆ OnDropWaypointButton()

void CameraOptions::OnDropWaypointButton ( )
protected

Definition at line 83 of file CameraOptions.cpp.

◆ OnInitDialog()

BOOL CameraOptions::OnInitDialog ( )
protectedvirtual

Definition at line 299 of file CameraOptions.cpp.

◆ OnMove()

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

Definition at line 141 of file CameraOptions.cpp.

◆ OnShowWindow()

void CameraOptions::OnShowWindow ( BOOL bShow,
UINT nStatus )
protected

Definition at line 323 of file CameraOptions.cpp.

◆ PopSliderChanged()

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

Implements PopupSliderOwner.

Definition at line 268 of file CameraOptions.cpp.

◆ PopSliderFinished()

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

Implements PopupSliderOwner.

Definition at line 284 of file CameraOptions.cpp.

◆ putAsciiString()

void CameraOptions::putAsciiString ( Int ctrlID,
AsciiString val )
protected

Definition at line 174 of file CameraOptions.cpp.

◆ putInt()

void CameraOptions::putInt ( Int ctrlID,
Int val )
protected

Definition at line 154 of file CameraOptions.cpp.

◆ putReal()

void CameraOptions::putReal ( Int ctrlID,
Real val )
protected

Definition at line 164 of file CameraOptions.cpp.

◆ stuffValuesIntoFields()

void CameraOptions::stuffValuesIntoFields ( void )
protected

Definition at line 199 of file CameraOptions.cpp.

◆ update()

void CameraOptions::update ( void )

Definition at line 227 of file CameraOptions.cpp.

Member Data Documentation

◆ m_pitchPopup

WBPopupSliderButton CameraOptions::m_pitchPopup
protected

Definition at line 77 of file CameraOptions.h.

◆ m_updating

Bool CameraOptions::m_updating
protected

Definition at line 78 of file CameraOptions.h.


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