Describes minimum required functionality from Toggle button widget.
You can find more information in comments below. Overrided methods can be found in corresponding base interface.
class IToggle :public virtual IControl
{
public:
virtual bool isOn() = 0; // Return whether the widget is in "on" or "off" state
virtual bool setOn(const bool value) = 0; // Set whether the widget is in "on" or "off" state
virtual void Toggle() = 0; // Toggle state
};
Namespace: | nitisa::standard |
Include: | Standard/Controls/IToggle.h |