Documentation ¶
Index ¶
- Constants
- Variables
- func DeleteSfContextSettings(arg1 SfContextSettings)
- func DeleteSfEvent(arg1 SfEvent)
- func DeleteSfJoystickButtonEvent(arg1 SfJoystickButtonEvent)
- func DeleteSfJoystickConnectEvent(arg1 SfJoystickConnectEvent)
- func DeleteSfJoystickIdentification(arg1 SfJoystickIdentification)
- func DeleteSfJoystickMoveEvent(arg1 SfJoystickMoveEvent)
- func DeleteSfKeyEvent(arg1 SfKeyEvent)
- func DeleteSfMouseButtonEvent(arg1 SfMouseButtonEvent)
- func DeleteSfMouseMoveEvent(arg1 SfMouseMoveEvent)
- func DeleteSfMouseWheelEvent(arg1 SfMouseWheelEvent)
- func DeleteSfMouseWheelScrollEvent(arg1 SfMouseWheelScrollEvent)
- func DeleteSfSensorEvent(arg1 SfSensorEvent)
- func DeleteSfSizeEvent(arg1 SfSizeEvent)
- func DeleteSfTextEvent(arg1 SfTextEvent)
- func DeleteSfTouchEvent(arg1 SfTouchEvent)
- func DeleteSfVector2f(arg1 SfVector2f)
- func DeleteSfVector2i(arg1 SfVector2i)
- func DeleteSfVector2u(arg1 SfVector2u)
- func DeleteSfVector3f(arg1 SfVector3f)
- func DeleteSfVideoMode(arg1 SfVideoMode)
- func SfClipboard_getString() (_swig_ret string)
- func SfClipboard_getUnicodeString() (_swig_ret *uint)
- func SfClipboard_setString(arg1 string)
- func SfClipboard_setUnicodeString(arg1 *uint)
- func SfContext_destroy(arg1 Struct_SS_sfContext)
- func SfContext_getActiveContextId() (_swig_ret uint64)
- func SfContext_setActive(arg1 Struct_SS_sfContext, arg2 int) (_swig_ret int)
- func SfCursor_destroy(arg1 Struct_SS_sfCursor)
- func SfJoystick_getAxisPosition(arg1 uint, arg2 SfJoystickAxis) (_swig_ret float32)
- func SfJoystick_getButtonCount(arg1 uint) (_swig_ret uint)
- func SfJoystick_hasAxis(arg1 uint, arg2 SfJoystickAxis) (_swig_ret int)
- func SfJoystick_isButtonPressed(arg1 uint, arg2 uint) (_swig_ret int)
- func SfJoystick_isConnected(arg1 uint) (_swig_ret int)
- func SfJoystick_update()
- func SfKeyboard_isKeyPressed(arg1 SfKeyCode) (_swig_ret int)
- func SfKeyboard_setVirtualKeyboardVisible(arg1 int)
- func SfMouse_isButtonPressed(arg1 SfMouseButton) (_swig_ret int)
- func SfMouse_setPosition(arg1 SfVector2i, arg2 Struct_SS_sfWindow)
- func SfSensor_isAvailable(arg1 SfSensorType) (_swig_ret int)
- func SfSensor_setEnabled(arg1 SfSensorType, arg2 int)
- func SfTouch_isDown(arg1 uint) (_swig_ret int)
- func SfVideoMode_isValid(arg1 SfVideoMode) (_swig_ret int)
- func SfWindow_close(arg1 Struct_SS_sfWindow)
- func SfWindow_destroy(arg1 Struct_SS_sfWindow)
- func SfWindow_display(arg1 Struct_SS_sfWindow)
- func SfWindow_getSystemHandle(arg1 Struct_SS_sfWindow) (_swig_ret uintptr)
- func SfWindow_hasFocus(arg1 Struct_SS_sfWindow) (_swig_ret int)
- func SfWindow_isOpen(arg1 Struct_SS_sfWindow) (_swig_ret int)
- func SfWindow_pollEvent(arg1 Struct_SS_sfWindow, arg2 SfEvent) (_swig_ret int)
- func SfWindow_requestFocus(arg1 Struct_SS_sfWindow)
- func SfWindow_setActive(arg1 Struct_SS_sfWindow, arg2 int) (_swig_ret int)
- func SfWindow_setFramerateLimit(arg1 Struct_SS_sfWindow, arg2 uint)
- func SfWindow_setIcon(arg1 Struct_SS_sfWindow, arg2 uint, arg3 uint, arg4 *byte)
- func SfWindow_setJoystickThreshold(arg1 Struct_SS_sfWindow, arg2 float32)
- func SfWindow_setKeyRepeatEnabled(arg1 Struct_SS_sfWindow, arg2 int)
- func SfWindow_setMouseCursor(arg1 Struct_SS_sfWindow, arg2 Struct_SS_sfCursor)
- func SfWindow_setMouseCursorGrabbed(arg1 Struct_SS_sfWindow, arg2 int)
- func SfWindow_setMouseCursorVisible(arg1 Struct_SS_sfWindow, arg2 int)
- func SfWindow_setPosition(arg1 Struct_SS_sfWindow, arg2 SfVector2i)
- func SfWindow_setSize(arg1 Struct_SS_sfWindow, arg2 SfVector2u)
- func SfWindow_setTitle(arg1 Struct_SS_sfWindow, arg2 string)
- func SfWindow_setUnicodeTitle(arg1 Struct_SS_sfWindow, arg2 *uint)
- func SfWindow_setVerticalSyncEnabled(arg1 Struct_SS_sfWindow, arg2 int)
- func SfWindow_setVisible(arg1 Struct_SS_sfWindow, arg2 int)
- func SfWindow_waitEvent(arg1 Struct_SS_sfWindow, arg2 SfEvent) (_swig_ret int)
- func Swig_free(arg1 uintptr)
- func Swig_malloc(arg1 int) (_swig_ret uintptr)
- type SfContextAttribute
- type SfContextSettings
- type SfCursorType
- type SfEvent
- type SfEventType
- type SfJoystickAxis
- type SfJoystickButtonEvent
- type SfJoystickConnectEvent
- type SfJoystickIdentification
- type SfJoystickMoveEvent
- type SfKeyCode
- type SfKeyEvent
- type SfMouseButton
- type SfMouseButtonEvent
- type SfMouseMoveEvent
- type SfMouseWheel
- type SfMouseWheelEvent
- type SfMouseWheelScrollEvent
- type SfSensorEvent
- type SfSensorType
- type SfSizeEvent
- type SfTextEvent
- type SfTouchEvent
- type SfVector2f
- type SfVector2i
- type SfVector2u
- type SfVector3f
- type SfVideoMode
- type SfWindowStyle
- type Struct_SS_sfContext
- type Struct_SS_sfCursor
- type Struct_SS_sfWindow
- func SfWindow_create(arg1 SfVideoMode, arg2 string, arg3 uint, arg4 SfContextSettings) (_swig_ret Struct_SS_sfWindow)
- func SfWindow_createFromHandle(arg1 uintptr, arg2 SfContextSettings) (_swig_ret Struct_SS_sfWindow)
- func SfWindow_createUnicode(arg1 SfVideoMode, arg2 *uint, arg3 uint, arg4 SfContextSettings) (_swig_ret Struct_SS_sfWindow)
- type SwigcptrSfContextSettings
- func (arg1 SwigcptrSfContextSettings) GetAntialiasingLevel() (_swig_ret uint)
- func (arg1 SwigcptrSfContextSettings) GetAttributeFlags() (_swig_ret uint)
- func (arg1 SwigcptrSfContextSettings) GetDepthBits() (_swig_ret uint)
- func (arg1 SwigcptrSfContextSettings) GetMajorVersion() (_swig_ret uint)
- func (arg1 SwigcptrSfContextSettings) GetMinorVersion() (_swig_ret uint)
- func (arg1 SwigcptrSfContextSettings) GetSRgbCapable() (_swig_ret int)
- func (arg1 SwigcptrSfContextSettings) GetStencilBits() (_swig_ret uint)
- func (arg1 SwigcptrSfContextSettings) SetAntialiasingLevel(arg2 uint)
- func (arg1 SwigcptrSfContextSettings) SetAttributeFlags(arg2 uint)
- func (arg1 SwigcptrSfContextSettings) SetDepthBits(arg2 uint)
- func (arg1 SwigcptrSfContextSettings) SetMajorVersion(arg2 uint)
- func (arg1 SwigcptrSfContextSettings) SetMinorVersion(arg2 uint)
- func (arg1 SwigcptrSfContextSettings) SetSRgbCapable(arg2 int)
- func (arg1 SwigcptrSfContextSettings) SetStencilBits(arg2 uint)
- func (p SwigcptrSfContextSettings) SwigIsSfContextSettings()
- func (p SwigcptrSfContextSettings) Swigcptr() uintptr
- type SwigcptrSfEvent
- func (arg1 SwigcptrSfEvent) GetEvType() (_swig_ret SfEventType)
- func (arg1 SwigcptrSfEvent) GetJoystickButton() (_swig_ret SfJoystickButtonEvent)
- func (arg1 SwigcptrSfEvent) GetJoystickConnect() (_swig_ret SfJoystickConnectEvent)
- func (arg1 SwigcptrSfEvent) GetJoystickMove() (_swig_ret SfJoystickMoveEvent)
- func (arg1 SwigcptrSfEvent) GetKey() (_swig_ret SfKeyEvent)
- func (arg1 SwigcptrSfEvent) GetMouseButton() (_swig_ret SfMouseButtonEvent)
- func (arg1 SwigcptrSfEvent) GetMouseMove() (_swig_ret SfMouseMoveEvent)
- func (arg1 SwigcptrSfEvent) GetMouseWheel() (_swig_ret SfMouseWheelEvent)
- func (arg1 SwigcptrSfEvent) GetMouseWheelScroll() (_swig_ret SfMouseWheelScrollEvent)
- func (arg1 SwigcptrSfEvent) GetSensor() (_swig_ret SfSensorEvent)
- func (arg1 SwigcptrSfEvent) GetSize() (_swig_ret SfSizeEvent)
- func (arg1 SwigcptrSfEvent) GetText() (_swig_ret SfTextEvent)
- func (arg1 SwigcptrSfEvent) GetTouch() (_swig_ret SfTouchEvent)
- func (arg1 SwigcptrSfEvent) SetEvType(arg2 SfEventType)
- func (arg1 SwigcptrSfEvent) SetJoystickButton(arg2 SfJoystickButtonEvent)
- func (arg1 SwigcptrSfEvent) SetJoystickConnect(arg2 SfJoystickConnectEvent)
- func (arg1 SwigcptrSfEvent) SetJoystickMove(arg2 SfJoystickMoveEvent)
- func (arg1 SwigcptrSfEvent) SetKey(arg2 SfKeyEvent)
- func (arg1 SwigcptrSfEvent) SetMouseButton(arg2 SfMouseButtonEvent)
- func (arg1 SwigcptrSfEvent) SetMouseMove(arg2 SfMouseMoveEvent)
- func (arg1 SwigcptrSfEvent) SetMouseWheel(arg2 SfMouseWheelEvent)
- func (arg1 SwigcptrSfEvent) SetMouseWheelScroll(arg2 SfMouseWheelScrollEvent)
- func (arg1 SwigcptrSfEvent) SetSensor(arg2 SfSensorEvent)
- func (arg1 SwigcptrSfEvent) SetSize(arg2 SfSizeEvent)
- func (arg1 SwigcptrSfEvent) SetText(arg2 SfTextEvent)
- func (arg1 SwigcptrSfEvent) SetTouch(arg2 SfTouchEvent)
- func (p SwigcptrSfEvent) SwigIsSfEvent()
- func (p SwigcptrSfEvent) Swigcptr() uintptr
- type SwigcptrSfJoystickButtonEvent
- func (arg1 SwigcptrSfJoystickButtonEvent) GetButton() (_swig_ret uint)
- func (arg1 SwigcptrSfJoystickButtonEvent) GetEvType() (_swig_ret SfEventType)
- func (arg1 SwigcptrSfJoystickButtonEvent) GetJoystickId() (_swig_ret uint)
- func (arg1 SwigcptrSfJoystickButtonEvent) SetButton(arg2 uint)
- func (arg1 SwigcptrSfJoystickButtonEvent) SetEvType(arg2 SfEventType)
- func (arg1 SwigcptrSfJoystickButtonEvent) SetJoystickId(arg2 uint)
- func (p SwigcptrSfJoystickButtonEvent) SwigIsSfJoystickButtonEvent()
- func (p SwigcptrSfJoystickButtonEvent) Swigcptr() uintptr
- type SwigcptrSfJoystickConnectEvent
- func (arg1 SwigcptrSfJoystickConnectEvent) GetEvType() (_swig_ret SfEventType)
- func (arg1 SwigcptrSfJoystickConnectEvent) GetJoystickId() (_swig_ret uint)
- func (arg1 SwigcptrSfJoystickConnectEvent) SetEvType(arg2 SfEventType)
- func (arg1 SwigcptrSfJoystickConnectEvent) SetJoystickId(arg2 uint)
- func (p SwigcptrSfJoystickConnectEvent) SwigIsSfJoystickConnectEvent()
- func (p SwigcptrSfJoystickConnectEvent) Swigcptr() uintptr
- type SwigcptrSfJoystickIdentification
- func (arg1 SwigcptrSfJoystickIdentification) GetName() (_swig_ret string)
- func (arg1 SwigcptrSfJoystickIdentification) GetProductId() (_swig_ret uint)
- func (arg1 SwigcptrSfJoystickIdentification) GetVendorId() (_swig_ret uint)
- func (arg1 SwigcptrSfJoystickIdentification) SetName(arg2 string)
- func (arg1 SwigcptrSfJoystickIdentification) SetProductId(arg2 uint)
- func (arg1 SwigcptrSfJoystickIdentification) SetVendorId(arg2 uint)
- func (p SwigcptrSfJoystickIdentification) SwigIsSfJoystickIdentification()
- func (p SwigcptrSfJoystickIdentification) Swigcptr() uintptr
- type SwigcptrSfJoystickMoveEvent
- func (arg1 SwigcptrSfJoystickMoveEvent) GetAxis() (_swig_ret SfJoystickAxis)
- func (arg1 SwigcptrSfJoystickMoveEvent) GetEvType() (_swig_ret SfEventType)
- func (arg1 SwigcptrSfJoystickMoveEvent) GetJoystickId() (_swig_ret uint)
- func (arg1 SwigcptrSfJoystickMoveEvent) GetPosition() (_swig_ret float32)
- func (arg1 SwigcptrSfJoystickMoveEvent) SetAxis(arg2 SfJoystickAxis)
- func (arg1 SwigcptrSfJoystickMoveEvent) SetEvType(arg2 SfEventType)
- func (arg1 SwigcptrSfJoystickMoveEvent) SetJoystickId(arg2 uint)
- func (arg1 SwigcptrSfJoystickMoveEvent) SetPosition(arg2 float32)
- func (p SwigcptrSfJoystickMoveEvent) SwigIsSfJoystickMoveEvent()
- func (p SwigcptrSfJoystickMoveEvent) Swigcptr() uintptr
- type SwigcptrSfKeyEvent
- func (arg1 SwigcptrSfKeyEvent) GetAlt() (_swig_ret int)
- func (arg1 SwigcptrSfKeyEvent) GetCode() (_swig_ret SfKeyCode)
- func (arg1 SwigcptrSfKeyEvent) GetControl() (_swig_ret int)
- func (arg1 SwigcptrSfKeyEvent) GetEvType() (_swig_ret SfEventType)
- func (arg1 SwigcptrSfKeyEvent) GetShift() (_swig_ret int)
- func (arg1 SwigcptrSfKeyEvent) GetSystem() (_swig_ret int)
- func (arg1 SwigcptrSfKeyEvent) SetAlt(arg2 int)
- func (arg1 SwigcptrSfKeyEvent) SetCode(arg2 SfKeyCode)
- func (arg1 SwigcptrSfKeyEvent) SetControl(arg2 int)
- func (arg1 SwigcptrSfKeyEvent) SetEvType(arg2 SfEventType)
- func (arg1 SwigcptrSfKeyEvent) SetShift(arg2 int)
- func (arg1 SwigcptrSfKeyEvent) SetSystem(arg2 int)
- func (p SwigcptrSfKeyEvent) SwigIsSfKeyEvent()
- func (p SwigcptrSfKeyEvent) Swigcptr() uintptr
- type SwigcptrSfMouseButtonEvent
- func (arg1 SwigcptrSfMouseButtonEvent) GetButton() (_swig_ret SfMouseButton)
- func (arg1 SwigcptrSfMouseButtonEvent) GetEvType() (_swig_ret SfEventType)
- func (arg1 SwigcptrSfMouseButtonEvent) GetX() (_swig_ret int)
- func (arg1 SwigcptrSfMouseButtonEvent) GetY() (_swig_ret int)
- func (arg1 SwigcptrSfMouseButtonEvent) SetButton(arg2 SfMouseButton)
- func (arg1 SwigcptrSfMouseButtonEvent) SetEvType(arg2 SfEventType)
- func (arg1 SwigcptrSfMouseButtonEvent) SetX(arg2 int)
- func (arg1 SwigcptrSfMouseButtonEvent) SetY(arg2 int)
- func (p SwigcptrSfMouseButtonEvent) SwigIsSfMouseButtonEvent()
- func (p SwigcptrSfMouseButtonEvent) Swigcptr() uintptr
- type SwigcptrSfMouseMoveEvent
- func (arg1 SwigcptrSfMouseMoveEvent) GetEvType() (_swig_ret SfEventType)
- func (arg1 SwigcptrSfMouseMoveEvent) GetX() (_swig_ret int)
- func (arg1 SwigcptrSfMouseMoveEvent) GetY() (_swig_ret int)
- func (arg1 SwigcptrSfMouseMoveEvent) SetEvType(arg2 SfEventType)
- func (arg1 SwigcptrSfMouseMoveEvent) SetX(arg2 int)
- func (arg1 SwigcptrSfMouseMoveEvent) SetY(arg2 int)
- func (p SwigcptrSfMouseMoveEvent) SwigIsSfMouseMoveEvent()
- func (p SwigcptrSfMouseMoveEvent) Swigcptr() uintptr
- type SwigcptrSfMouseWheelEvent
- func (arg1 SwigcptrSfMouseWheelEvent) GetDelta() (_swig_ret int)
- func (arg1 SwigcptrSfMouseWheelEvent) GetEvType() (_swig_ret SfEventType)
- func (arg1 SwigcptrSfMouseWheelEvent) GetX() (_swig_ret int)
- func (arg1 SwigcptrSfMouseWheelEvent) GetY() (_swig_ret int)
- func (arg1 SwigcptrSfMouseWheelEvent) SetDelta(arg2 int)
- func (arg1 SwigcptrSfMouseWheelEvent) SetEvType(arg2 SfEventType)
- func (arg1 SwigcptrSfMouseWheelEvent) SetX(arg2 int)
- func (arg1 SwigcptrSfMouseWheelEvent) SetY(arg2 int)
- func (p SwigcptrSfMouseWheelEvent) SwigIsSfMouseWheelEvent()
- func (p SwigcptrSfMouseWheelEvent) Swigcptr() uintptr
- type SwigcptrSfMouseWheelScrollEvent
- func (arg1 SwigcptrSfMouseWheelScrollEvent) GetDelta() (_swig_ret float32)
- func (arg1 SwigcptrSfMouseWheelScrollEvent) GetEvType() (_swig_ret SfEventType)
- func (arg1 SwigcptrSfMouseWheelScrollEvent) GetWheel() (_swig_ret SfMouseWheel)
- func (arg1 SwigcptrSfMouseWheelScrollEvent) GetX() (_swig_ret int)
- func (arg1 SwigcptrSfMouseWheelScrollEvent) GetY() (_swig_ret int)
- func (arg1 SwigcptrSfMouseWheelScrollEvent) SetDelta(arg2 float32)
- func (arg1 SwigcptrSfMouseWheelScrollEvent) SetEvType(arg2 SfEventType)
- func (arg1 SwigcptrSfMouseWheelScrollEvent) SetWheel(arg2 SfMouseWheel)
- func (arg1 SwigcptrSfMouseWheelScrollEvent) SetX(arg2 int)
- func (arg1 SwigcptrSfMouseWheelScrollEvent) SetY(arg2 int)
- func (p SwigcptrSfMouseWheelScrollEvent) SwigIsSfMouseWheelScrollEvent()
- func (p SwigcptrSfMouseWheelScrollEvent) Swigcptr() uintptr
- type SwigcptrSfSensorEvent
- func (arg1 SwigcptrSfSensorEvent) GetEvType() (_swig_ret SfEventType)
- func (arg1 SwigcptrSfSensorEvent) GetSensorType() (_swig_ret SfSensorType)
- func (arg1 SwigcptrSfSensorEvent) GetX() (_swig_ret float32)
- func (arg1 SwigcptrSfSensorEvent) GetY() (_swig_ret float32)
- func (arg1 SwigcptrSfSensorEvent) GetZ() (_swig_ret float32)
- func (arg1 SwigcptrSfSensorEvent) SetEvType(arg2 SfEventType)
- func (arg1 SwigcptrSfSensorEvent) SetSensorType(arg2 SfSensorType)
- func (arg1 SwigcptrSfSensorEvent) SetX(arg2 float32)
- func (arg1 SwigcptrSfSensorEvent) SetY(arg2 float32)
- func (arg1 SwigcptrSfSensorEvent) SetZ(arg2 float32)
- func (p SwigcptrSfSensorEvent) SwigIsSfSensorEvent()
- func (p SwigcptrSfSensorEvent) Swigcptr() uintptr
- type SwigcptrSfSizeEvent
- func (arg1 SwigcptrSfSizeEvent) GetEvType() (_swig_ret SfEventType)
- func (arg1 SwigcptrSfSizeEvent) GetHeight() (_swig_ret uint)
- func (arg1 SwigcptrSfSizeEvent) GetWidth() (_swig_ret uint)
- func (arg1 SwigcptrSfSizeEvent) SetEvType(arg2 SfEventType)
- func (arg1 SwigcptrSfSizeEvent) SetHeight(arg2 uint)
- func (arg1 SwigcptrSfSizeEvent) SetWidth(arg2 uint)
- func (p SwigcptrSfSizeEvent) SwigIsSfSizeEvent()
- func (p SwigcptrSfSizeEvent) Swigcptr() uintptr
- type SwigcptrSfTextEvent
- func (arg1 SwigcptrSfTextEvent) GetEvType() (_swig_ret SfEventType)
- func (arg1 SwigcptrSfTextEvent) GetUnicode() (_swig_ret uint)
- func (arg1 SwigcptrSfTextEvent) SetEvType(arg2 SfEventType)
- func (arg1 SwigcptrSfTextEvent) SetUnicode(arg2 uint)
- func (p SwigcptrSfTextEvent) SwigIsSfTextEvent()
- func (p SwigcptrSfTextEvent) Swigcptr() uintptr
- type SwigcptrSfTouchEvent
- func (arg1 SwigcptrSfTouchEvent) GetEvType() (_swig_ret SfEventType)
- func (arg1 SwigcptrSfTouchEvent) GetFinger() (_swig_ret uint)
- func (arg1 SwigcptrSfTouchEvent) GetX() (_swig_ret int)
- func (arg1 SwigcptrSfTouchEvent) GetY() (_swig_ret int)
- func (arg1 SwigcptrSfTouchEvent) SetEvType(arg2 SfEventType)
- func (arg1 SwigcptrSfTouchEvent) SetFinger(arg2 uint)
- func (arg1 SwigcptrSfTouchEvent) SetX(arg2 int)
- func (arg1 SwigcptrSfTouchEvent) SetY(arg2 int)
- func (p SwigcptrSfTouchEvent) SwigIsSfTouchEvent()
- func (p SwigcptrSfTouchEvent) Swigcptr() uintptr
- type SwigcptrSfVector2f
- func (arg1 SwigcptrSfVector2f) GetX() (_swig_ret float32)
- func (arg1 SwigcptrSfVector2f) GetY() (_swig_ret float32)
- func (arg1 SwigcptrSfVector2f) SetX(arg2 float32)
- func (arg1 SwigcptrSfVector2f) SetY(arg2 float32)
- func (p SwigcptrSfVector2f) SwigIsSfVector2f()
- func (p SwigcptrSfVector2f) Swigcptr() uintptr
- type SwigcptrSfVector2i
- type SwigcptrSfVector2u
- type SwigcptrSfVector3f
- func (arg1 SwigcptrSfVector3f) GetX() (_swig_ret float32)
- func (arg1 SwigcptrSfVector3f) GetY() (_swig_ret float32)
- func (arg1 SwigcptrSfVector3f) GetZ() (_swig_ret float32)
- func (arg1 SwigcptrSfVector3f) SetX(arg2 float32)
- func (arg1 SwigcptrSfVector3f) SetY(arg2 float32)
- func (arg1 SwigcptrSfVector3f) SetZ(arg2 float32)
- func (p SwigcptrSfVector3f) SwigIsSfVector3f()
- func (p SwigcptrSfVector3f) Swigcptr() uintptr
- type SwigcptrSfVideoMode
- func (arg1 SwigcptrSfVideoMode) GetBitsPerPixel() (_swig_ret uint)
- func (arg1 SwigcptrSfVideoMode) GetHeight() (_swig_ret uint)
- func (arg1 SwigcptrSfVideoMode) GetWidth() (_swig_ret uint)
- func (arg1 SwigcptrSfVideoMode) SetBitsPerPixel(arg2 uint)
- func (arg1 SwigcptrSfVideoMode) SetHeight(arg2 uint)
- func (arg1 SwigcptrSfVideoMode) SetWidth(arg2 uint)
- func (p SwigcptrSfVideoMode) SwigIsSfVideoMode()
- func (p SwigcptrSfVideoMode) Swigcptr() uintptr
- type SwigcptrStruct_SS_sfContext
- type SwigcptrStruct_SS_sfCursor
- type SwigcptrStruct_SS_sfWindow
Constants ¶
View Source
const CSFML_VERSION_MAJOR int = 2
View Source
const CSFML_VERSION_MINOR int = 5
View Source
const CSFML_VERSION_PATCH int = 1
View Source
const SfFalse int = 0
View Source
const SfTrue int = 1
Variables ¶
View Source
var SfClose int = _swig_getsfClose()
View Source
var SfContextCore int = _swig_getsfContextCore()
View Source
var SfContextDebug int = _swig_getsfContextDebug()
View Source
var SfContextDefault int = _swig_getsfContextDefault()
View Source
var SfCursorArrow int = _swig_getsfCursorArrow()
View Source
var SfCursorArrowWait int = _swig_getsfCursorArrowWait()
View Source
var SfCursorCross int = _swig_getsfCursorCross()
View Source
var SfCursorHand int = _swig_getsfCursorHand()
View Source
var SfCursorHelp int = _swig_getsfCursorHelp()
View Source
var SfCursorNotAllowed int = _swig_getsfCursorNotAllowed()
View Source
var SfCursorSizeAll int = _swig_getsfCursorSizeAll()
View Source
var SfCursorSizeBottomLeftTopRight int = _swig_getsfCursorSizeBottomLeftTopRight()
View Source
var SfCursorSizeHorizontal int = _swig_getsfCursorSizeHorizontal()
View Source
var SfCursorSizeTopLeftBottomRight int = _swig_getsfCursorSizeTopLeftBottomRight()
View Source
var SfCursorSizeVertical int = _swig_getsfCursorSizeVertical()
View Source
var SfCursorText int = _swig_getsfCursorText()
View Source
var SfCursorWait int = _swig_getsfCursorWait()
View Source
var SfDefaultStyle int = _swig_getsfDefaultStyle()
View Source
var SfEvtClosed int = _swig_getsfEvtClosed()
View Source
var SfEvtCount int = _swig_getsfEvtCount()
View Source
var SfEvtGainedFocus int = _swig_getsfEvtGainedFocus()
View Source
var SfEvtJoystickButtonPressed int = _swig_getsfEvtJoystickButtonPressed()
View Source
var SfEvtJoystickButtonReleased int = _swig_getsfEvtJoystickButtonReleased()
View Source
var SfEvtJoystickConnected int = _swig_getsfEvtJoystickConnected()
View Source
var SfEvtJoystickDisconnected int = _swig_getsfEvtJoystickDisconnected()
View Source
var SfEvtJoystickMoved int = _swig_getsfEvtJoystickMoved()
View Source
var SfEvtKeyPressed int = _swig_getsfEvtKeyPressed()
View Source
var SfEvtKeyReleased int = _swig_getsfEvtKeyReleased()
View Source
var SfEvtLostFocus int = _swig_getsfEvtLostFocus()
View Source
var SfEvtMouseButtonPressed int = _swig_getsfEvtMouseButtonPressed()
View Source
var SfEvtMouseButtonReleased int = _swig_getsfEvtMouseButtonReleased()
View Source
var SfEvtMouseEntered int = _swig_getsfEvtMouseEntered()
View Source
var SfEvtMouseLeft int = _swig_getsfEvtMouseLeft()
View Source
var SfEvtMouseMoved int = _swig_getsfEvtMouseMoved()
View Source
var SfEvtMouseWheelMoved int = _swig_getsfEvtMouseWheelMoved()
View Source
var SfEvtMouseWheelScrolled int = _swig_getsfEvtMouseWheelScrolled()
View Source
var SfEvtResized int = _swig_getsfEvtResized()
View Source
var SfEvtSensorChanged int = _swig_getsfEvtSensorChanged()
View Source
var SfEvtTextEntered int = _swig_getsfEvtTextEntered()
View Source
var SfEvtTouchBegan int = _swig_getsfEvtTouchBegan()
View Source
var SfEvtTouchEnded int = _swig_getsfEvtTouchEnded()
View Source
var SfEvtTouchMoved int = _swig_getsfEvtTouchMoved()
View Source
var SfFullscreen int = _swig_getsfFullscreen()
View Source
var SfJoystickAxisCount int = _swig_getsfJoystickAxisCount()
View Source
var SfJoystickButtonCount int = _swig_getsfJoystickButtonCount()
View Source
var SfJoystickCount int = _swig_getsfJoystickCount()
View Source
var SfJoystickPovX int = _swig_getsfJoystickPovX()
View Source
var SfJoystickPovY int = _swig_getsfJoystickPovY()
View Source
var SfJoystickR int = _swig_getsfJoystickR()
View Source
var SfJoystickU int = _swig_getsfJoystickU()
View Source
var SfJoystickV int = _swig_getsfJoystickV()
View Source
var SfJoystickX int = _swig_getsfJoystickX()
View Source
var SfJoystickY int = _swig_getsfJoystickY()
View Source
var SfJoystickZ int = _swig_getsfJoystickZ()
View Source
var SfKeyA int = _swig_getsfKeyA()
View Source
var SfKeyAdd int = _swig_getsfKeyAdd()
View Source
var SfKeyB int = _swig_getsfKeyB()
View Source
var SfKeyBack int = _swig_getsfKeyBack()
View Source
var SfKeyBackSlash int = _swig_getsfKeyBackSlash()
View Source
var SfKeyBackslash int = _swig_getsfKeyBackslash()
View Source
var SfKeyBackspace int = _swig_getsfKeyBackspace()
View Source
var SfKeyC int = _swig_getsfKeyC()
View Source
var SfKeyComma int = _swig_getsfKeyComma()
View Source
var SfKeyCount int = _swig_getsfKeyCount()
View Source
var SfKeyD int = _swig_getsfKeyD()
View Source
var SfKeyDash int = _swig_getsfKeyDash()
View Source
var SfKeyDelete int = _swig_getsfKeyDelete()
View Source
var SfKeyDivide int = _swig_getsfKeyDivide()
View Source
var SfKeyDown int = _swig_getsfKeyDown()
View Source
var SfKeyE int = _swig_getsfKeyE()
View Source
var SfKeyEnd int = _swig_getsfKeyEnd()
View Source
var SfKeyEnter int = _swig_getsfKeyEnter()
View Source
var SfKeyEqual int = _swig_getsfKeyEqual()
View Source
var SfKeyEscape int = _swig_getsfKeyEscape()
View Source
var SfKeyF int = _swig_getsfKeyF()
View Source
var SfKeyF1 int = _swig_getsfKeyF1()
View Source
var SfKeyF10 int = _swig_getsfKeyF10()
View Source
var SfKeyF11 int = _swig_getsfKeyF11()
View Source
var SfKeyF12 int = _swig_getsfKeyF12()
View Source
var SfKeyF13 int = _swig_getsfKeyF13()
View Source
var SfKeyF14 int = _swig_getsfKeyF14()
View Source
var SfKeyF15 int = _swig_getsfKeyF15()
View Source
var SfKeyF2 int = _swig_getsfKeyF2()
View Source
var SfKeyF3 int = _swig_getsfKeyF3()
View Source
var SfKeyF4 int = _swig_getsfKeyF4()
View Source
var SfKeyF5 int = _swig_getsfKeyF5()
View Source
var SfKeyF6 int = _swig_getsfKeyF6()
View Source
var SfKeyF7 int = _swig_getsfKeyF7()
View Source
var SfKeyF8 int = _swig_getsfKeyF8()
View Source
var SfKeyF9 int = _swig_getsfKeyF9()
View Source
var SfKeyG int = _swig_getsfKeyG()
View Source
var SfKeyH int = _swig_getsfKeyH()
View Source
var SfKeyHome int = _swig_getsfKeyHome()
View Source
var SfKeyHyphen int = _swig_getsfKeyHyphen()
View Source
var SfKeyI int = _swig_getsfKeyI()
View Source
var SfKeyInsert int = _swig_getsfKeyInsert()
View Source
var SfKeyJ int = _swig_getsfKeyJ()
View Source
var SfKeyK int = _swig_getsfKeyK()
View Source
var SfKeyL int = _swig_getsfKeyL()
View Source
var SfKeyLAlt int = _swig_getsfKeyLAlt()
View Source
var SfKeyLBracket int = _swig_getsfKeyLBracket()
View Source
var SfKeyLControl int = _swig_getsfKeyLControl()
View Source
var SfKeyLShift int = _swig_getsfKeyLShift()
View Source
var SfKeyLSystem int = _swig_getsfKeyLSystem()
View Source
var SfKeyLeft int = _swig_getsfKeyLeft()
View Source
var SfKeyM int = _swig_getsfKeyM()
View Source
var SfKeyMenu int = _swig_getsfKeyMenu()
View Source
var SfKeyMultiply int = _swig_getsfKeyMultiply()
View Source
var SfKeyN int = _swig_getsfKeyN()
View Source
var SfKeyNum0 int = _swig_getsfKeyNum0()
View Source
var SfKeyNum1 int = _swig_getsfKeyNum1()
View Source
var SfKeyNum2 int = _swig_getsfKeyNum2()
View Source
var SfKeyNum3 int = _swig_getsfKeyNum3()
View Source
var SfKeyNum4 int = _swig_getsfKeyNum4()
View Source
var SfKeyNum5 int = _swig_getsfKeyNum5()
View Source
var SfKeyNum6 int = _swig_getsfKeyNum6()
View Source
var SfKeyNum7 int = _swig_getsfKeyNum7()
View Source
var SfKeyNum8 int = _swig_getsfKeyNum8()
View Source
var SfKeyNum9 int = _swig_getsfKeyNum9()
View Source
var SfKeyNumpad0 int = _swig_getsfKeyNumpad0()
View Source
var SfKeyNumpad1 int = _swig_getsfKeyNumpad1()
View Source
var SfKeyNumpad2 int = _swig_getsfKeyNumpad2()
View Source
var SfKeyNumpad3 int = _swig_getsfKeyNumpad3()
View Source
var SfKeyNumpad4 int = _swig_getsfKeyNumpad4()
View Source
var SfKeyNumpad5 int = _swig_getsfKeyNumpad5()
View Source
var SfKeyNumpad6 int = _swig_getsfKeyNumpad6()
View Source
var SfKeyNumpad7 int = _swig_getsfKeyNumpad7()
View Source
var SfKeyNumpad8 int = _swig_getsfKeyNumpad8()
View Source
var SfKeyNumpad9 int = _swig_getsfKeyNumpad9()
View Source
var SfKeyO int = _swig_getsfKeyO()
View Source
var SfKeyP int = _swig_getsfKeyP()
View Source
var SfKeyPageDown int = _swig_getsfKeyPageDown()
View Source
var SfKeyPageUp int = _swig_getsfKeyPageUp()
View Source
var SfKeyPause int = _swig_getsfKeyPause()
View Source
var SfKeyPeriod int = _swig_getsfKeyPeriod()
View Source
var SfKeyQ int = _swig_getsfKeyQ()
View Source
var SfKeyQuote int = _swig_getsfKeyQuote()
View Source
var SfKeyR int = _swig_getsfKeyR()
View Source
var SfKeyRAlt int = _swig_getsfKeyRAlt()
View Source
var SfKeyRBracket int = _swig_getsfKeyRBracket()
View Source
var SfKeyRControl int = _swig_getsfKeyRControl()
View Source
var SfKeyRShift int = _swig_getsfKeyRShift()
View Source
var SfKeyRSystem int = _swig_getsfKeyRSystem()
View Source
var SfKeyReturn int = _swig_getsfKeyReturn()
View Source
var SfKeyRight int = _swig_getsfKeyRight()
View Source
var SfKeyS int = _swig_getsfKeyS()
View Source
var SfKeySemiColon int = _swig_getsfKeySemiColon()
View Source
var SfKeySemicolon int = _swig_getsfKeySemicolon()
View Source
var SfKeySlash int = _swig_getsfKeySlash()
View Source
var SfKeySpace int = _swig_getsfKeySpace()
View Source
var SfKeySubtract int = _swig_getsfKeySubtract()
View Source
var SfKeyT int = _swig_getsfKeyT()
View Source
var SfKeyTab int = _swig_getsfKeyTab()
View Source
var SfKeyTilde int = _swig_getsfKeyTilde()
View Source
var SfKeyU int = _swig_getsfKeyU()
View Source
var SfKeyUnknown int = _swig_getsfKeyUnknown()
View Source
var SfKeyUp int = _swig_getsfKeyUp()
View Source
var SfKeyV int = _swig_getsfKeyV()
View Source
var SfKeyW int = _swig_getsfKeyW()
View Source
var SfKeyX int = _swig_getsfKeyX()
View Source
var SfKeyY int = _swig_getsfKeyY()
View Source
var SfKeyZ int = _swig_getsfKeyZ()
View Source
var SfMouseButtonCount int = _swig_getsfMouseButtonCount()
View Source
var SfMouseHorizontalWheel int = _swig_getsfMouseHorizontalWheel()
View Source
var SfMouseLeft int = _swig_getsfMouseLeft()
View Source
var SfMouseMiddle int = _swig_getsfMouseMiddle()
View Source
var SfMouseRight int = _swig_getsfMouseRight()
View Source
var SfMouseVerticalWheel int = _swig_getsfMouseVerticalWheel()
View Source
var SfMouseXButton1 int = _swig_getsfMouseXButton1()
View Source
var SfMouseXButton2 int = _swig_getsfMouseXButton2()
View Source
var SfNone int = _swig_getsfNone()
View Source
var SfResize int = _swig_getsfResize()
View Source
var SfSensorAccelerometer int = _swig_getsfSensorAccelerometer()
View Source
var SfSensorCount int = _swig_getsfSensorCount()
View Source
var SfSensorGravity int = _swig_getsfSensorGravity()
View Source
var SfSensorGyroscope int = _swig_getsfSensorGyroscope()
View Source
var SfSensorMagnetometer int = _swig_getsfSensorMagnetometer()
View Source
var SfSensorOrientation int = _swig_getsfSensorOrientation()
View Source
var SfSensorUserAcceleration int = _swig_getsfSensorUserAcceleration()
View Source
var SfTitlebar int = _swig_getsfTitlebar()
View Source
var Swig_escape_always_false bool
View Source
var Swig_escape_val interface{}
Functions ¶
func DeleteSfContextSettings ¶
func DeleteSfContextSettings(arg1 SfContextSettings)
func DeleteSfEvent ¶
func DeleteSfEvent(arg1 SfEvent)
func DeleteSfJoystickButtonEvent ¶
func DeleteSfJoystickButtonEvent(arg1 SfJoystickButtonEvent)
func DeleteSfJoystickConnectEvent ¶
func DeleteSfJoystickConnectEvent(arg1 SfJoystickConnectEvent)
func DeleteSfJoystickIdentification ¶
func DeleteSfJoystickIdentification(arg1 SfJoystickIdentification)
func DeleteSfJoystickMoveEvent ¶
func DeleteSfJoystickMoveEvent(arg1 SfJoystickMoveEvent)
func DeleteSfKeyEvent ¶
func DeleteSfKeyEvent(arg1 SfKeyEvent)
func DeleteSfMouseButtonEvent ¶
func DeleteSfMouseButtonEvent(arg1 SfMouseButtonEvent)
func DeleteSfMouseMoveEvent ¶
func DeleteSfMouseMoveEvent(arg1 SfMouseMoveEvent)
func DeleteSfMouseWheelEvent ¶
func DeleteSfMouseWheelEvent(arg1 SfMouseWheelEvent)
func DeleteSfMouseWheelScrollEvent ¶
func DeleteSfMouseWheelScrollEvent(arg1 SfMouseWheelScrollEvent)
func DeleteSfSensorEvent ¶
func DeleteSfSensorEvent(arg1 SfSensorEvent)
func DeleteSfSizeEvent ¶
func DeleteSfSizeEvent(arg1 SfSizeEvent)
func DeleteSfTextEvent ¶
func DeleteSfTextEvent(arg1 SfTextEvent)
func DeleteSfTouchEvent ¶
func DeleteSfTouchEvent(arg1 SfTouchEvent)
func DeleteSfVector2f ¶
func DeleteSfVector2f(arg1 SfVector2f)
func DeleteSfVector2i ¶
func DeleteSfVector2i(arg1 SfVector2i)
func DeleteSfVector2u ¶
func DeleteSfVector2u(arg1 SfVector2u)
func DeleteSfVector3f ¶
func DeleteSfVector3f(arg1 SfVector3f)
func DeleteSfVideoMode ¶
func DeleteSfVideoMode(arg1 SfVideoMode)
func SfClipboard_getString ¶
func SfClipboard_getString() (_swig_ret string)
func SfClipboard_getUnicodeString ¶
func SfClipboard_getUnicodeString() (_swig_ret *uint)
func SfClipboard_setString ¶
func SfClipboard_setString(arg1 string)
func SfClipboard_setUnicodeString ¶
func SfClipboard_setUnicodeString(arg1 *uint)
func SfContext_destroy ¶
func SfContext_destroy(arg1 Struct_SS_sfContext)
func SfContext_getActiveContextId ¶
func SfContext_getActiveContextId() (_swig_ret uint64)
func SfContext_setActive ¶
func SfContext_setActive(arg1 Struct_SS_sfContext, arg2 int) (_swig_ret int)
func SfCursor_destroy ¶
func SfCursor_destroy(arg1 Struct_SS_sfCursor)
func SfJoystick_getAxisPosition ¶
func SfJoystick_getAxisPosition(arg1 uint, arg2 SfJoystickAxis) (_swig_ret float32)
func SfJoystick_hasAxis ¶
func SfJoystick_hasAxis(arg1 uint, arg2 SfJoystickAxis) (_swig_ret int)
func SfJoystick_isConnected ¶
func SfJoystick_update ¶
func SfJoystick_update()
func SfKeyboard_isKeyPressed ¶
func SfKeyboard_setVirtualKeyboardVisible ¶
func SfKeyboard_setVirtualKeyboardVisible(arg1 int)
func SfMouse_isButtonPressed ¶
func SfMouse_isButtonPressed(arg1 SfMouseButton) (_swig_ret int)
func SfMouse_setPosition ¶
func SfMouse_setPosition(arg1 SfVector2i, arg2 Struct_SS_sfWindow)
func SfSensor_isAvailable ¶
func SfSensor_isAvailable(arg1 SfSensorType) (_swig_ret int)
func SfSensor_setEnabled ¶
func SfSensor_setEnabled(arg1 SfSensorType, arg2 int)
func SfTouch_isDown ¶
func SfVideoMode_isValid ¶
func SfVideoMode_isValid(arg1 SfVideoMode) (_swig_ret int)
func SfWindow_close ¶
func SfWindow_close(arg1 Struct_SS_sfWindow)
func SfWindow_destroy ¶
func SfWindow_destroy(arg1 Struct_SS_sfWindow)
func SfWindow_display ¶
func SfWindow_display(arg1 Struct_SS_sfWindow)
func SfWindow_getSystemHandle ¶
func SfWindow_getSystemHandle(arg1 Struct_SS_sfWindow) (_swig_ret uintptr)
func SfWindow_hasFocus ¶
func SfWindow_hasFocus(arg1 Struct_SS_sfWindow) (_swig_ret int)
func SfWindow_isOpen ¶
func SfWindow_isOpen(arg1 Struct_SS_sfWindow) (_swig_ret int)
func SfWindow_pollEvent ¶
func SfWindow_pollEvent(arg1 Struct_SS_sfWindow, arg2 SfEvent) (_swig_ret int)
func SfWindow_requestFocus ¶
func SfWindow_requestFocus(arg1 Struct_SS_sfWindow)
func SfWindow_setActive ¶
func SfWindow_setActive(arg1 Struct_SS_sfWindow, arg2 int) (_swig_ret int)
func SfWindow_setFramerateLimit ¶
func SfWindow_setFramerateLimit(arg1 Struct_SS_sfWindow, arg2 uint)
func SfWindow_setIcon ¶
func SfWindow_setIcon(arg1 Struct_SS_sfWindow, arg2 uint, arg3 uint, arg4 *byte)
func SfWindow_setJoystickThreshold ¶
func SfWindow_setJoystickThreshold(arg1 Struct_SS_sfWindow, arg2 float32)
func SfWindow_setKeyRepeatEnabled ¶
func SfWindow_setKeyRepeatEnabled(arg1 Struct_SS_sfWindow, arg2 int)
func SfWindow_setMouseCursor ¶
func SfWindow_setMouseCursor(arg1 Struct_SS_sfWindow, arg2 Struct_SS_sfCursor)
func SfWindow_setMouseCursorGrabbed ¶
func SfWindow_setMouseCursorGrabbed(arg1 Struct_SS_sfWindow, arg2 int)
func SfWindow_setMouseCursorVisible ¶
func SfWindow_setMouseCursorVisible(arg1 Struct_SS_sfWindow, arg2 int)
func SfWindow_setPosition ¶
func SfWindow_setPosition(arg1 Struct_SS_sfWindow, arg2 SfVector2i)
func SfWindow_setSize ¶
func SfWindow_setSize(arg1 Struct_SS_sfWindow, arg2 SfVector2u)
func SfWindow_setTitle ¶
func SfWindow_setTitle(arg1 Struct_SS_sfWindow, arg2 string)
func SfWindow_setUnicodeTitle ¶
func SfWindow_setUnicodeTitle(arg1 Struct_SS_sfWindow, arg2 *uint)
func SfWindow_setVerticalSyncEnabled ¶
func SfWindow_setVerticalSyncEnabled(arg1 Struct_SS_sfWindow, arg2 int)
func SfWindow_setVisible ¶
func SfWindow_setVisible(arg1 Struct_SS_sfWindow, arg2 int)
func SfWindow_waitEvent ¶
func SfWindow_waitEvent(arg1 Struct_SS_sfWindow, arg2 SfEvent) (_swig_ret int)
func Swig_malloc ¶
Types ¶
type SfContextAttribute ¶
type SfContextAttribute int
type SfContextSettings ¶
type SfContextSettings interface { Swigcptr() uintptr SwigIsSfContextSettings() SetDepthBits(arg2 uint) GetDepthBits() (_swig_ret uint) SetStencilBits(arg2 uint) GetStencilBits() (_swig_ret uint) SetAntialiasingLevel(arg2 uint) GetAntialiasingLevel() (_swig_ret uint) SetMajorVersion(arg2 uint) GetMajorVersion() (_swig_ret uint) SetMinorVersion(arg2 uint) GetMinorVersion() (_swig_ret uint) SetAttributeFlags(arg2 uint) GetAttributeFlags() (_swig_ret uint) SetSRgbCapable(arg2 int) GetSRgbCapable() (_swig_ret int) }
func NewSfContextSettings ¶
func NewSfContextSettings() (_swig_ret SfContextSettings)
func SfContext_getSettings ¶
func SfContext_getSettings(arg1 Struct_SS_sfContext) (_swig_ret SfContextSettings)
func SfWindow_getSettings ¶
func SfWindow_getSettings(arg1 Struct_SS_sfWindow) (_swig_ret SfContextSettings)
type SfCursorType ¶
type SfCursorType int
type SfEvent ¶
type SfEvent interface { Swigcptr() uintptr SwigIsSfEvent() SetEvType(arg2 SfEventType) GetEvType() (_swig_ret SfEventType) SetSize(arg2 SfSizeEvent) GetSize() (_swig_ret SfSizeEvent) SetKey(arg2 SfKeyEvent) GetKey() (_swig_ret SfKeyEvent) SetText(arg2 SfTextEvent) GetText() (_swig_ret SfTextEvent) SetMouseMove(arg2 SfMouseMoveEvent) GetMouseMove() (_swig_ret SfMouseMoveEvent) SetMouseButton(arg2 SfMouseButtonEvent) GetMouseButton() (_swig_ret SfMouseButtonEvent) SetMouseWheel(arg2 SfMouseWheelEvent) GetMouseWheel() (_swig_ret SfMouseWheelEvent) SetMouseWheelScroll(arg2 SfMouseWheelScrollEvent) GetMouseWheelScroll() (_swig_ret SfMouseWheelScrollEvent) SetJoystickMove(arg2 SfJoystickMoveEvent) GetJoystickMove() (_swig_ret SfJoystickMoveEvent) SetJoystickButton(arg2 SfJoystickButtonEvent) GetJoystickButton() (_swig_ret SfJoystickButtonEvent) SetJoystickConnect(arg2 SfJoystickConnectEvent) GetJoystickConnect() (_swig_ret SfJoystickConnectEvent) SetTouch(arg2 SfTouchEvent) GetTouch() (_swig_ret SfTouchEvent) SetSensor(arg2 SfSensorEvent) GetSensor() (_swig_ret SfSensorEvent) }
func NewSfEvent ¶
func NewSfEvent() (_swig_ret SfEvent)
type SfEventType ¶
type SfEventType int
type SfJoystickAxis ¶
type SfJoystickAxis int
type SfJoystickButtonEvent ¶
type SfJoystickButtonEvent interface { Swigcptr() uintptr SwigIsSfJoystickButtonEvent() SetEvType(arg2 SfEventType) GetEvType() (_swig_ret SfEventType) SetJoystickId(arg2 uint) GetJoystickId() (_swig_ret uint) SetButton(arg2 uint) GetButton() (_swig_ret uint) }
func NewSfJoystickButtonEvent ¶
func NewSfJoystickButtonEvent() (_swig_ret SfJoystickButtonEvent)
type SfJoystickConnectEvent ¶
type SfJoystickConnectEvent interface { Swigcptr() uintptr SwigIsSfJoystickConnectEvent() SetEvType(arg2 SfEventType) GetEvType() (_swig_ret SfEventType) SetJoystickId(arg2 uint) GetJoystickId() (_swig_ret uint) }
func NewSfJoystickConnectEvent ¶
func NewSfJoystickConnectEvent() (_swig_ret SfJoystickConnectEvent)
type SfJoystickIdentification ¶
type SfJoystickIdentification interface { Swigcptr() uintptr SwigIsSfJoystickIdentification() SetName(arg2 string) GetName() (_swig_ret string) SetVendorId(arg2 uint) GetVendorId() (_swig_ret uint) SetProductId(arg2 uint) GetProductId() (_swig_ret uint) }
func NewSfJoystickIdentification ¶
func NewSfJoystickIdentification() (_swig_ret SfJoystickIdentification)
func SfJoystick_getIdentification ¶
func SfJoystick_getIdentification(arg1 uint) (_swig_ret SfJoystickIdentification)
type SfJoystickMoveEvent ¶
type SfJoystickMoveEvent interface { Swigcptr() uintptr SwigIsSfJoystickMoveEvent() SetEvType(arg2 SfEventType) GetEvType() (_swig_ret SfEventType) SetJoystickId(arg2 uint) GetJoystickId() (_swig_ret uint) SetAxis(arg2 SfJoystickAxis) GetAxis() (_swig_ret SfJoystickAxis) SetPosition(arg2 float32) GetPosition() (_swig_ret float32) }
func NewSfJoystickMoveEvent ¶
func NewSfJoystickMoveEvent() (_swig_ret SfJoystickMoveEvent)
type SfKeyEvent ¶
type SfKeyEvent interface { Swigcptr() uintptr SwigIsSfKeyEvent() SetEvType(arg2 SfEventType) GetEvType() (_swig_ret SfEventType) SetCode(arg2 SfKeyCode) GetCode() (_swig_ret SfKeyCode) SetAlt(arg2 int) GetAlt() (_swig_ret int) SetControl(arg2 int) GetControl() (_swig_ret int) SetShift(arg2 int) GetShift() (_swig_ret int) SetSystem(arg2 int) GetSystem() (_swig_ret int) }
func NewSfKeyEvent ¶
func NewSfKeyEvent() (_swig_ret SfKeyEvent)
type SfMouseButton ¶
type SfMouseButton int
type SfMouseButtonEvent ¶
type SfMouseButtonEvent interface { Swigcptr() uintptr SwigIsSfMouseButtonEvent() SetEvType(arg2 SfEventType) GetEvType() (_swig_ret SfEventType) SetButton(arg2 SfMouseButton) GetButton() (_swig_ret SfMouseButton) SetX(arg2 int) GetX() (_swig_ret int) SetY(arg2 int) GetY() (_swig_ret int) }
func NewSfMouseButtonEvent ¶
func NewSfMouseButtonEvent() (_swig_ret SfMouseButtonEvent)
type SfMouseMoveEvent ¶
type SfMouseMoveEvent interface { Swigcptr() uintptr SwigIsSfMouseMoveEvent() SetEvType(arg2 SfEventType) GetEvType() (_swig_ret SfEventType) SetX(arg2 int) GetX() (_swig_ret int) SetY(arg2 int) GetY() (_swig_ret int) }
func NewSfMouseMoveEvent ¶
func NewSfMouseMoveEvent() (_swig_ret SfMouseMoveEvent)
type SfMouseWheel ¶
type SfMouseWheel int
type SfMouseWheelEvent ¶
type SfMouseWheelEvent interface { Swigcptr() uintptr SwigIsSfMouseWheelEvent() SetEvType(arg2 SfEventType) GetEvType() (_swig_ret SfEventType) SetDelta(arg2 int) GetDelta() (_swig_ret int) SetX(arg2 int) GetX() (_swig_ret int) SetY(arg2 int) GetY() (_swig_ret int) }
func NewSfMouseWheelEvent ¶
func NewSfMouseWheelEvent() (_swig_ret SfMouseWheelEvent)
type SfMouseWheelScrollEvent ¶
type SfMouseWheelScrollEvent interface { Swigcptr() uintptr SwigIsSfMouseWheelScrollEvent() SetEvType(arg2 SfEventType) GetEvType() (_swig_ret SfEventType) SetWheel(arg2 SfMouseWheel) GetWheel() (_swig_ret SfMouseWheel) SetDelta(arg2 float32) GetDelta() (_swig_ret float32) SetX(arg2 int) GetX() (_swig_ret int) SetY(arg2 int) GetY() (_swig_ret int) }
func NewSfMouseWheelScrollEvent ¶
func NewSfMouseWheelScrollEvent() (_swig_ret SfMouseWheelScrollEvent)
type SfSensorEvent ¶
type SfSensorEvent interface { Swigcptr() uintptr SwigIsSfSensorEvent() SetEvType(arg2 SfEventType) GetEvType() (_swig_ret SfEventType) SetSensorType(arg2 SfSensorType) GetSensorType() (_swig_ret SfSensorType) SetX(arg2 float32) GetX() (_swig_ret float32) SetY(arg2 float32) GetY() (_swig_ret float32) SetZ(arg2 float32) GetZ() (_swig_ret float32) }
func NewSfSensorEvent ¶
func NewSfSensorEvent() (_swig_ret SfSensorEvent)
type SfSensorType ¶
type SfSensorType int
type SfSizeEvent ¶
type SfSizeEvent interface { Swigcptr() uintptr SwigIsSfSizeEvent() SetEvType(arg2 SfEventType) GetEvType() (_swig_ret SfEventType) SetWidth(arg2 uint) GetWidth() (_swig_ret uint) SetHeight(arg2 uint) GetHeight() (_swig_ret uint) }
func NewSfSizeEvent ¶
func NewSfSizeEvent() (_swig_ret SfSizeEvent)
type SfTextEvent ¶
type SfTextEvent interface { Swigcptr() uintptr SwigIsSfTextEvent() SetEvType(arg2 SfEventType) GetEvType() (_swig_ret SfEventType) SetUnicode(arg2 uint) GetUnicode() (_swig_ret uint) }
func NewSfTextEvent ¶
func NewSfTextEvent() (_swig_ret SfTextEvent)
type SfTouchEvent ¶
type SfTouchEvent interface { Swigcptr() uintptr SwigIsSfTouchEvent() SetEvType(arg2 SfEventType) GetEvType() (_swig_ret SfEventType) SetFinger(arg2 uint) GetFinger() (_swig_ret uint) SetX(arg2 int) GetX() (_swig_ret int) SetY(arg2 int) GetY() (_swig_ret int) }
func NewSfTouchEvent ¶
func NewSfTouchEvent() (_swig_ret SfTouchEvent)
type SfVector2f ¶
type SfVector2f interface { Swigcptr() uintptr SwigIsSfVector2f() SetX(arg2 float32) GetX() (_swig_ret float32) SetY(arg2 float32) GetY() (_swig_ret float32) }
func NewSfVector2f ¶
func NewSfVector2f() (_swig_ret SfVector2f)
type SfVector2i ¶
type SfVector2i interface { Swigcptr() uintptr SwigIsSfVector2i() SetX(arg2 int) GetX() (_swig_ret int) SetY(arg2 int) GetY() (_swig_ret int) }
func NewSfVector2i ¶
func NewSfVector2i() (_swig_ret SfVector2i)
func SfMouse_getPosition ¶
func SfMouse_getPosition(arg1 Struct_SS_sfWindow) (_swig_ret SfVector2i)
func SfTouch_getPosition ¶
func SfTouch_getPosition(arg1 uint, arg2 Struct_SS_sfWindow) (_swig_ret SfVector2i)
func SfWindow_getPosition ¶
func SfWindow_getPosition(arg1 Struct_SS_sfWindow) (_swig_ret SfVector2i)
type SfVector2u ¶
type SfVector2u interface { Swigcptr() uintptr SwigIsSfVector2u() SetX(arg2 uint) GetX() (_swig_ret uint) SetY(arg2 uint) GetY() (_swig_ret uint) }
func NewSfVector2u ¶
func NewSfVector2u() (_swig_ret SfVector2u)
func SfWindow_getSize ¶
func SfWindow_getSize(arg1 Struct_SS_sfWindow) (_swig_ret SfVector2u)
type SfVector3f ¶
type SfVector3f interface { Swigcptr() uintptr SwigIsSfVector3f() SetX(arg2 float32) GetX() (_swig_ret float32) SetY(arg2 float32) GetY() (_swig_ret float32) SetZ(arg2 float32) GetZ() (_swig_ret float32) }
func NewSfVector3f ¶
func NewSfVector3f() (_swig_ret SfVector3f)
func SfSensor_getValue ¶
func SfSensor_getValue(arg1 SfSensorType) (_swig_ret SfVector3f)
type SfVideoMode ¶
type SfVideoMode interface { Swigcptr() uintptr SwigIsSfVideoMode() SetWidth(arg2 uint) GetWidth() (_swig_ret uint) SetHeight(arg2 uint) GetHeight() (_swig_ret uint) SetBitsPerPixel(arg2 uint) GetBitsPerPixel() (_swig_ret uint) }
func NewSfVideoMode ¶
func NewSfVideoMode() (_swig_ret SfVideoMode)
func SfVideoMode_getDesktopMode ¶
func SfVideoMode_getDesktopMode() (_swig_ret SfVideoMode)
func SfVideoMode_getFullscreenModes ¶
func SfVideoMode_getFullscreenModes(arg1 *int64) (_swig_ret SfVideoMode)
type SfWindowStyle ¶
type SfWindowStyle int
type Struct_SS_sfContext ¶
type Struct_SS_sfContext interface {
Swigcptr() uintptr
}
func SfContext_create ¶
func SfContext_create() (_swig_ret Struct_SS_sfContext)
type Struct_SS_sfCursor ¶
type Struct_SS_sfCursor interface {
Swigcptr() uintptr
}
func SfCursor_createFromPixels ¶
func SfCursor_createFromPixels(arg1 *byte, arg2 SfVector2u, arg3 SfVector2u) (_swig_ret Struct_SS_sfCursor)
func SfCursor_createFromSystem ¶
func SfCursor_createFromSystem(arg1 SfCursorType) (_swig_ret Struct_SS_sfCursor)
type Struct_SS_sfWindow ¶
type Struct_SS_sfWindow interface {
Swigcptr() uintptr
}
func SfWindow_create ¶
func SfWindow_create(arg1 SfVideoMode, arg2 string, arg3 uint, arg4 SfContextSettings) (_swig_ret Struct_SS_sfWindow)
func SfWindow_createFromHandle ¶
func SfWindow_createFromHandle(arg1 uintptr, arg2 SfContextSettings) (_swig_ret Struct_SS_sfWindow)
func SfWindow_createUnicode ¶
func SfWindow_createUnicode(arg1 SfVideoMode, arg2 *uint, arg3 uint, arg4 SfContextSettings) (_swig_ret Struct_SS_sfWindow)
type SwigcptrSfContextSettings ¶
type SwigcptrSfContextSettings uintptr
func (SwigcptrSfContextSettings) GetAntialiasingLevel ¶
func (arg1 SwigcptrSfContextSettings) GetAntialiasingLevel() (_swig_ret uint)
func (SwigcptrSfContextSettings) GetAttributeFlags ¶
func (arg1 SwigcptrSfContextSettings) GetAttributeFlags() (_swig_ret uint)
func (SwigcptrSfContextSettings) GetDepthBits ¶
func (arg1 SwigcptrSfContextSettings) GetDepthBits() (_swig_ret uint)
func (SwigcptrSfContextSettings) GetMajorVersion ¶
func (arg1 SwigcptrSfContextSettings) GetMajorVersion() (_swig_ret uint)
func (SwigcptrSfContextSettings) GetMinorVersion ¶
func (arg1 SwigcptrSfContextSettings) GetMinorVersion() (_swig_ret uint)
func (SwigcptrSfContextSettings) GetSRgbCapable ¶
func (arg1 SwigcptrSfContextSettings) GetSRgbCapable() (_swig_ret int)
func (SwigcptrSfContextSettings) GetStencilBits ¶
func (arg1 SwigcptrSfContextSettings) GetStencilBits() (_swig_ret uint)
func (SwigcptrSfContextSettings) SetAntialiasingLevel ¶
func (arg1 SwigcptrSfContextSettings) SetAntialiasingLevel(arg2 uint)
func (SwigcptrSfContextSettings) SetAttributeFlags ¶
func (arg1 SwigcptrSfContextSettings) SetAttributeFlags(arg2 uint)
func (SwigcptrSfContextSettings) SetDepthBits ¶
func (arg1 SwigcptrSfContextSettings) SetDepthBits(arg2 uint)
func (SwigcptrSfContextSettings) SetMajorVersion ¶
func (arg1 SwigcptrSfContextSettings) SetMajorVersion(arg2 uint)
func (SwigcptrSfContextSettings) SetMinorVersion ¶
func (arg1 SwigcptrSfContextSettings) SetMinorVersion(arg2 uint)
func (SwigcptrSfContextSettings) SetSRgbCapable ¶
func (arg1 SwigcptrSfContextSettings) SetSRgbCapable(arg2 int)
func (SwigcptrSfContextSettings) SetStencilBits ¶
func (arg1 SwigcptrSfContextSettings) SetStencilBits(arg2 uint)
func (SwigcptrSfContextSettings) SwigIsSfContextSettings ¶
func (p SwigcptrSfContextSettings) SwigIsSfContextSettings()
func (SwigcptrSfContextSettings) Swigcptr ¶
func (p SwigcptrSfContextSettings) Swigcptr() uintptr
type SwigcptrSfEvent ¶
type SwigcptrSfEvent uintptr
func (SwigcptrSfEvent) GetEvType ¶
func (arg1 SwigcptrSfEvent) GetEvType() (_swig_ret SfEventType)
func (SwigcptrSfEvent) GetJoystickButton ¶
func (arg1 SwigcptrSfEvent) GetJoystickButton() (_swig_ret SfJoystickButtonEvent)
func (SwigcptrSfEvent) GetJoystickConnect ¶
func (arg1 SwigcptrSfEvent) GetJoystickConnect() (_swig_ret SfJoystickConnectEvent)
func (SwigcptrSfEvent) GetJoystickMove ¶
func (arg1 SwigcptrSfEvent) GetJoystickMove() (_swig_ret SfJoystickMoveEvent)
func (SwigcptrSfEvent) GetKey ¶
func (arg1 SwigcptrSfEvent) GetKey() (_swig_ret SfKeyEvent)
func (SwigcptrSfEvent) GetMouseButton ¶
func (arg1 SwigcptrSfEvent) GetMouseButton() (_swig_ret SfMouseButtonEvent)
func (SwigcptrSfEvent) GetMouseMove ¶
func (arg1 SwigcptrSfEvent) GetMouseMove() (_swig_ret SfMouseMoveEvent)
func (SwigcptrSfEvent) GetMouseWheel ¶
func (arg1 SwigcptrSfEvent) GetMouseWheel() (_swig_ret SfMouseWheelEvent)
func (SwigcptrSfEvent) GetMouseWheelScroll ¶
func (arg1 SwigcptrSfEvent) GetMouseWheelScroll() (_swig_ret SfMouseWheelScrollEvent)
func (SwigcptrSfEvent) GetSensor ¶
func (arg1 SwigcptrSfEvent) GetSensor() (_swig_ret SfSensorEvent)
func (SwigcptrSfEvent) GetSize ¶
func (arg1 SwigcptrSfEvent) GetSize() (_swig_ret SfSizeEvent)
func (SwigcptrSfEvent) GetText ¶
func (arg1 SwigcptrSfEvent) GetText() (_swig_ret SfTextEvent)
func (SwigcptrSfEvent) GetTouch ¶
func (arg1 SwigcptrSfEvent) GetTouch() (_swig_ret SfTouchEvent)
func (SwigcptrSfEvent) SetEvType ¶
func (arg1 SwigcptrSfEvent) SetEvType(arg2 SfEventType)
func (SwigcptrSfEvent) SetJoystickButton ¶
func (arg1 SwigcptrSfEvent) SetJoystickButton(arg2 SfJoystickButtonEvent)
func (SwigcptrSfEvent) SetJoystickConnect ¶
func (arg1 SwigcptrSfEvent) SetJoystickConnect(arg2 SfJoystickConnectEvent)
func (SwigcptrSfEvent) SetJoystickMove ¶
func (arg1 SwigcptrSfEvent) SetJoystickMove(arg2 SfJoystickMoveEvent)
func (SwigcptrSfEvent) SetKey ¶
func (arg1 SwigcptrSfEvent) SetKey(arg2 SfKeyEvent)
func (SwigcptrSfEvent) SetMouseButton ¶
func (arg1 SwigcptrSfEvent) SetMouseButton(arg2 SfMouseButtonEvent)
func (SwigcptrSfEvent) SetMouseMove ¶
func (arg1 SwigcptrSfEvent) SetMouseMove(arg2 SfMouseMoveEvent)
func (SwigcptrSfEvent) SetMouseWheel ¶
func (arg1 SwigcptrSfEvent) SetMouseWheel(arg2 SfMouseWheelEvent)
func (SwigcptrSfEvent) SetMouseWheelScroll ¶
func (arg1 SwigcptrSfEvent) SetMouseWheelScroll(arg2 SfMouseWheelScrollEvent)
func (SwigcptrSfEvent) SetSensor ¶
func (arg1 SwigcptrSfEvent) SetSensor(arg2 SfSensorEvent)
func (SwigcptrSfEvent) SetSize ¶
func (arg1 SwigcptrSfEvent) SetSize(arg2 SfSizeEvent)
func (SwigcptrSfEvent) SetText ¶
func (arg1 SwigcptrSfEvent) SetText(arg2 SfTextEvent)
func (SwigcptrSfEvent) SetTouch ¶
func (arg1 SwigcptrSfEvent) SetTouch(arg2 SfTouchEvent)
func (SwigcptrSfEvent) SwigIsSfEvent ¶
func (p SwigcptrSfEvent) SwigIsSfEvent()
func (SwigcptrSfEvent) Swigcptr ¶
func (p SwigcptrSfEvent) Swigcptr() uintptr
type SwigcptrSfJoystickButtonEvent ¶
type SwigcptrSfJoystickButtonEvent uintptr
func (SwigcptrSfJoystickButtonEvent) GetButton ¶
func (arg1 SwigcptrSfJoystickButtonEvent) GetButton() (_swig_ret uint)
func (SwigcptrSfJoystickButtonEvent) GetEvType ¶
func (arg1 SwigcptrSfJoystickButtonEvent) GetEvType() (_swig_ret SfEventType)
func (SwigcptrSfJoystickButtonEvent) GetJoystickId ¶
func (arg1 SwigcptrSfJoystickButtonEvent) GetJoystickId() (_swig_ret uint)
func (SwigcptrSfJoystickButtonEvent) SetButton ¶
func (arg1 SwigcptrSfJoystickButtonEvent) SetButton(arg2 uint)
func (SwigcptrSfJoystickButtonEvent) SetEvType ¶
func (arg1 SwigcptrSfJoystickButtonEvent) SetEvType(arg2 SfEventType)
func (SwigcptrSfJoystickButtonEvent) SetJoystickId ¶
func (arg1 SwigcptrSfJoystickButtonEvent) SetJoystickId(arg2 uint)
func (SwigcptrSfJoystickButtonEvent) SwigIsSfJoystickButtonEvent ¶
func (p SwigcptrSfJoystickButtonEvent) SwigIsSfJoystickButtonEvent()
func (SwigcptrSfJoystickButtonEvent) Swigcptr ¶
func (p SwigcptrSfJoystickButtonEvent) Swigcptr() uintptr
type SwigcptrSfJoystickConnectEvent ¶
type SwigcptrSfJoystickConnectEvent uintptr
func (SwigcptrSfJoystickConnectEvent) GetEvType ¶
func (arg1 SwigcptrSfJoystickConnectEvent) GetEvType() (_swig_ret SfEventType)
func (SwigcptrSfJoystickConnectEvent) GetJoystickId ¶
func (arg1 SwigcptrSfJoystickConnectEvent) GetJoystickId() (_swig_ret uint)
func (SwigcptrSfJoystickConnectEvent) SetEvType ¶
func (arg1 SwigcptrSfJoystickConnectEvent) SetEvType(arg2 SfEventType)
func (SwigcptrSfJoystickConnectEvent) SetJoystickId ¶
func (arg1 SwigcptrSfJoystickConnectEvent) SetJoystickId(arg2 uint)
func (SwigcptrSfJoystickConnectEvent) SwigIsSfJoystickConnectEvent ¶
func (p SwigcptrSfJoystickConnectEvent) SwigIsSfJoystickConnectEvent()
func (SwigcptrSfJoystickConnectEvent) Swigcptr ¶
func (p SwigcptrSfJoystickConnectEvent) Swigcptr() uintptr
type SwigcptrSfJoystickIdentification ¶
type SwigcptrSfJoystickIdentification uintptr
func (SwigcptrSfJoystickIdentification) GetName ¶
func (arg1 SwigcptrSfJoystickIdentification) GetName() (_swig_ret string)
func (SwigcptrSfJoystickIdentification) GetProductId ¶
func (arg1 SwigcptrSfJoystickIdentification) GetProductId() (_swig_ret uint)
func (SwigcptrSfJoystickIdentification) GetVendorId ¶
func (arg1 SwigcptrSfJoystickIdentification) GetVendorId() (_swig_ret uint)
func (SwigcptrSfJoystickIdentification) SetName ¶
func (arg1 SwigcptrSfJoystickIdentification) SetName(arg2 string)
func (SwigcptrSfJoystickIdentification) SetProductId ¶
func (arg1 SwigcptrSfJoystickIdentification) SetProductId(arg2 uint)
func (SwigcptrSfJoystickIdentification) SetVendorId ¶
func (arg1 SwigcptrSfJoystickIdentification) SetVendorId(arg2 uint)
func (SwigcptrSfJoystickIdentification) SwigIsSfJoystickIdentification ¶
func (p SwigcptrSfJoystickIdentification) SwigIsSfJoystickIdentification()
func (SwigcptrSfJoystickIdentification) Swigcptr ¶
func (p SwigcptrSfJoystickIdentification) Swigcptr() uintptr
type SwigcptrSfJoystickMoveEvent ¶
type SwigcptrSfJoystickMoveEvent uintptr
func (SwigcptrSfJoystickMoveEvent) GetAxis ¶
func (arg1 SwigcptrSfJoystickMoveEvent) GetAxis() (_swig_ret SfJoystickAxis)
func (SwigcptrSfJoystickMoveEvent) GetEvType ¶
func (arg1 SwigcptrSfJoystickMoveEvent) GetEvType() (_swig_ret SfEventType)
func (SwigcptrSfJoystickMoveEvent) GetJoystickId ¶
func (arg1 SwigcptrSfJoystickMoveEvent) GetJoystickId() (_swig_ret uint)
func (SwigcptrSfJoystickMoveEvent) GetPosition ¶
func (arg1 SwigcptrSfJoystickMoveEvent) GetPosition() (_swig_ret float32)
func (SwigcptrSfJoystickMoveEvent) SetAxis ¶
func (arg1 SwigcptrSfJoystickMoveEvent) SetAxis(arg2 SfJoystickAxis)
func (SwigcptrSfJoystickMoveEvent) SetEvType ¶
func (arg1 SwigcptrSfJoystickMoveEvent) SetEvType(arg2 SfEventType)
func (SwigcptrSfJoystickMoveEvent) SetJoystickId ¶
func (arg1 SwigcptrSfJoystickMoveEvent) SetJoystickId(arg2 uint)
func (SwigcptrSfJoystickMoveEvent) SetPosition ¶
func (arg1 SwigcptrSfJoystickMoveEvent) SetPosition(arg2 float32)
func (SwigcptrSfJoystickMoveEvent) SwigIsSfJoystickMoveEvent ¶
func (p SwigcptrSfJoystickMoveEvent) SwigIsSfJoystickMoveEvent()
func (SwigcptrSfJoystickMoveEvent) Swigcptr ¶
func (p SwigcptrSfJoystickMoveEvent) Swigcptr() uintptr
type SwigcptrSfKeyEvent ¶
type SwigcptrSfKeyEvent uintptr
func (SwigcptrSfKeyEvent) GetAlt ¶
func (arg1 SwigcptrSfKeyEvent) GetAlt() (_swig_ret int)
func (SwigcptrSfKeyEvent) GetCode ¶
func (arg1 SwigcptrSfKeyEvent) GetCode() (_swig_ret SfKeyCode)
func (SwigcptrSfKeyEvent) GetControl ¶
func (arg1 SwigcptrSfKeyEvent) GetControl() (_swig_ret int)
func (SwigcptrSfKeyEvent) GetEvType ¶
func (arg1 SwigcptrSfKeyEvent) GetEvType() (_swig_ret SfEventType)
func (SwigcptrSfKeyEvent) GetShift ¶
func (arg1 SwigcptrSfKeyEvent) GetShift() (_swig_ret int)
func (SwigcptrSfKeyEvent) GetSystem ¶
func (arg1 SwigcptrSfKeyEvent) GetSystem() (_swig_ret int)
func (SwigcptrSfKeyEvent) SetAlt ¶
func (arg1 SwigcptrSfKeyEvent) SetAlt(arg2 int)
func (SwigcptrSfKeyEvent) SetCode ¶
func (arg1 SwigcptrSfKeyEvent) SetCode(arg2 SfKeyCode)
func (SwigcptrSfKeyEvent) SetControl ¶
func (arg1 SwigcptrSfKeyEvent) SetControl(arg2 int)
func (SwigcptrSfKeyEvent) SetEvType ¶
func (arg1 SwigcptrSfKeyEvent) SetEvType(arg2 SfEventType)
func (SwigcptrSfKeyEvent) SetShift ¶
func (arg1 SwigcptrSfKeyEvent) SetShift(arg2 int)
func (SwigcptrSfKeyEvent) SetSystem ¶
func (arg1 SwigcptrSfKeyEvent) SetSystem(arg2 int)
func (SwigcptrSfKeyEvent) SwigIsSfKeyEvent ¶
func (p SwigcptrSfKeyEvent) SwigIsSfKeyEvent()
func (SwigcptrSfKeyEvent) Swigcptr ¶
func (p SwigcptrSfKeyEvent) Swigcptr() uintptr
type SwigcptrSfMouseButtonEvent ¶
type SwigcptrSfMouseButtonEvent uintptr
func (SwigcptrSfMouseButtonEvent) GetButton ¶
func (arg1 SwigcptrSfMouseButtonEvent) GetButton() (_swig_ret SfMouseButton)
func (SwigcptrSfMouseButtonEvent) GetEvType ¶
func (arg1 SwigcptrSfMouseButtonEvent) GetEvType() (_swig_ret SfEventType)
func (SwigcptrSfMouseButtonEvent) GetX ¶
func (arg1 SwigcptrSfMouseButtonEvent) GetX() (_swig_ret int)
func (SwigcptrSfMouseButtonEvent) GetY ¶
func (arg1 SwigcptrSfMouseButtonEvent) GetY() (_swig_ret int)
func (SwigcptrSfMouseButtonEvent) SetButton ¶
func (arg1 SwigcptrSfMouseButtonEvent) SetButton(arg2 SfMouseButton)
func (SwigcptrSfMouseButtonEvent) SetEvType ¶
func (arg1 SwigcptrSfMouseButtonEvent) SetEvType(arg2 SfEventType)
func (SwigcptrSfMouseButtonEvent) SetX ¶
func (arg1 SwigcptrSfMouseButtonEvent) SetX(arg2 int)
func (SwigcptrSfMouseButtonEvent) SetY ¶
func (arg1 SwigcptrSfMouseButtonEvent) SetY(arg2 int)
func (SwigcptrSfMouseButtonEvent) SwigIsSfMouseButtonEvent ¶
func (p SwigcptrSfMouseButtonEvent) SwigIsSfMouseButtonEvent()
func (SwigcptrSfMouseButtonEvent) Swigcptr ¶
func (p SwigcptrSfMouseButtonEvent) Swigcptr() uintptr
type SwigcptrSfMouseMoveEvent ¶
type SwigcptrSfMouseMoveEvent uintptr
func (SwigcptrSfMouseMoveEvent) GetEvType ¶
func (arg1 SwigcptrSfMouseMoveEvent) GetEvType() (_swig_ret SfEventType)
func (SwigcptrSfMouseMoveEvent) GetX ¶
func (arg1 SwigcptrSfMouseMoveEvent) GetX() (_swig_ret int)
func (SwigcptrSfMouseMoveEvent) GetY ¶
func (arg1 SwigcptrSfMouseMoveEvent) GetY() (_swig_ret int)
func (SwigcptrSfMouseMoveEvent) SetEvType ¶
func (arg1 SwigcptrSfMouseMoveEvent) SetEvType(arg2 SfEventType)
func (SwigcptrSfMouseMoveEvent) SetX ¶
func (arg1 SwigcptrSfMouseMoveEvent) SetX(arg2 int)
func (SwigcptrSfMouseMoveEvent) SetY ¶
func (arg1 SwigcptrSfMouseMoveEvent) SetY(arg2 int)
func (SwigcptrSfMouseMoveEvent) SwigIsSfMouseMoveEvent ¶
func (p SwigcptrSfMouseMoveEvent) SwigIsSfMouseMoveEvent()
func (SwigcptrSfMouseMoveEvent) Swigcptr ¶
func (p SwigcptrSfMouseMoveEvent) Swigcptr() uintptr
type SwigcptrSfMouseWheelEvent ¶
type SwigcptrSfMouseWheelEvent uintptr
func (SwigcptrSfMouseWheelEvent) GetDelta ¶
func (arg1 SwigcptrSfMouseWheelEvent) GetDelta() (_swig_ret int)
func (SwigcptrSfMouseWheelEvent) GetEvType ¶
func (arg1 SwigcptrSfMouseWheelEvent) GetEvType() (_swig_ret SfEventType)
func (SwigcptrSfMouseWheelEvent) GetX ¶
func (arg1 SwigcptrSfMouseWheelEvent) GetX() (_swig_ret int)
func (SwigcptrSfMouseWheelEvent) GetY ¶
func (arg1 SwigcptrSfMouseWheelEvent) GetY() (_swig_ret int)
func (SwigcptrSfMouseWheelEvent) SetDelta ¶
func (arg1 SwigcptrSfMouseWheelEvent) SetDelta(arg2 int)
func (SwigcptrSfMouseWheelEvent) SetEvType ¶
func (arg1 SwigcptrSfMouseWheelEvent) SetEvType(arg2 SfEventType)
func (SwigcptrSfMouseWheelEvent) SetX ¶
func (arg1 SwigcptrSfMouseWheelEvent) SetX(arg2 int)
func (SwigcptrSfMouseWheelEvent) SetY ¶
func (arg1 SwigcptrSfMouseWheelEvent) SetY(arg2 int)
func (SwigcptrSfMouseWheelEvent) SwigIsSfMouseWheelEvent ¶
func (p SwigcptrSfMouseWheelEvent) SwigIsSfMouseWheelEvent()
func (SwigcptrSfMouseWheelEvent) Swigcptr ¶
func (p SwigcptrSfMouseWheelEvent) Swigcptr() uintptr
type SwigcptrSfMouseWheelScrollEvent ¶
type SwigcptrSfMouseWheelScrollEvent uintptr
func (SwigcptrSfMouseWheelScrollEvent) GetDelta ¶
func (arg1 SwigcptrSfMouseWheelScrollEvent) GetDelta() (_swig_ret float32)
func (SwigcptrSfMouseWheelScrollEvent) GetEvType ¶
func (arg1 SwigcptrSfMouseWheelScrollEvent) GetEvType() (_swig_ret SfEventType)
func (SwigcptrSfMouseWheelScrollEvent) GetWheel ¶
func (arg1 SwigcptrSfMouseWheelScrollEvent) GetWheel() (_swig_ret SfMouseWheel)
func (SwigcptrSfMouseWheelScrollEvent) GetX ¶
func (arg1 SwigcptrSfMouseWheelScrollEvent) GetX() (_swig_ret int)
func (SwigcptrSfMouseWheelScrollEvent) GetY ¶
func (arg1 SwigcptrSfMouseWheelScrollEvent) GetY() (_swig_ret int)
func (SwigcptrSfMouseWheelScrollEvent) SetDelta ¶
func (arg1 SwigcptrSfMouseWheelScrollEvent) SetDelta(arg2 float32)
func (SwigcptrSfMouseWheelScrollEvent) SetEvType ¶
func (arg1 SwigcptrSfMouseWheelScrollEvent) SetEvType(arg2 SfEventType)
func (SwigcptrSfMouseWheelScrollEvent) SetWheel ¶
func (arg1 SwigcptrSfMouseWheelScrollEvent) SetWheel(arg2 SfMouseWheel)
func (SwigcptrSfMouseWheelScrollEvent) SetX ¶
func (arg1 SwigcptrSfMouseWheelScrollEvent) SetX(arg2 int)
func (SwigcptrSfMouseWheelScrollEvent) SetY ¶
func (arg1 SwigcptrSfMouseWheelScrollEvent) SetY(arg2 int)
func (SwigcptrSfMouseWheelScrollEvent) SwigIsSfMouseWheelScrollEvent ¶
func (p SwigcptrSfMouseWheelScrollEvent) SwigIsSfMouseWheelScrollEvent()
func (SwigcptrSfMouseWheelScrollEvent) Swigcptr ¶
func (p SwigcptrSfMouseWheelScrollEvent) Swigcptr() uintptr
type SwigcptrSfSensorEvent ¶
type SwigcptrSfSensorEvent uintptr
func (SwigcptrSfSensorEvent) GetEvType ¶
func (arg1 SwigcptrSfSensorEvent) GetEvType() (_swig_ret SfEventType)
func (SwigcptrSfSensorEvent) GetSensorType ¶
func (arg1 SwigcptrSfSensorEvent) GetSensorType() (_swig_ret SfSensorType)
func (SwigcptrSfSensorEvent) GetX ¶
func (arg1 SwigcptrSfSensorEvent) GetX() (_swig_ret float32)
func (SwigcptrSfSensorEvent) GetY ¶
func (arg1 SwigcptrSfSensorEvent) GetY() (_swig_ret float32)
func (SwigcptrSfSensorEvent) GetZ ¶
func (arg1 SwigcptrSfSensorEvent) GetZ() (_swig_ret float32)
func (SwigcptrSfSensorEvent) SetEvType ¶
func (arg1 SwigcptrSfSensorEvent) SetEvType(arg2 SfEventType)
func (SwigcptrSfSensorEvent) SetSensorType ¶
func (arg1 SwigcptrSfSensorEvent) SetSensorType(arg2 SfSensorType)
func (SwigcptrSfSensorEvent) SetX ¶
func (arg1 SwigcptrSfSensorEvent) SetX(arg2 float32)
func (SwigcptrSfSensorEvent) SetY ¶
func (arg1 SwigcptrSfSensorEvent) SetY(arg2 float32)
func (SwigcptrSfSensorEvent) SetZ ¶
func (arg1 SwigcptrSfSensorEvent) SetZ(arg2 float32)
func (SwigcptrSfSensorEvent) SwigIsSfSensorEvent ¶
func (p SwigcptrSfSensorEvent) SwigIsSfSensorEvent()
func (SwigcptrSfSensorEvent) Swigcptr ¶
func (p SwigcptrSfSensorEvent) Swigcptr() uintptr
type SwigcptrSfSizeEvent ¶
type SwigcptrSfSizeEvent uintptr
func (SwigcptrSfSizeEvent) GetEvType ¶
func (arg1 SwigcptrSfSizeEvent) GetEvType() (_swig_ret SfEventType)
func (SwigcptrSfSizeEvent) GetHeight ¶
func (arg1 SwigcptrSfSizeEvent) GetHeight() (_swig_ret uint)
func (SwigcptrSfSizeEvent) GetWidth ¶
func (arg1 SwigcptrSfSizeEvent) GetWidth() (_swig_ret uint)
func (SwigcptrSfSizeEvent) SetEvType ¶
func (arg1 SwigcptrSfSizeEvent) SetEvType(arg2 SfEventType)
func (SwigcptrSfSizeEvent) SetHeight ¶
func (arg1 SwigcptrSfSizeEvent) SetHeight(arg2 uint)
func (SwigcptrSfSizeEvent) SetWidth ¶
func (arg1 SwigcptrSfSizeEvent) SetWidth(arg2 uint)
func (SwigcptrSfSizeEvent) SwigIsSfSizeEvent ¶
func (p SwigcptrSfSizeEvent) SwigIsSfSizeEvent()
func (SwigcptrSfSizeEvent) Swigcptr ¶
func (p SwigcptrSfSizeEvent) Swigcptr() uintptr
type SwigcptrSfTextEvent ¶
type SwigcptrSfTextEvent uintptr
func (SwigcptrSfTextEvent) GetEvType ¶
func (arg1 SwigcptrSfTextEvent) GetEvType() (_swig_ret SfEventType)
func (SwigcptrSfTextEvent) GetUnicode ¶
func (arg1 SwigcptrSfTextEvent) GetUnicode() (_swig_ret uint)
func (SwigcptrSfTextEvent) SetEvType ¶
func (arg1 SwigcptrSfTextEvent) SetEvType(arg2 SfEventType)
func (SwigcptrSfTextEvent) SetUnicode ¶
func (arg1 SwigcptrSfTextEvent) SetUnicode(arg2 uint)
func (SwigcptrSfTextEvent) SwigIsSfTextEvent ¶
func (p SwigcptrSfTextEvent) SwigIsSfTextEvent()
func (SwigcptrSfTextEvent) Swigcptr ¶
func (p SwigcptrSfTextEvent) Swigcptr() uintptr
type SwigcptrSfTouchEvent ¶
type SwigcptrSfTouchEvent uintptr
func (SwigcptrSfTouchEvent) GetEvType ¶
func (arg1 SwigcptrSfTouchEvent) GetEvType() (_swig_ret SfEventType)
func (SwigcptrSfTouchEvent) GetFinger ¶
func (arg1 SwigcptrSfTouchEvent) GetFinger() (_swig_ret uint)
func (SwigcptrSfTouchEvent) GetX ¶
func (arg1 SwigcptrSfTouchEvent) GetX() (_swig_ret int)
func (SwigcptrSfTouchEvent) GetY ¶
func (arg1 SwigcptrSfTouchEvent) GetY() (_swig_ret int)
func (SwigcptrSfTouchEvent) SetEvType ¶
func (arg1 SwigcptrSfTouchEvent) SetEvType(arg2 SfEventType)
func (SwigcptrSfTouchEvent) SetFinger ¶
func (arg1 SwigcptrSfTouchEvent) SetFinger(arg2 uint)
func (SwigcptrSfTouchEvent) SetX ¶
func (arg1 SwigcptrSfTouchEvent) SetX(arg2 int)
func (SwigcptrSfTouchEvent) SetY ¶
func (arg1 SwigcptrSfTouchEvent) SetY(arg2 int)
func (SwigcptrSfTouchEvent) SwigIsSfTouchEvent ¶
func (p SwigcptrSfTouchEvent) SwigIsSfTouchEvent()
func (SwigcptrSfTouchEvent) Swigcptr ¶
func (p SwigcptrSfTouchEvent) Swigcptr() uintptr
type SwigcptrSfVector2f ¶
type SwigcptrSfVector2f uintptr
func (SwigcptrSfVector2f) GetX ¶
func (arg1 SwigcptrSfVector2f) GetX() (_swig_ret float32)
func (SwigcptrSfVector2f) GetY ¶
func (arg1 SwigcptrSfVector2f) GetY() (_swig_ret float32)
func (SwigcptrSfVector2f) SetX ¶
func (arg1 SwigcptrSfVector2f) SetX(arg2 float32)
func (SwigcptrSfVector2f) SetY ¶
func (arg1 SwigcptrSfVector2f) SetY(arg2 float32)
func (SwigcptrSfVector2f) SwigIsSfVector2f ¶
func (p SwigcptrSfVector2f) SwigIsSfVector2f()
func (SwigcptrSfVector2f) Swigcptr ¶
func (p SwigcptrSfVector2f) Swigcptr() uintptr
type SwigcptrSfVector2i ¶
type SwigcptrSfVector2i uintptr
func (SwigcptrSfVector2i) GetX ¶
func (arg1 SwigcptrSfVector2i) GetX() (_swig_ret int)
func (SwigcptrSfVector2i) GetY ¶
func (arg1 SwigcptrSfVector2i) GetY() (_swig_ret int)
func (SwigcptrSfVector2i) SetX ¶
func (arg1 SwigcptrSfVector2i) SetX(arg2 int)
func (SwigcptrSfVector2i) SetY ¶
func (arg1 SwigcptrSfVector2i) SetY(arg2 int)
func (SwigcptrSfVector2i) SwigIsSfVector2i ¶
func (p SwigcptrSfVector2i) SwigIsSfVector2i()
func (SwigcptrSfVector2i) Swigcptr ¶
func (p SwigcptrSfVector2i) Swigcptr() uintptr
type SwigcptrSfVector2u ¶
type SwigcptrSfVector2u uintptr
func (SwigcptrSfVector2u) GetX ¶
func (arg1 SwigcptrSfVector2u) GetX() (_swig_ret uint)
func (SwigcptrSfVector2u) GetY ¶
func (arg1 SwigcptrSfVector2u) GetY() (_swig_ret uint)
func (SwigcptrSfVector2u) SetX ¶
func (arg1 SwigcptrSfVector2u) SetX(arg2 uint)
func (SwigcptrSfVector2u) SetY ¶
func (arg1 SwigcptrSfVector2u) SetY(arg2 uint)
func (SwigcptrSfVector2u) SwigIsSfVector2u ¶
func (p SwigcptrSfVector2u) SwigIsSfVector2u()
func (SwigcptrSfVector2u) Swigcptr ¶
func (p SwigcptrSfVector2u) Swigcptr() uintptr
type SwigcptrSfVector3f ¶
type SwigcptrSfVector3f uintptr
func (SwigcptrSfVector3f) GetX ¶
func (arg1 SwigcptrSfVector3f) GetX() (_swig_ret float32)
func (SwigcptrSfVector3f) GetY ¶
func (arg1 SwigcptrSfVector3f) GetY() (_swig_ret float32)
func (SwigcptrSfVector3f) GetZ ¶
func (arg1 SwigcptrSfVector3f) GetZ() (_swig_ret float32)
func (SwigcptrSfVector3f) SetX ¶
func (arg1 SwigcptrSfVector3f) SetX(arg2 float32)
func (SwigcptrSfVector3f) SetY ¶
func (arg1 SwigcptrSfVector3f) SetY(arg2 float32)
func (SwigcptrSfVector3f) SetZ ¶
func (arg1 SwigcptrSfVector3f) SetZ(arg2 float32)
func (SwigcptrSfVector3f) SwigIsSfVector3f ¶
func (p SwigcptrSfVector3f) SwigIsSfVector3f()
func (SwigcptrSfVector3f) Swigcptr ¶
func (p SwigcptrSfVector3f) Swigcptr() uintptr
type SwigcptrSfVideoMode ¶
type SwigcptrSfVideoMode uintptr
func (SwigcptrSfVideoMode) GetBitsPerPixel ¶
func (arg1 SwigcptrSfVideoMode) GetBitsPerPixel() (_swig_ret uint)
func (SwigcptrSfVideoMode) GetHeight ¶
func (arg1 SwigcptrSfVideoMode) GetHeight() (_swig_ret uint)
func (SwigcptrSfVideoMode) GetWidth ¶
func (arg1 SwigcptrSfVideoMode) GetWidth() (_swig_ret uint)
func (SwigcptrSfVideoMode) SetBitsPerPixel ¶
func (arg1 SwigcptrSfVideoMode) SetBitsPerPixel(arg2 uint)
func (SwigcptrSfVideoMode) SetHeight ¶
func (arg1 SwigcptrSfVideoMode) SetHeight(arg2 uint)
func (SwigcptrSfVideoMode) SetWidth ¶
func (arg1 SwigcptrSfVideoMode) SetWidth(arg2 uint)
func (SwigcptrSfVideoMode) SwigIsSfVideoMode ¶
func (p SwigcptrSfVideoMode) SwigIsSfVideoMode()
func (SwigcptrSfVideoMode) Swigcptr ¶
func (p SwigcptrSfVideoMode) Swigcptr() uintptr
type SwigcptrStruct_SS_sfContext ¶
type SwigcptrStruct_SS_sfContext uintptr
func (SwigcptrStruct_SS_sfContext) Swigcptr ¶
func (p SwigcptrStruct_SS_sfContext) Swigcptr() uintptr
type SwigcptrStruct_SS_sfCursor ¶
type SwigcptrStruct_SS_sfCursor uintptr
func (SwigcptrStruct_SS_sfCursor) Swigcptr ¶
func (p SwigcptrStruct_SS_sfCursor) Swigcptr() uintptr
type SwigcptrStruct_SS_sfWindow ¶
type SwigcptrStruct_SS_sfWindow uintptr
func (SwigcptrStruct_SS_sfWindow) Swigcptr ¶
func (p SwigcptrStruct_SS_sfWindow) Swigcptr() uintptr
Click to show internal directories.
Click to hide internal directories.