Versions in this module Expand all Collapse all v1 v1.0.10 Sep 10, 2021 v1.0.9 Apr 6, 2021 v1.0.8 Mar 14, 2021 v1.0.7 Mar 14, 2021 v1.0.6 Mar 7, 2021 v1.0.5 Mar 7, 2021 v1.0.4 Feb 26, 2021 v1.0.3 Feb 26, 2021 v1.0.2 Feb 24, 2021 v1.0.0 Feb 24, 2021 Changes in this version + func ColorWithAlpha(col color.Color, alpha uint8) color.Color + type CoordinateTranslator interface + TranslateX func(x int) int + TranslateY func(y int) int + type Event struct + Ignore bool + Modifiers KeyModifiers + Sender interface{} + func NewEvent(sender interface{}) *Event + func (c *Event) PosX() int + func (c *Event) PosY() int + func (c *Event) SetPosX(x int) + func (c *Event) SetPosY(y int) + type FormSizeChangedEvent struct + Height int + Width int + type FormTimer struct + Enabled bool + Handler func() + LastElapsedDTMSec int64 + Period int64 + func (c *FormTimer) StartTimer() + func (c *FormTimer) StopTimer() + type KeyCharEvent struct + Ch rune + type KeyDownEvent struct + Key glfw.Key + type KeyModifiers struct + Alt bool + Control bool + Shift bool + type KeyUpEvent struct + Key glfw.Key + type MouseButton int + const MouseButtonLeft + const MouseButtonMiddle + const MouseButtonRight + type MouseClickEvent struct + Button MouseButton + func (event *MouseClickEvent) Translate(w CoordinateTranslator) *MouseClickEvent + type MouseDblClickEvent struct + Button MouseButton + func (event *MouseDblClickEvent) Translate(w CoordinateTranslator) *MouseDblClickEvent + type MouseDownEvent struct + Button MouseButton + func NewMouseDownEvent(x, y int, button MouseButton, modifiers KeyModifiers) *MouseDownEvent + func (event *MouseDownEvent) Translate(w CoordinateTranslator) *MouseDownEvent + type MouseDropEvent struct + Button MouseButton + DroppingObject interface{} + func NewMouseDropEvent(x, y int, button MouseButton, modifiers KeyModifiers, ...) *MouseDropEvent + func (event *MouseDropEvent) Translate(w CoordinateTranslator) *MouseDropEvent + type MouseEvent struct + X int + Y int + func (c *MouseEvent) PosX() int + func (c *MouseEvent) PosY() int + func (c *MouseEvent) SetPosX(x int) + func (c *MouseEvent) SetPosY(y int) + type MouseMoveEvent struct + func (event *MouseMoveEvent) Translate(w CoordinateTranslator) *MouseMoveEvent + type MouseUpEvent struct + Button MouseButton + func (event *MouseUpEvent) Translate(w CoordinateTranslator) *MouseUpEvent + type MouseValidateDropEvent struct + AllowDrop bool + Button MouseButton + DroppingObject interface{} + func NewMouseValidateDropEvent(x, y int, button MouseButton, modifiers KeyModifiers, ...) *MouseValidateDropEvent + func (event *MouseValidateDropEvent) Translate(w CoordinateTranslator) *MouseValidateDropEvent + type MouseWheelEvent struct + Delta int + func (event *MouseWheelEvent) Translate(w CoordinateTranslator) *MouseWheelEvent + type UserDataContainer struct + TempData string + func (c *UserDataContainer) AllUserData() interface{} + func (c *UserDataContainer) Dispose() + func (c *UserDataContainer) InitDataContainer() + func (c *UserDataContainer) SetUserData(key string, data interface{}) + func (c *UserDataContainer) UserData(key string) interface{}