package core:engine/gui
⌘K
Ctrl+K
or
/
Index
Types (3)
Constants (0)
This section is empty.
Variables (0)
This section is empty.
Procedures (2)
Procedure Groups (0)
This section is empty.
Types
gui_component ¶
gui_component :: struct { gui_pos: [2]f32, gui_center_pt: [2]f32, gui_scale: [2]f32, gui_match_proj: ^engine.projection, gui_rotation: f32, gui_align_x: pos_align_x, gui_align_y: pos_align_y, }
do subtype to itransform_object
Related Procedures With Parameters
pos_align_x ¶
pos_align_x :: enum int { center, left, right, }
pos_align_y ¶
pos_align_y :: enum int { middle, top, bottom, }
Constants
This section is empty.
Variables
This section is empty.
Procedures
gui_component_init ¶
gui_component_init :: proc(self: ^$T, self_component: ^gui_component) {…}
Initializes a GUI component with alignment and positioning
Inputs:
self: Pointer to the object to initialize (must be a subtype of iobject)
self_component: Pointer to the GUI component with positioning and alignment data
Returns:
None
gui_component_size ¶
gui_component_size :: proc(self: ^$T, self_component: ^gui_component) {…}
Initializes a GUI component and updates its transform matrix
Inputs:
self: Pointer to the object (must be a subtype of iobject)
self_component: Pointer to the GUI component
Returns:
None
Procedure Groups
This section is empty.
Source Files
Generation Information
Generated with odin version dev-v0.0.1 (vendor "odin") Linux_amd64 @ 2026-01-30 10:23:15.881692096 +0000 UTC