Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DrawBorder ¶
func DrawBorder(pos rl.RectangleInt32, style Style)
Types ¶
type Style ¶
type Style struct { // BackgroundColor is the color of the background of all widgets. BackgroundColor rl.Color `json:"backgroundColor"` // FontColor FontColor rl.Color `json:"fontColor"` // FontSize is the... font size. FontSize float64 `json:"fontSize"` // FontSpacing is the space between the letters. It might be called letter // spacing in other places FontSpacing float64 `json:"fontSpacing"` // BorderWidth is the... Width of the borders. It's not that hard BorderWidth float64 `json:"borderWidth"` // BorderColor is the color of the borders. I wish they were all this easy. BorderColor rl.Color `json:"borderColor"` }
type StyleConfig ¶
type StyleConfig struct { Base Style `json:"base"` Hovered Style `json:"hover"` Held Style `json:"held"` }
func (StyleConfig) Apply ¶
func (sc StyleConfig) Apply() error
Click to show internal directories.
Click to hide internal directories.