#include <FenceOptions.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 | OnChangeFenceSpacingEdit () |
| |
| void | addObject (MapObject *mapObject, const char *pPath, const char *name, Int objectNdx, HTREEITEM parent) |
| |
| HTREEITEM | findOrAdd (HTREEITEM parent, const char *pLabel) |
| |
| Bool | setObjectTreeViewSelection (HTREEITEM parent, Int selection) |
| | Set the selected object in the tree view.
|
| |
| void | updateObjectOptions () |
| |
| 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 FenceOptions.h.
◆ anonymous enum
◆ anonymous enum
◆ FenceOptions()
| FenceOptions::FenceOptions |
( |
CWnd * | pParent = NULL | ) |
|
◆ ~FenceOptions()
| FenceOptions::~FenceOptions |
( |
void | | ) |
|
◆ addObject()
| void FenceOptions::addObject |
( |
MapObject * | mapObject, |
|
|
const char * | pPath, |
|
|
const char * | name, |
|
|
Int | terrainNdx, |
|
|
HTREEITEM | parent ) |
|
protected |
Add the object hierarchy paths to the tree view.
Definition at line 238 of file FenceOptions.cpp.
◆ DoDataExchange()
| void FenceOptions::DoDataExchange |
( |
CDataExchange * | pDX | ) |
|
|
protectedvirtual |
◆ findOrAdd()
| HTREEITEM FenceOptions::findOrAdd |
( |
HTREEITEM | parent, |
|
|
const 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 205 of file FenceOptions.cpp.
◆ getFenceOffset()
| static Real FenceOptions::getFenceOffset |
( |
void | | ) |
|
|
inlinestatic |
◆ getFenceSpacing()
| static Real FenceOptions::getFenceSpacing |
( |
void | | ) |
|
|
inlinestatic |
◆ hasSelectedObject()
| Bool FenceOptions::hasSelectedObject |
( |
void | | ) |
|
|
static |
◆ OnCancel()
| virtual void FenceOptions::OnCancel |
( |
| ) |
|
|
inlineprotectedvirtual |
Modeless dialogs don't OK, so eat this for modeless.
Definition at line 57 of file FenceOptions.h.
◆ OnChangeFenceSpacingEdit()
| void FenceOptions::OnChangeFenceSpacingEdit |
( |
| ) |
|
|
protected |
◆ OnInitDialog()
| BOOL FenceOptions::OnInitDialog |
( |
| ) |
|
|
protectedvirtual |
◆ OnNotify()
| BOOL FenceOptions::OnNotify |
( |
WPARAM | wParam, |
|
|
LPARAM | lParam, |
|
|
LRESULT * | pResult ) |
|
protectedvirtual |
Modeless dialogs don't close on ESC, so eat this for modeless.
Definition at line 361 of file FenceOptions.cpp.
◆ OnOK()
| virtual void FenceOptions::OnOK |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ setObjectTreeViewSelection()
| Bool FenceOptions::setObjectTreeViewSelection |
( |
HTREEITEM | parent, |
|
|
Int | selection ) |
|
protected |
◆ update()
| void FenceOptions::update |
( |
void | | ) |
|
|
static |
◆ updateObjectOptions()
| void FenceOptions::updateObjectOptions |
( |
| ) |
|
|
protected |
◆ m_currentObjectIndex
| Int FenceOptions::m_currentObjectIndex =-1 |
|
staticprotected |
◆ m_customSpacing
| Bool FenceOptions::m_customSpacing |
|
protected |
◆ m_fenceOffset
| Real FenceOptions::m_fenceOffset =0 |
|
staticprotected |
◆ m_fenceSpacing
| Real FenceOptions::m_fenceSpacing =1 |
|
staticprotected |
◆ m_objectsList
◆ m_objectTreeView
| CTreeCtrl FenceOptions::m_objectTreeView |
|
protected |
◆ m_staticThis
◆ m_updating
The documentation for this class was generated from the following files: