19#if !defined(AFX_BRUSHOPTIONS_H__6B56E20C_582E_4030_A251_879097C8853C__INCLUDED_)
20#define AFX_BRUSHOPTIONS_H__6B56E20C_582E_4030_A251_879097C8853C__INCLUDED_
58 virtual void OnOK(){
return;};
92 virtual
void GetPopSliderInfo(const
long sliderID,
long *pMin,
long *pMax,
long *pLineSize,
long *pInitial);
virtual void DoDataExchange(CDataExchange *pDX)
Windows default stuff.
static Int m_currentFeather
current feather width in the ui.
virtual void GetPopSliderInfo(const long sliderID, long *pMin, long *pMax, long *pLineSize, long *pInitial)
static void setFeather(Int feather)
Sets the feather value in the dialog.
static void setHeight(Int height)
afx_msg void OnChangeSizeEdit()
Handles width edit ui messages.
static BrushOptions * m_staticThis
Reference to the floating panel so SetWidth and SetFeather can be static.
BrushOptions(CWnd *pParent=NULL)
BrushOptions dialog trivial construstor - Create does the real work.
WBPopupSliderButton m_brushWidthPopup
afx_msg void OnChangeHeightEdit()
Handles width edit ui messages.
static void setWidth(Int width)
Sets the brush width value in the dialog.
virtual void PopSliderChanged(const long sliderID, long theVal)
afx_msg void OnChangeFeatherEdit()
Handles feather edit ui messages.
virtual void OnCancel()
Modeless dialogs don't OK, so eat this for modeless.
virtual void PopSliderFinished(const long sliderID, long theVal)
static Int m_currentWidth
current brush width in the ui.
WBPopupSliderButton m_brushHeightPopup
static Int m_currentHeight
Bool m_updating
true if the ui is updating itself.
WBPopupSliderButton m_brushFeatherPopup
virtual BOOL OnInitDialog()
Modeless dialogs don't close on ESC, so eat this for modeless.
COptionsPanel(Int dlgid=0, CWnd *pParent=NULL)