#include <TerrainMaterial.h>
Inherits COptionsPanel, and PopupSliderOwner.
|
| enum | { IDD = IDD_TERRAIN_MATERIAL
} |
| |
| enum | { IDD = IDD_NO_OPTIONS
} |
| |
Definition at line 35 of file TerrainMaterial.h.
◆ anonymous enum
◆ anonymous enum
◆ TerrainMaterial()
| TerrainMaterial::TerrainMaterial |
( |
CWnd * | pParent = NULL | ) |
|
◆ addTerrain()
| void TerrainMaterial::addTerrain |
( |
char * | pPath, |
|
|
Int | terrainNdx, |
|
|
HTREEITEM | parent ) |
|
protected |
◆ DoDataExchange()
| void TerrainMaterial::DoDataExchange |
( |
CDataExchange * | pDX | ) |
|
|
protectedvirtual |
◆ findOrAdd()
| HTREEITEM TerrainMaterial::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 244 of file TerrainMaterial.cpp.
◆ getBgTexClass()
| static Int TerrainMaterial::getBgTexClass |
( |
void | | ) |
|
|
inlinestatic |
◆ getFgTexClass()
| static Int TerrainMaterial::getFgTexClass |
( |
void | | ) |
|
|
inlinestatic |
◆ GetPopSliderInfo()
| void TerrainMaterial::GetPopSliderInfo |
( |
const long | sliderID, |
|
|
long * | pMin, |
|
|
long * | pMax, |
|
|
long * | pLineSize, |
|
|
long * | pInitial ) |
|
virtual |
◆ isPaintingPassable()
| static Bool TerrainMaterial::isPaintingPassable |
( |
void | | ) |
|
|
inlinestatic |
◆ isPaintingPathingInfo()
| static Bool TerrainMaterial::isPaintingPathingInfo |
( |
void | | ) |
|
|
inlinestatic |
◆ OnCancel()
| virtual void TerrainMaterial::OnCancel |
( |
| ) |
|
|
inlineprotectedvirtual |
Modeless dialogs don't OK, so eat this for modeless.
Definition at line 54 of file TerrainMaterial.h.
◆ OnChangeSizeEdit()
| void TerrainMaterial::OnChangeSizeEdit |
( |
| ) |
|
|
protected |
Handles width edit ui messages.
Gets the new edit control text, converts it to an int, then updates the slider and brush tool.
Definition at line 396 of file TerrainMaterial.cpp.
◆ OnImpassable()
| void TerrainMaterial::OnImpassable |
( |
| ) |
|
|
protected |
◆ OnInitDialog()
| BOOL TerrainMaterial::OnInitDialog |
( |
| ) |
|
|
protectedvirtual |
◆ OnNotify()
| BOOL TerrainMaterial::OnNotify |
( |
WPARAM | wParam, |
|
|
LPARAM | lParam, |
|
|
LRESULT * | pResult ) |
|
protectedvirtual |
Modeless dialogs don't close on ESC, so eat this for modeless.
Definition at line 464 of file TerrainMaterial.cpp.
◆ OnOK()
| virtual void TerrainMaterial::OnOK |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ OnPassable()
| void TerrainMaterial::OnPassable |
( |
| ) |
|
|
protected |
◆ OnPassableCheck()
| void TerrainMaterial::OnPassableCheck |
( |
| ) |
|
|
protected |
◆ OnSwapTextures()
| void TerrainMaterial::OnSwapTextures |
( |
| ) |
|
|
protected |
◆ PopSliderChanged()
| void TerrainMaterial::PopSliderChanged |
( |
const long | sliderID, |
|
|
long | theVal ) |
|
virtual |
◆ PopSliderFinished()
| void TerrainMaterial::PopSliderFinished |
( |
const long | sliderID, |
|
|
long | theVal ) |
|
virtual |
◆ setBgTexClass()
| void TerrainMaterial::setBgTexClass |
( |
Int | texClass | ) |
|
|
static |
◆ setFgTexClass()
| void TerrainMaterial::setFgTexClass |
( |
Int | texClass | ) |
|
|
static |
◆ setTerrainTreeViewSelection()
| Bool TerrainMaterial::setTerrainTreeViewSelection |
( |
HTREEITEM | parent, |
|
|
Int | selection ) |
◆ setToolOptions()
| void TerrainMaterial::setToolOptions |
( |
Bool | singleCell | ) |
|
|
static |
◆ setWidth()
| void TerrainMaterial::setWidth |
( |
Int | width | ) |
|
|
static |
Sets the setWidth value in the dialog.
Update the value in the edit control and the slider.
Definition at line 103 of file TerrainMaterial.cpp.
◆ updateLabel()
| void TerrainMaterial::updateLabel |
( |
void | | ) |
|
|
protected |
◆ updateTextures()
◆ updateTextureSelection()
| void TerrainMaterial::updateTextureSelection |
( |
void | | ) |
|
|
static |
◆ m_currentBgTexture
| Int TerrainMaterial::m_currentBgTexture |
|
staticprotected |
◆ m_currentFgTexture
| Int TerrainMaterial::m_currentFgTexture |
|
staticprotected |
◆ m_currentWidth
| Int TerrainMaterial::m_currentWidth |
|
protected |
◆ m_paintingPassable
| Bool TerrainMaterial::m_paintingPassable |
|
staticprotected |
◆ m_paintingPathingInfo
| Bool TerrainMaterial::m_paintingPathingInfo |
|
staticprotected |
◆ m_staticThis
◆ m_terrainSwatches
◆ m_terrainTreeView
| CTreeCtrl TerrainMaterial::m_terrainTreeView |
|
protected |
◆ m_updating
| Bool TerrainMaterial::m_updating |
|
protected |
◆ m_widthPopup
The documentation for this class was generated from the following files: