#include <RoadOptions.h>
Inherits COptionsPanel.
|
| virtual void | DoDataExchange (CDataExchange *pDX) |
| |
| virtual void | OnOK () |
| |
| virtual void | OnCancel () |
| | Modeless dialogs don't OK, so eat this for modeless.
|
| |
| virtual BOOL | OnNotify (WPARAM wParam, LPARAM lParam, LRESULT *pResult) |
| | Modeless dialogs don't close on ESC, so eat this for modeless.
|
| |
| virtual BOOL | OnInitDialog () |
| | Setup the controls in the dialog.
|
| |
| afx_msg void | OnTightCurve () |
| |
| afx_msg void | OnAngled () |
| |
| afx_msg void | OnBroadCurve () |
| |
| afx_msg void | OnJoin () |
| |
| afx_msg void | OnApplyRoad () |
| |
| void | addRoad (char *pPath, Int objectNdx, HTREEITEM parent) |
| |
| HTREEITEM | findOrAdd (HTREEITEM parent, char *pLabel) |
| |
| Bool | findAndSelect (HTREEITEM parent, AsciiString label) |
| |
| Bool | setRoadTreeViewSelection (HTREEITEM parent, Int selection) |
| | Set the selected road in the tree view.
|
| |
| void | updateLabel (void) |
| |
| void | ChangeRoadType (AsciiString newRoad) |
| |
| void | SelectConnected (void) |
| |
| 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) |
| |
Definition at line 36 of file RoadOptions.h.
◆ anonymous enum
◆ anonymous enum
◆ RoadOptions()
| RoadOptions::RoadOptions |
( |
CWnd * | pParent = NULL | ) |
|
◆ ~RoadOptions()
| RoadOptions::~RoadOptions |
( |
void | | ) |
|
◆ addRoad()
| void RoadOptions::addRoad |
( |
char * | pPath, |
|
|
Int | terrainNdx, |
|
|
HTREEITEM | parent ) |
|
protected |
Add the road hierarchy paths to the tree view.
Definition at line 372 of file RoadOptions.cpp.
◆ applyToSelection()
| void RoadOptions::applyToSelection |
( |
void | | ) |
|
Applies road corner flags and road type to selection.
Definition at line 192 of file RoadOptions.cpp.
◆ ChangeRoadType()
| void RoadOptions::ChangeRoadType |
( |
AsciiString | newRoad | ) |
|
|
protected |
◆ DoDataExchange()
| void RoadOptions::DoDataExchange |
( |
CDataExchange * | pDX | ) |
|
|
protectedvirtual |
◆ findAndSelect()
Locate and select child item in tree item parent with name pLabel. If not found, false. If found, return true.
Definition at line 347 of file RoadOptions.cpp.
◆ findOrAdd()
| HTREEITEM RoadOptions::findOrAdd |
( |
HTREEITEM | parent, |
|
|
char * | pLabel ) |
|
protected |
Locate the child item in tree item parent with name pLabel. If not found, add it. Either way, return child.
Definition at line 315 of file RoadOptions.cpp.
◆ getCurRoadName()
| static AsciiString RoadOptions::getCurRoadName |
( |
void | | ) |
|
|
inlinestatic |
◆ isAngled()
| static Bool RoadOptions::isAngled |
( |
void | | ) |
|
|
inlinestatic |
◆ isBridge()
| static Bool RoadOptions::isBridge |
( |
void | | ) |
|
|
inlinestatic |
◆ isJoin()
| static Bool RoadOptions::isJoin |
( |
void | | ) |
|
|
inlinestatic |
◆ isTightCurve()
| static Bool RoadOptions::isTightCurve |
( |
void | | ) |
|
|
inlinestatic |
◆ OnAngled()
| void RoadOptions::OnAngled |
( |
| ) |
|
|
protected |
◆ OnApplyRoad()
| void RoadOptions::OnApplyRoad |
( |
| ) |
|
|
protected |
◆ OnBroadCurve()
| void RoadOptions::OnBroadCurve |
( |
| ) |
|
|
protected |
◆ OnCancel()
| virtual void RoadOptions::OnCancel |
( |
| ) |
|
|
inlineprotectedvirtual |
Modeless dialogs don't OK, so eat this for modeless.
Definition at line 57 of file RoadOptions.h.
◆ OnInitDialog()
| BOOL RoadOptions::OnInitDialog |
( |
| ) |
|
|
protectedvirtual |
◆ OnJoin()
| void RoadOptions::OnJoin |
( |
| ) |
|
|
protected |
◆ OnNotify()
| BOOL RoadOptions::OnNotify |
( |
WPARAM | wParam, |
|
|
LPARAM | lParam, |
|
|
LRESULT * | pResult ) |
|
protectedvirtual |
Modeless dialogs don't close on ESC, so eat this for modeless.
Definition at line 538 of file RoadOptions.cpp.
◆ OnOK()
| virtual void RoadOptions::OnOK |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ OnTightCurve()
| void RoadOptions::OnTightCurve |
( |
| ) |
|
|
protected |
◆ SelectConnected()
| void RoadOptions::SelectConnected |
( |
void | | ) |
|
|
protected |
◆ selectionIsRoadsOnly()
| Bool RoadOptions::selectionIsRoadsOnly |
( |
void | | ) |
|
|
static |
Returns true if only one or more roads is selected.
Definition at line 100 of file RoadOptions.cpp.
◆ setRoadTreeViewSelection()
| Bool RoadOptions::setRoadTreeViewSelection |
( |
HTREEITEM | parent, |
|
|
Int | selection ) |
|
protected |
◆ updateLabel()
| void RoadOptions::updateLabel |
( |
void | | ) |
|
|
protected |
◆ updateSelection()
| void RoadOptions::updateSelection |
( |
void | | ) |
|
|
static |
Returns true if only one or more roads is selected.
Definition at line 119 of file RoadOptions.cpp.
◆ m_angleCorners
◆ m_currentRoadIndex
| Int RoadOptions::m_currentRoadIndex =0 |
|
staticprotected |
◆ m_currentRoadName
◆ m_doJoin
Is a join to different road type.
Definition at line 85 of file RoadOptions.h.
◆ m_numberOfBridges
| Int RoadOptions::m_numberOfBridges =0 |
|
staticprotected |
◆ m_numberOfRoads
| Int RoadOptions::m_numberOfRoads =0 |
|
staticprotected |
◆ m_roadTreeView
| CTreeCtrl RoadOptions::m_roadTreeView |
|
protected |
◆ m_staticThis
◆ m_tightCurve
Broad curve false, tight curve true.
Definition at line 84 of file RoadOptions.h.
◆ m_updating
The documentation for this class was generated from the following files: