Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ActionMap tActionMap
ActionMap -
Functions ¶
Types ¶
type IAction ¶
IAction -
func NewAction ¶
func NewAction(name, eventKey, descr string, handler TEventHandler) IAction
NewAction -
type IEvent ¶
type IEvent interface { Time() time.Time Type() string EventKey() string Screen() interfaces.IScreen String() string }
IEvent -
type TDropFileEvent ¶
type TDropFileEvent struct { TWindowEvent // contains filtered or unexported fields }
TDropFileEvent -
func NewDropFileEvent ¶
func NewDropFileEvent(scr interfaces.IScreen, id int, s string) *TDropFileEvent
NewDropFileEvent -
type TKeyboardEvent ¶
type TKeyboardEvent struct { TWindowEvent // contains filtered or unexported fields }
TKeyboardEvent -
func NewKeyboardEvent ¶
func NewKeyboardEvent(scr interfaces.IScreen, id int, ch rune, scan int, x, y, mod int) *TKeyboardEvent
NewKeyboardEvent -
type TMouseButtonEvent ¶
type TMouseButtonEvent struct { TMouseMotionEvent // contains filtered or unexported fields }
TMouseButtonEvent -
func NewMouseButtonEvent ¶
func NewMouseButtonEvent(scr interfaces.IScreen, winID, x, y, state, button int) *TMouseButtonEvent
NewMouseButtonEvent -
type TMouseMotionEvent ¶
type TMouseMotionEvent struct { TWindowEvent // contains filtered or unexported fields }
TMouseMotionEvent -
func NewMouseMotionEvent ¶
func NewMouseMotionEvent(scr interfaces.IScreen, winID, x, y, xRel, yRel, state int) *TMouseMotionEvent
NewMouseMotionEvent -
type TWindowCloseEvent ¶
type TWindowCloseEvent struct {
TWindowEvent
}
TWindowCloseEvent -
func NewWindowCloseEvent ¶
func NewWindowCloseEvent(scr interfaces.IScreen, id int) *TWindowCloseEvent
NewWindowCloseEvent -
type TWindowEvent ¶
type TWindowEvent struct { TEvent // contains filtered or unexported fields }
TWindowEvent -
func NewWindowEvent ¶
func NewWindowEvent(scr interfaces.IScreen, id int) *TWindowEvent
NewWindowEvent -
type TWindowResizedEvent ¶
type TWindowResizedEvent struct { TWindowEvent // contains filtered or unexported fields }
TWindowResizedEvent -
func NewWindowResizedEvent ¶
func NewWindowResizedEvent(scr interfaces.IScreen, id, w, h, dw, dh int) *TWindowResizedEvent
NewWindowResizedEvent -