From 6d1c14e09cb7c7a5657374e8d102fd5bb48d0b73 Mon Sep 17 00:00:00 2001 From: jussi Date: Fri, 25 Mar 2022 22:31:59 +0200 Subject: More raygui functions and updated to raygui v3.2-dev. --- src/core.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/core.c') diff --git a/src/core.c b/src/core.c index 5ba5274..ef8cfed 100644 --- a/src/core.c +++ b/src/core.c @@ -301,6 +301,18 @@ int lcoreSetWindowTitle( lua_State *L ) { return 1; } +/* +> count = RL_GetMonitorCount() + +Get number of connected monitors + +- Success return int +*/ +int lcoreGetMonitorCount( lua_State *L ) { + lua_pushinteger( L, GetMonitorCount() ); + return 1; +} + /* > RL_CloseWindow() -- cgit v1.2.3