Skip to main content

ControlBase

The ControlBase class serves as the foundation for creating various user interface controls. It provides essential functionalities for control creation, position management, and updates to control states, styles, and interactions. The class allows for control initialization and clearing, creation of canvas elements, and provides functionality to manage control visibility and state changes. It includes methods for updating control properties like position, style, mouse input, keyboard input, and control expansion. It also includes utilities for managing control states and rendering through canvases, making it suitable as a base class for more specific control implementations.

#include <interface/TellusimControls.h>

Inheritance