#include <ObjectOptions.h>
Inherits COptionsPanel.
|
| enum | { NAME_MAX_LEN = 64
} |
| |
| enum | { IDD = IDD_OBJECT_OPTIONS
} |
| |
| enum | { IDD = IDD_NO_OPTIONS
} |
| |
|
| 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 | OnEditchangeOwningteam () |
| |
| afx_msg void | OnCloseupOwningteam () |
| |
| afx_msg void | OnSelchangeOwningteam () |
| |
| void | addObject (MapObject *mapObject, const char *pPath, Int objectNdx, HTREEITEM parent) |
| |
| HTREEITEM | findOrAdd (HTREEITEM parent, const char *pLabel) |
| |
| HTREEITEM | findOrDont (const char *pLabel) |
| |
| HTREEITEM | _FindOrDont (const char *pLabel, HTREEITEM startPoint) |
| |
| Bool | setObjectTreeViewSelection (HTREEITEM parent, Int selection) |
| | Set the selected object in the tree view.
|
| |
| void | updateLabel () |
| |
| 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 ObjectOptions.h.
◆ anonymous enum
◆ anonymous enum
◆ ObjectOptions()
| ObjectOptions::ObjectOptions |
( |
CWnd * | pParent = NULL | ) |
|
◆ ~ObjectOptions()
| ObjectOptions::~ObjectOptions |
( |
void | | ) |
|
◆ _FindOrDont()
| HTREEITEM ObjectOptions::_FindOrDont |
( |
const char * | pLabel, |
|
|
HTREEITEM | startPoint ) |
|
protected |
◆ addObject()
| void ObjectOptions::addObject |
( |
MapObject * | mapObject, |
|
|
const char * | pPath, |
|
|
Int | terrainNdx, |
|
|
HTREEITEM | parent ) |
|
protected |
◆ DoDataExchange()
| void ObjectOptions::DoDataExchange |
( |
CDataExchange * | pDX | ) |
|
|
protectedvirtual |
◆ duplicateCurMapObjectForPlace()
◆ findOrAdd()
| HTREEITEM ObjectOptions::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 379 of file ObjectOptions.cpp.
◆ findOrDont()
| HTREEITEM ObjectOptions::findOrDont |
( |
const char * | pLabel | ) |
|
|
protected |
◆ getCurGdfName()
◆ getCurMapObject()
| MapObject * ObjectOptions::getCurMapObject |
( |
void | | ) |
|
|
staticprotected |
◆ getCurObjectHeight()
| Real ObjectOptions::getCurObjectHeight |
( |
void | | ) |
|
|
static |
◆ getCurObjectName()
| static const char * ObjectOptions::getCurObjectName |
( |
void | | ) |
|
|
inlinestatic |
◆ getObjectNamed()
◆ getObjectNamedIndex()
◆ OnCancel()
| virtual void ObjectOptions::OnCancel |
( |
| ) |
|
|
inlineprotectedvirtual |
Modeless dialogs don't OK, so eat this for modeless.
Definition at line 57 of file ObjectOptions.h.
◆ OnCloseupOwningteam()
| void ObjectOptions::OnCloseupOwningteam |
( |
| ) |
|
|
protected |
◆ OnEditchangeOwningteam()
| void ObjectOptions::OnEditchangeOwningteam |
( |
| ) |
|
|
protected |
◆ OnInitDialog()
| BOOL ObjectOptions::OnInitDialog |
( |
| ) |
|
|
protectedvirtual |
◆ OnNotify()
| BOOL ObjectOptions::OnNotify |
( |
WPARAM | wParam, |
|
|
LPARAM | lParam, |
|
|
LRESULT * | pResult ) |
|
protectedvirtual |
Modeless dialogs don't close on ESC, so eat this for modeless.
Definition at line 587 of file ObjectOptions.cpp.
◆ OnOK()
| virtual void ObjectOptions::OnOK |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ OnSelchangeOwningteam()
| void ObjectOptions::OnSelchangeOwningteam |
( |
| ) |
|
|
protected |
◆ selectObject()
| void ObjectOptions::selectObject |
( |
const MapObject * | pObj | ) |
|
|
static |
◆ setObjectTreeViewSelection()
| Bool ObjectOptions::setObjectTreeViewSelection |
( |
HTREEITEM | parent, |
|
|
Int | selection ) |
|
protected |
◆ update()
| void ObjectOptions::update |
( |
| ) |
|
|
static |
◆ updateLabel()
| void ObjectOptions::updateLabel |
( |
| ) |
|
|
protected |
◆ m_curOwnerName
◆ m_currentObjectIndex
| Int ObjectOptions::m_currentObjectIndex =-1 |
|
staticprotected |
◆ m_currentObjectName
| char ObjectOptions::m_currentObjectName |
|
staticprotected |
◆ m_objectPreview
◆ m_objectsList
◆ m_objectTreeView
| CTreeCtrl ObjectOptions::m_objectTreeView |
|
protected |
◆ m_staticThis
◆ m_updating
The documentation for this class was generated from the following files: