get the CTRL from CONTROLCL with the id
Set the color from the CURRENT-THEME or THEME when given.
- Set the color from a hexadecimal code, like #xFF0000FF.
- The order is a r g b.
Set a color from a palette of colors.
Return the encoded alpha, red, green, blue values of a color
Return the value color of the CURRENT-THEME or optionally given THEME.
Return the caption color of the CURRENT-THEME or optionally given THEME.
Return the active color of the CURRENT-THEME or optionally given THEME.
Return the background color of the CURRENT-THEME or optionally given THEME.
Return the foreground color of the CURRENT-THEME or optionally given THEME.
Return the version of the controlcl library
Initialize the controlcl library
Return a value between 0 and 1, expressing the relation of value to min-v and max-v.
Return true if the point x1,y1 is inside the rectangle x,y,w,h
ControlCL main class.
An instance holds references to all controllers and is reponsible for delegating events to them.
A controller is a visual element that can be drawn and interacted with.
A value event is an event that is generated by a value changing.
A key event is an event that is generated by the keyboard.
A mouse clicked event is an event that is generated by the mouse when a button is clicked.
A mouse event is an event that is generated by the mouse.
An event is a message sent from one object to another. If the target is nil the event is considered to be a broadcast event.