The Control class is the base class for buttons, text, edits, selectors and icons.
-
Returns the value property.
-
If fENABLE is TRUE, it enables the control. Otherwise, it disables it.
-
If fSELECT is TRUE, it selects the control. Otherwise, it deselects it. It then draws the updated control.
-
If pEvent's claimed property is FALSE, it returns FALSE. Otherwise, it tracks it and returns whether it's tracked or not.
-
Returns TRUE s the mouse cursor is over the control. FALSE otherwise.
-
Tracks the control, highlighting it if it's selected. It returns a poiter to the control.
-
In the base Control class, this is just an empty place holder.
-
Moves the control theX pixels horizontally, and theY pixels vertically.
-
Moves the control to the newX and newY positions.
-
Draws the control.
-
Returns TRUE if the control's type is aType, otherwise, FALSE.
-
Returns TRUE if the control's state is aState, otherwise, FALSE.
-
In the base Control class, this is just an empty place holder.