summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorjussi2023-10-31 15:24:11 +0200
committerjussi2023-10-31 15:24:11 +0200
commitbe39fd96344ee1f4f85ac5c63b4e5f9daf6e5171 (patch)
treef0612052c4fe78ad2b6c2e7e8fc695a18d1d961e /include
parentd351b7b025f95983e49afaecb2fafef7802996a0 (diff)
downloadreilua-enhanced-be39fd96344ee1f4f85ac5c63b4e5f9daf6e5171.tar.gz
reilua-enhanced-be39fd96344ee1f4f85ac5c63b4e5f9daf6e5171.tar.bz2
reilua-enhanced-be39fd96344ee1f4f85ac5c63b4e5f9daf6e5171.zip
GlyphInfo type. Some new text and core functions.
Diffstat (limited to 'include')
-rw-r--r--include/core.h3
-rw-r--r--include/lua_core.h1
-rw-r--r--include/text.h8
3 files changed, 11 insertions, 1 deletions
diff --git a/include/core.h b/include/core.h
index f9b26bd..0a4cd2b 100644
--- a/include/core.h
+++ b/include/core.h
@@ -10,6 +10,8 @@ int lcoreIsWindowFocused( lua_State *L );
int lcoreSetWindowMonitor( lua_State *L );
int lcoreSetWindowPosition( lua_State *L );
int lcoreSetWindowSize( lua_State *L );
+int lcoreSetWindowOpacity( lua_State *L );
+int lcoreGetWindowHandle( lua_State *L );
int lcoreSetWindowMinSize( lua_State *L );
int lcoreGetMonitorPosition( lua_State *L );
int lcoreGetMonitorSize( lua_State *L );
@@ -20,6 +22,7 @@ int lcoreIsWindowState( lua_State *L );
int lcoreClearWindowState( lua_State *L );
int lcoreIsWindowResized( lua_State *L );
int lcoreSetWindowIcon( lua_State *L );
+int lcoreSetWindowIcons( lua_State *L );
int lcoreSetWindowTitle( lua_State *L );
int lcoreGetMonitorCount( lua_State *L );
int lcoreGetCurrentMonitor( lua_State *L );
diff --git a/include/lua_core.h b/include/lua_core.h
index 5fe539f..9090040 100644
--- a/include/lua_core.h
+++ b/include/lua_core.h
@@ -84,6 +84,7 @@ void uluaPushMatrix( lua_State *L, Matrix matrix );
void uluaPushRay( lua_State *L, Ray ray );
void uluaPushRayCollision( lua_State *L, RayCollision rayCol );
void uluaPushBoundingBox( lua_State *L, BoundingBox box );
+void uluaPushGlyphInfo( lua_State *L, GlyphInfo glyphInfo, Image *image );
void uluaPushBuffer( lua_State *L, Buffer buffer );
void uluaPushImage( lua_State *L, Image image );
void uluaPushTexture( lua_State *L, Texture texture );
diff --git a/include/text.h b/include/text.h
index 1cfe4e8..ddf782e 100644
--- a/include/text.h
+++ b/include/text.h
@@ -10,9 +10,15 @@ int ltextUnloadFont( lua_State *L );
/* Drawing. */
int ltextDrawFPS( lua_State *L );
int ltextDrawText( lua_State *L );
+int ltextDrawTextEx( lua_State *L );
int ltextDrawTextPro( lua_State *L );
-/* Misc. */
+int ltextDrawTextCodepoint( lua_State *L );
+int ltextDrawTextCodepoints( lua_State *L );
+/* Font info functions. */
int ltextMeasureText( lua_State *L );
+int ltextGetGlyphIndex( lua_State *L );
+int ltextGetGlyphInfo( lua_State *L );
+int ltextGetGlyphAtlasRec( lua_State *L );
int ltextGetFontBaseSize( lua_State *L );
int ltextGetFontGlyphCount( lua_State *L );
int ltextGetFontGlyphPadding( lua_State *L );