Documentation ¶
Index ¶
- Constants
- func IsMouseMotionState(stateBitMask, state uint32) bool
- func IsRepeatButtonPress(event *sdl.KeyboardEvent) bool
- func PrintRendererInfos() error
- type SdlWrap
- func (sdlWrap SdlWrap) Handle() *backend.Handle
- func (sdlWrap SdlWrap) IsRunning() bool
- func (sdlWrap SdlWrap) PrepareFrame()
- func (sdlWrap SdlWrap) Quit()
- func (sdlWrap SdlWrap) RenderFramerate(x, y int32) error
- func (sdlWrap *SdlWrap) RenderGenerics()
- func (sdlWrap *SdlWrap) RenderWrap(wrap Wrap)
- func (sdlWrap SdlWrap) Renderer() *sdl.Renderer
- func (sdlWrap SdlWrap) ShowFrame()
- func (sdlWrap *SdlWrap) StopRunning()
- type Wrap
Constants ¶
View Source
const (
BUTTON_PRESSED, BUTTON_RELEASED = 1, 0
)
Variables ¶
This section is empty.
Functions ¶
func IsMouseMotionState ¶
func IsRepeatButtonPress ¶
func IsRepeatButtonPress(event *sdl.KeyboardEvent) bool
func PrintRendererInfos ¶
func PrintRendererInfos() error
Types ¶
type SdlWrap ¶
type SdlWrap struct {
// contains filtered or unexported fields
}
func (SdlWrap) PrepareFrame ¶
func (sdlWrap SdlWrap) PrepareFrame()
func (SdlWrap) RenderFramerate ¶
func (*SdlWrap) RenderGenerics ¶
func (sdlWrap *SdlWrap) RenderGenerics()
func (*SdlWrap) RenderWrap ¶
func (*SdlWrap) StopRunning ¶
func (sdlWrap *SdlWrap) StopRunning()
Click to show internal directories.
Click to hide internal directories.