PointClickEngine::UI::MenuRenderer
Inherits Reference < Object
Handles visual rendering for menu systems
The MenuRenderer centralizes all rendering logic for menus including:
- Background and border rendering
- Text rendering with positioning
- Highlight effects and animations
- Layout calculations and positioning
Constructors
new
SourceInstance methods
animation
Sourceanimation=(animation : AnimationState)
Sourceauto_size
Sourceauto_size=(auto_size : Bool)
Sourcecalculate_content_bounds(bounds : RL::Rectangle) : RL::Rectangle
Calculates content area within menu bounds
center_vertically
Sourcecenter_vertically=(center_vertically : Bool)
Sourcedraw_selection_background(x : Float32, y : Float32, width : Float32, height : Float32)
Draws background highlight for selected items
draw_title(content_bounds : RL::Rectangle, title : String) : Int32
Draws menu title with proper positioning
Returns: Height of the drawn title
fade_speed
Sourcefade_speed=(fade_speed : Float32)
Sourcepulse_speed
Sourcepulse_speed=(pulse_speed : Float32)
Source