- per-control .go file, - separate file for style/property stuff, - added NumProperties enum to the list of properties for constraint checking, - should be no code changes
16 lines
427 B
Go
16 lines
427 B
Go
// Package raygui - Simple and easy-to-use IMGUI (immediate mode GUI API) library
|
|
|
|
package raygui
|
|
|
|
// GUI controls states
|
|
type ControlState int
|
|
|
|
const (
|
|
Disabled ControlState = iota
|
|
// Normal is the default state for rendering GUI elements.
|
|
Normal
|
|
// Focused indicates the mouse is hovering over the GUI element.
|
|
Focused
|
|
// Pressed indicates the mouse is hovering over the GUI element and LMB is pressed down.
|
|
Pressed
|
|
)
|