Move all constants and types to raylib.go
This commit is contained in:
parent
f71025719c
commit
135a4637a6
12 changed files with 916 additions and 910 deletions
|
@ -6,25 +6,6 @@ package raylib
|
|||
import "C"
|
||||
import "unsafe"
|
||||
|
||||
// Gestures type
|
||||
type Gestures int32
|
||||
|
||||
// Gestures types
|
||||
// NOTE: It could be used as flags to enable only some gestures
|
||||
const (
|
||||
GestureNone Gestures = 0
|
||||
GestureTap Gestures = 1
|
||||
GestureDoubletap Gestures = 2
|
||||
GestureHold Gestures = 4
|
||||
GestureDrag Gestures = 8
|
||||
GestureSwipeRight Gestures = 16
|
||||
GestureSwipeLeft Gestures = 32
|
||||
GestureSwipeUp Gestures = 64
|
||||
GestureSwipeDown Gestures = 128
|
||||
GesturePinchIn Gestures = 256
|
||||
GesturePinchOut Gestures = 512
|
||||
)
|
||||
|
||||
// SetGesturesEnabled - Enable a set of gestures using flags
|
||||
func SetGesturesEnabled(gestureFlags uint32) {
|
||||
cgestureFlags := (C.uint)(gestureFlags)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue