#include <MoundOptions.h>
Inherits COptionsPanel, and PopupSliderOwner.
|
| static void | setWidth (Int width) |
| | Sets the brush width value in the dialog.
|
| |
| static void | setFeather (Int feather) |
| | Sets the feather value in the dialog.
|
| |
| static void | setHeight (Int height) |
| |
Definition at line 33 of file MoundOptions.h.
◆ anonymous enum
| Enumerator |
|---|
| MIN_BRUSH_SIZE | |
| MAX_BRUSH_SIZE | |
| MIN_FEATHER | |
| MAX_FEATHER | |
Definition at line 43 of file MoundOptions.h.
◆ anonymous enum
◆ anonymous enum
| Enumerator |
|---|
| MIN_MOUND_HEIGHT | |
| MAX_MOUND_HEIGHT | |
Definition at line 37 of file MoundOptions.h.
◆ MoundOptions()
| MoundOptions::MoundOptions |
( |
CWnd * | pParent = NULL | ) |
|
◆ DoDataExchange()
| void MoundOptions::DoDataExchange |
( |
CDataExchange * | pDX | ) |
|
|
protectedvirtual |
◆ GetPopSliderInfo()
| void MoundOptions::GetPopSliderInfo |
( |
const long | sliderID, |
|
|
long * | pMin, |
|
|
long * | pMax, |
|
|
long * | pLineSize, |
|
|
long * | pInitial ) |
|
virtual |
◆ OnCancel()
| virtual void MoundOptions::OnCancel |
( |
| ) |
|
|
inlineprotectedvirtual |
Modeless dialogs don't OK, so eat this for modeless.
Definition at line 63 of file MoundOptions.h.
◆ OnChangeFeatherEdit()
| void MoundOptions::OnChangeFeatherEdit |
( |
| ) |
|
|
protected |
Handles feather edit ui messages.
Gets the new edit control text, converts it to an int, then updates the slider and brush tool.
Definition at line 120 of file MoundOptions.cpp.
◆ OnChangeHeightEdit()
| void MoundOptions::OnChangeHeightEdit |
( |
| ) |
|
|
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 166 of file MoundOptions.cpp.
◆ OnChangeSizeEdit()
| void MoundOptions::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 143 of file MoundOptions.cpp.
◆ OnInitDialog()
| BOOL MoundOptions::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 98 of file MoundOptions.cpp.
◆ OnOK()
| virtual void MoundOptions::OnOK |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ PopSliderChanged()
| void MoundOptions::PopSliderChanged |
( |
const long | sliderID, |
|
|
long | theVal ) |
|
virtual |
◆ PopSliderFinished()
| void MoundOptions::PopSliderFinished |
( |
const long | sliderID, |
|
|
long | theVal ) |
|
virtual |
◆ setFeather()
| void MoundOptions::setFeather |
( |
Int | feather | ) |
|
|
static |
Sets the feather value in the dialog.
Update the value in the edit control and the slider.
Definition at line 55 of file MoundOptions.cpp.
◆ setHeight()
| void MoundOptions::setHeight |
( |
Int | height | ) |
|
|
static |
◆ setWidth()
| void MoundOptions::setWidth |
( |
Int | width | ) |
|
|
static |
Sets the brush width value in the dialog.
Update the value in the edit control and the slider.
Definition at line 68 of file MoundOptions.cpp.
◆ m_brushFeatherPopup
◆ m_brushHeightPopup
◆ m_brushWidthPopup
◆ m_currentFeather
| Int MoundOptions::m_currentFeather = 0 |
|
staticprotected |
◆ m_currentHeight
| Int MoundOptions::m_currentHeight = 0 |
|
staticprotected |
◆ m_currentWidth
| Int MoundOptions::m_currentWidth = 0 |
|
staticprotected |
◆ m_staticThis
Reference to the floating panel so SetWidth and SetFeather can be static.
Definition at line 79 of file MoundOptions.h.
◆ m_updating
| Bool MoundOptions::m_updating |
|
protected |
true if the ui is updating itself.
Definition at line 84 of file MoundOptions.h.
The documentation for this class was generated from the following files: