package ui import rl "github.com/gen2brain/raylib-go/raylib" type UIElement interface { Init(*Menu) Destroy() // Gets the scale width of the element. Works similar to CSS's 'flex-grow' GetOccupationWeight() float32 // Draw the element with the given size Draw(*rl.Rectangle) }