Documentation ¶
Index ¶
- Variables
- func AddWindow(windowID string, window WindowData) error
- func CloseWindow(windowID string) error
- func DeleteWindow(windowID string) error
- func DrawWindows(screen *ebiten.Image)
- func OpenWindow(windowID string) error
- func UpdateWindow(windowID string, window WindowData) error
- func UpdateWindowItems(windowID string, windowItems []WindowItemData) error
- type V2i
- type WindowData
- type WindowItemData
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultWinSettings = WindowData{ HasTitleBar: true, Closable: true, Movable: true, TitleColor: color.RGBA{R: 255, G: 255, B: 255, A: 255}, TitleBGColor: color.RGBA{R: 32, G: 32, B: 32, A: 255}, TitleButtonColor: color.RGBA{R: 255, G: 255, B: 255, A: 255}, BGColor: color.RGBA{R: 16, G: 16, B: 16, A: 255}, }
Functions ¶
func AddWindow ¶
func AddWindow(windowID string, window WindowData) error
Add a window. Returns true if added
func CloseWindow ¶
func DeleteWindow ¶
Delete a window. Returns true if deleted
func OpenWindow ¶
func UpdateWindow ¶
func UpdateWindow(windowID string, window WindowData) error
Update a window. Returns true if updated
func UpdateWindowItems ¶
func UpdateWindowItems(windowID string, windowItems []WindowItemData) error
Update window items. Returns true if updated
Types ¶
type WindowData ¶
Click to show internal directories.
Click to hide internal directories.