Documentation ¶
Index ¶
- type AudioOut
- type Window
- func (w *Window) Close()
- func (w *Window) HandleHotKeys()
- func (w *Window) InFocus() bool
- func (w *Window) Refresh()
- func (w *Window) SetFrameRate(fps int)
- func (w *Window) SetGrayscale(grayscale bool)
- func (w *Window) SetPingInfo(pingMs int64)
- func (w *Window) SetTitle(title string)
- func (w *Window) ShouldClose() bool
- func (w *Window) UpdateJoystick()
- func (w *Window) UpdateZapper()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AudioOut ¶
type AudioOut struct {
// contains filtered or unexported fields
}
func CreateAudio ¶
func (*AudioOut) IsStreamProcessed ¶
func (*AudioOut) ToggleMute ¶
func (s *AudioOut) ToggleMute()
func (*AudioOut) UpdateStream ¶
func (*AudioOut) WaitStreamProcessed ¶
func (s *AudioOut) WaitStreamProcessed()
type Window ¶
type Window struct { ZapperDelegate func(brightness uint8, trigger bool) InputDelegate func(buttons uint8) MuteDelegate func() ResyncDelegate func() ResetDelegate func() ShowPing bool ShowFPS bool FPS int // contains filtered or unexported fields }
func CreateWindow ¶
func (*Window) HandleHotKeys ¶
func (w *Window) HandleHotKeys()
func (*Window) SetFrameRate ¶
func (*Window) SetGrayscale ¶
func (*Window) SetPingInfo ¶
func (*Window) ShouldClose ¶
func (*Window) UpdateJoystick ¶
func (w *Window) UpdateJoystick()
func (*Window) UpdateZapper ¶
func (w *Window) UpdateZapper()
Click to show internal directories.
Click to hide internal directories.