Attorney class for controlled access to UIComponent internals. More...
#include <UIAttorney.h>
Classes | |
class | GameLoop |
Attorney for game loop access to UIComponent methods. More... | |
Attorney class for controlled access to UIComponent internals.
The UIAttorney class provides friend-based, fine-grained access to certain internal methods of UIComponent and its derived types (such as Button) for specific engine systems (e.g., Canvas, Dropdown, ScrollList). This enables encapsulation and safe access to UI internals without exposing them publicly.
The nested GameLoop class exposes static methods for rendering, input handling, and type queries, which are used by UI containers and managers to interact with UI components in a controlled manner.