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

package glfw

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

Index

Package Files

hideconsole_notwindows.go input.go keys.go ui.go ui_unix.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) 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) DeviceScaleFactor Uses

func (u *UserInterface) DeviceScaleFactor() float64

func (*UserInterface) Input Uses

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

func (*UserInterface) IsCursorVisible Uses

func (u *UserInterface) IsCursorVisible() bool

func (*UserInterface) IsFullscreen Uses

func (u *UserInterface) IsFullscreen() bool

func (*UserInterface) IsRunnableInBackground Uses

func (u *UserInterface) IsRunnableInBackground() bool

func (*UserInterface) IsVsyncEnabled Uses

func (u *UserInterface) IsVsyncEnabled() bool

func (*UserInterface) IsWindowDecorated Uses

func (u *UserInterface) IsWindowDecorated() bool

func (*UserInterface) IsWindowResizable Uses

func (u *UserInterface) IsWindowResizable() bool

func (*UserInterface) Run Uses

func (u *UserInterface) Run(width, height int, scale float64, title string, uicontext driver.UIContext, graphics driver.Graphics) error

func (*UserInterface) RunWithoutMainLoop Uses

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

func (*UserInterface) ScreenPadding Uses

func (u *UserInterface) ScreenPadding() (x0, y0, x1, y1 float64)

func (*UserInterface) ScreenScale Uses

func (u *UserInterface) ScreenScale() float64

func (*UserInterface) ScreenSizeInFullscreen Uses

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

func (*UserInterface) SetCursorVisible Uses

func (u *UserInterface) SetCursorVisible(visible bool)

func (*UserInterface) SetFullscreen Uses

func (u *UserInterface) SetFullscreen(fullscreen bool)

func (*UserInterface) SetRunnableInBackground Uses

func (u *UserInterface) SetRunnableInBackground(runnableInBackground bool)

func (*UserInterface) SetScreenScale Uses

func (u *UserInterface) SetScreenScale(scale float64)

func (*UserInterface) SetScreenSize Uses

func (u *UserInterface) SetScreenSize(width, height int)

func (*UserInterface) SetVsyncEnabled Uses

func (u *UserInterface) SetVsyncEnabled(enabled bool)

func (*UserInterface) SetWindowDecorated Uses

func (u *UserInterface) SetWindowDecorated(decorated bool)

func (*UserInterface) SetWindowIcon Uses

func (u *UserInterface) SetWindowIcon(iconImages []image.Image)

func (*UserInterface) SetWindowResizable Uses

func (u *UserInterface) SetWindowResizable(resizable bool)

func (*UserInterface) SetWindowTitle Uses

func (u *UserInterface) SetWindowTitle(title string)

Package glfw imports 11 packages (graph) and is imported by 1 packages. Updated 2019-09-10. Refresh now. Tools for package owners.