Declared in <XControls.h>
Declared from XGViewBasic control abstraction. A 'control' is basically a view which has a value. That value is then manipulated by the view's user interface.
Control Values
Minimum/Maximum Values
XGControl::GetMaxValue
XGControl::GetMinValue
XGControl::SetMaxValue
XGControl::SetMinValue
Public methods
XGControl::StripAmperstand
XGControl::XGControl
XGControl::XGControl
XGControl::~XGControl
Control Values
Usage: virtual long GetValue()=0
Gets the value of this control. This is an abstract method which needs to be overridden for controls.
Usage: virtual long GetValue()=0 virtual void SetValue(long)=0
Sets the value of this control. This is an abstract method which needs to be overridden for controls.
Minimum/Maximum Values
Usage: virtual long GetMinValue()=0 virtual long GetMaxValue()=0
Gets maximum value allowed by slider. This is an abstract method which needs to be overridden for controls.
Usage: virtual long GetMinValue()=0
Gets minimum value allowed by this slider. This is an abstract method which needs to be overridden for controls.
Usage: virtual long GetMinValue()=0 virtual long GetMaxValue()=0 virtual void SetMinValue(long)=0 virtual void SetMaxValue(long)=0
Sets the maximum value allowed by slider. This is an abstract method which needs to be overridden for controls.
Usage: virtual long GetMinValue()=0 virtual long GetMaxValue()=0 virtual void SetMinValue(long)=0
Sets the minimum value allowed by slider. This is an abstract method which needs to be overridden for controls.
Public methods
Usage: char*XGControl::StripAmperstand(char*out,const char*in)
Macintosh controls do not show the amperstand. But for controls which defer to the built-in controls, I have to strip amperstands out
Usage: XGControl::XGControl(XGOwner*view,XGArgStream&s):XGView(view,s)
Default constructor
Usage: XGCommandButton::~XGCommandButton()
Default constructor
Usage: XGControl::~XGControl()
Delete me