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

#include <WaypointOptions.h>

Inherits COptionsPanel.

Public Types

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

Public Member Functions

 WaypointOptions (CWnd *pParent=NULL)
 WaypointOptions 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 MapObjectgetSingleSelectedWaypoint (void)
 
static PolygonTriggergetSingleSelectedPolygon (void)
 
static Bool isUnique (AsciiString name, MapObject *theMapObj=NULL)
 
static AsciiString GenerateUniqueName (Int id)
 

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 OnChangeWaypointnameEdit ()
 
afx_msg void OnChangeSelectedWaypoint ()
 
afx_msg void OnEditWaypointLocationX ()
 
afx_msg void OnEditWaypointLocationY ()
 
afx_msg void OnEditchangeWaypointlabel1Edit ()
 
afx_msg void OnEditchangeWaypointlabel2Edit ()
 
afx_msg void OnEditchangeWaypointlabel3Edit ()
 
afx_msg void OnWaypointBidirectional ()
 
void updateTheUI (void)
 
void changeWaypointLabel (Int editControlID, NameKeyType key)
 
- 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.
 
MovePolygonUndoablem_moveUndoable
 
Int m_originalHeight
 

Static Protected Attributes

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

Detailed Description

Definition at line 36 of file WaypointOptions.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
IDD 

Definition at line 45 of file WaypointOptions.h.

Constructor & Destructor Documentation

◆ WaypointOptions()

WaypointOptions::WaypointOptions ( CWnd * pParent = NULL)

WaypointOptions dialog trivial construstor - Create does the real work.

Definition at line 42 of file WaypointOptions.cpp.

Member Function Documentation

◆ changeWaypointLabel()

void WaypointOptions::changeWaypointLabel ( Int editControlID,
NameKeyType key )
protected

Definition at line 522 of file WaypointOptions.cpp.

◆ DoDataExchange()

void WaypointOptions::DoDataExchange ( CDataExchange * pDX)
protectedvirtual

Windows default stuff.

Reimplemented from COptionsPanel.

Definition at line 51 of file WaypointOptions.cpp.

◆ GenerateUniqueName()

AsciiString WaypointOptions::GenerateUniqueName ( Int id)
static

Definition at line 449 of file WaypointOptions.cpp.

◆ getSingleSelectedPolygon()

PolygonTrigger * WaypointOptions::getSingleSelectedPolygon ( void )
static

Definition at line 80 of file WaypointOptions.cpp.

◆ getSingleSelectedWaypoint()

MapObject * WaypointOptions::getSingleSelectedWaypoint ( void )
static

Definition at line 59 of file WaypointOptions.cpp.

◆ isUnique()

Bool WaypointOptions::isUnique ( AsciiString name,
MapObject * theMapObj = NULL )
static

Definition at line 432 of file WaypointOptions.cpp.

◆ OnCancel()

virtual void WaypointOptions::OnCancel ( )
inlineprotectedvirtual

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

Definition at line 56 of file WaypointOptions.h.

◆ OnChangeSelectedWaypoint()

void WaypointOptions::OnChangeSelectedWaypoint ( )
protected

Definition at line 317 of file WaypointOptions.cpp.

◆ OnChangeWaypointnameEdit()

void WaypointOptions::OnChangeWaypointnameEdit ( )
protected

Definition at line 461 of file WaypointOptions.cpp.

◆ OnEditchangeWaypointlabel1Edit()

void WaypointOptions::OnEditchangeWaypointlabel1Edit ( )
protected

Definition at line 517 of file WaypointOptions.cpp.

◆ OnEditchangeWaypointlabel2Edit()

void WaypointOptions::OnEditchangeWaypointlabel2Edit ( )
protected

Definition at line 542 of file WaypointOptions.cpp.

◆ OnEditchangeWaypointlabel3Edit()

void WaypointOptions::OnEditchangeWaypointlabel3Edit ( )
protected

Definition at line 547 of file WaypointOptions.cpp.

◆ OnEditWaypointLocationX()

void WaypointOptions::OnEditWaypointLocationX ( )
protected

Definition at line 368 of file WaypointOptions.cpp.

◆ OnEditWaypointLocationY()

void WaypointOptions::OnEditWaypointLocationY ( )
protected

Definition at line 400 of file WaypointOptions.cpp.

◆ OnInitDialog()

BOOL WaypointOptions::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 289 of file WaypointOptions.cpp.

◆ OnOK()

virtual void WaypointOptions::OnOK ( )
inlineprotectedvirtual

Definition at line 55 of file WaypointOptions.h.

◆ OnWaypointBidirectional()

void WaypointOptions::OnWaypointBidirectional ( )
protected

Definition at line 552 of file WaypointOptions.cpp.

◆ update()

void WaypointOptions::update ( void )
static

Definition at line 276 of file WaypointOptions.cpp.

◆ updateTheUI()

void WaypointOptions::updateTheUI ( void )
protected

Definition at line 99 of file WaypointOptions.cpp.

Member Data Documentation

◆ m_moveUndoable

MovePolygonUndoable* WaypointOptions::m_moveUndoable
protected

Definition at line 79 of file WaypointOptions.h.

◆ m_originalHeight

Int WaypointOptions::m_originalHeight
protected

Definition at line 80 of file WaypointOptions.h.

◆ m_staticThis

WaypointOptions * WaypointOptions::m_staticThis = NULL
staticprotected

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

Definition at line 77 of file WaypointOptions.h.

◆ m_updating

Bool WaypointOptions::m_updating
protected

true if the ui is updating itself.

Definition at line 78 of file WaypointOptions.h.


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