SUNENGINE 0.0.2
A simple and bright C++ game engine.
 
Loading...
Searching...
No Matches
UIAttorney Class Reference

Attorney class for controlled access to UIComponent internals. More...

#include <UIAttorney.h>

Classes

class  GameLoop
 Attorney for game loop access to UIComponent methods. More...
 

Detailed Description

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.

See also
UIComponent, Button, Canvas, Dropdown, ScrollList

The documentation for this class was generated from the following file: