package ui import rl "github.com/gen2brain/raylib-go/raylib" type Label struct { Text string } func (base *Label) Init(Menu) { } func (base *Label) Destroy() { } func (base *Label) Update() { } func (base *Label) Draw(position *rl.Rectangle) { // rl.TraceLog(rl.LogInfo, "Drawn at %v/%v/%v/%v", position.X, position.Y, position.Width, position.Height) rl.DrawRectangleRec(*position, rl.Green) }