diff options
| author | jussi | 2022-02-22 15:06:23 +0200 |
|---|---|---|
| committer | jussi | 2022-02-22 15:06:23 +0200 |
| commit | a7f58b3261565b59e508c659ae3a7f1964a5bad5 (patch) | |
| tree | e9e337687923e0997885d1b55f735d82bf29c6ed /include | |
| parent | 8800de59fa704cfe60ac980db079b44042639684 (diff) | |
| download | reilua-enhanced-a7f58b3261565b59e508c659ae3a7f1964a5bad5.tar.gz reilua-enhanced-a7f58b3261565b59e508c659ae3a7f1964a5bad5.tar.bz2 reilua-enhanced-a7f58b3261565b59e508c659ae3a7f1964a5bad5.zip | |
Touch and gestures.
Diffstat (limited to 'include')
| -rw-r--r-- | include/core.h | 11 | ||||
| -rw-r--r-- | include/text.h | 4 |
2 files changed, 14 insertions, 1 deletions
diff --git a/include/core.h b/include/core.h index b277356..8d855be 100644 --- a/include/core.h +++ b/include/core.h @@ -99,3 +99,14 @@ int lcoreGetMousePosition( lua_State *L ); int lcoreGetMouseDelta( lua_State *L ); int lcoreGetMouseWheelMove( lua_State *L ); int lcoreSetMousePosition( lua_State *L ); +int lcoreGetTouchPosition( lua_State *L ); +int lcoreGetTouchPointId( lua_State *L ); +int lcoreGetTouchPointCount( lua_State *L ); +int lcoreSetGesturesEnabled( lua_State *L ); +int lcoreIsGestureDetected( lua_State *L ); +int lcoreGetGestureDetected( lua_State *L ); +int lcoreGetGestureHoldDuration( lua_State *L ); +int lcoreGetGestureDragVector( lua_State *L ); +int lcoreGetGestureDragAngle( lua_State *L ); +int lcoreGetGesturePinchVector( lua_State *L ); +int lcoreGetGesturePinchAngle( lua_State *L ); diff --git a/include/text.h b/include/text.h index e9cced8..c1e7b3e 100644 --- a/include/text.h +++ b/include/text.h @@ -3,7 +3,9 @@ /* Validators. */ bool validFont( size_t id ); /* Loading. */ -int lmodelsLoadFont( lua_State *L ); +int ltextLoadFont( lua_State *L ); +int ltextUnloadFont( lua_State *L ); /* Drawing. */ int ltextDrawFPS( lua_State *L ); int ltextDrawText( lua_State *L ); +int ltextDrawTextPro( lua_State *L ); |
