ebiten: github.com/hajimehoshi/ebiten/internal/uidriver/glfw Index | Files

package glfw

import "github.com/hajimehoshi/ebiten/internal/uidriver/glfw"

Index

Package Files

graphics_opengl.go hideconsole_notwindows.go input.go keys.go ui.go ui_unix.go window.go

type Input Uses

type Input struct {
    // contains filtered or unexported fields
}

func (*Input) CursorPosition Uses

func (i *Input) CursorPosition() (x, y int)

func (*Input) GamepadAxis Uses

func (i *Input) GamepadAxis(id int, axis int) float64

func (*Input) GamepadAxisNum Uses

func (i *Input) GamepadAxisNum(id int) int

func (*Input) GamepadButtonNum Uses

func (i *Input) GamepadButtonNum(id int) int

func (*Input) GamepadIDs Uses

func (i *Input) GamepadIDs() []int

func (*Input) GamepadName Uses

func (i *Input) GamepadName(id int) string

func (*Input) GamepadSDLID Uses

func (i *Input) GamepadSDLID(id int) string

func (*Input) IsGamepadButtonPressed Uses

func (i *Input) IsGamepadButtonPressed(id int, button driver.GamepadButton) bool

func (*Input) IsKeyPressed Uses

func (i *Input) IsKeyPressed(key driver.Key) bool

func (*Input) IsMouseButtonPressed Uses

func (i *Input) IsMouseButtonPressed(button driver.MouseButton) bool

func (*Input) ResetForFrame Uses

func (i *Input) ResetForFrame()

func (*Input) RuneBuffer Uses

func (i *Input) RuneBuffer() []rune

func (*Input) TouchIDs Uses

func (i *Input) TouchIDs() []int

func (*Input) TouchPosition Uses

func (i *Input) TouchPosition(id int) (x, y int)

func (*Input) Wheel Uses

func (i *Input) Wheel() (xoff, yoff float64)

type UserInterface Uses

type UserInterface struct {
    // contains filtered or unexported fields
}

func Get Uses

func Get() *UserInterface

func (*UserInterface) CursorMode Uses

func (u *UserInterface) CursorMode() driver.CursorMode

func (*UserInterface) DeviceScaleFactor Uses

func (u *UserInterface) DeviceScaleFactor() float64

func (*UserInterface) Graphics Uses

func (*UserInterface) Graphics() driver.Graphics

func (*UserInterface) Input Uses

func (u *UserInterface) Input() driver.Input

func (*UserInterface) IsForeground Uses

func (u *UserInterface) IsForeground() bool

func (*UserInterface) IsFullscreen Uses

func (u *UserInterface) IsFullscreen() bool

func (*UserInterface) IsRunnableInBackground Uses

func (u *UserInterface) IsRunnableInBackground() bool

func (*UserInterface) IsScreenTransparent Uses

func (u *UserInterface) IsScreenTransparent() bool

func (*UserInterface) IsVsyncEnabled Uses

func (u *UserInterface) IsVsyncEnabled() bool

func (*UserInterface) MonitorPosition Uses

func (u *UserInterface) MonitorPosition() (int, int)

func (*UserInterface) Run Uses

func (u *UserInterface) Run(uicontext driver.UIContext) error

func (*UserInterface) RunWithoutMainLoop Uses

func (u *UserInterface) RunWithoutMainLoop(width, height int, scale float64, title string, context driver.UIContext) <-chan error

func (*UserInterface) ScreenSizeInFullscreen Uses

func (u *UserInterface) ScreenSizeInFullscreen() (int, int)

func (*UserInterface) SetCursorMode Uses

func (u *UserInterface) SetCursorMode(mode driver.CursorMode)

func (*UserInterface) SetFullscreen Uses

func (u *UserInterface) SetFullscreen(fullscreen bool)

func (*UserInterface) SetRunnableInBackground Uses

func (u *UserInterface) SetRunnableInBackground(runnableInBackground bool)

func (*UserInterface) SetScreenTransparent Uses

func (u *UserInterface) SetScreenTransparent(transparent bool)

func (*UserInterface) SetVsyncEnabled Uses

func (u *UserInterface) SetVsyncEnabled(enabled bool)

func (*UserInterface) Window Uses

func (u *UserInterface) Window() driver.Window

Package glfw imports 15 packages (graph) and is imported by 3 packages. Updated 2020-01-21. Refresh now. Tools for package owners.