From 3b3d0ad32e24c2ff0a13daf3e865054f63afaf86 Mon Sep 17 00:00:00 2001 From: jussi Date: Wed, 24 Jan 2024 19:14:30 +0200 Subject: LoadBufferFromString, LoadWaveFromMemory and LoadMusicStreamFromMemory. --- examples/ray/main.lua | 2 +- examples/raygui_extensions/main.lua | 1 + examples/raygui_extensions/property_list.lua | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/ray/main.lua b/examples/ray/main.lua index 52924df..5ac2fcf 100644 --- a/examples/ray/main.lua +++ b/examples/ray/main.lua @@ -14,7 +14,7 @@ local function setupWindow() RL.SetWindowPosition( { mPos[1] + mSize[1] / 2 - winSize[1] / 2, mPos[2] + mSize[2] / 2 - winSize[2] / 2 } ) end -function ray_collision() +local function ray_collision() rayCol = RL.GetRayCollisionMesh( ray, sphereMesh, RL.MatrixIdentity() ) if rayCol ~= nil and rayCol.hit then diff --git a/examples/raygui_extensions/main.lua b/examples/raygui_extensions/main.lua index f6b9dee..e52c96d 100644 --- a/examples/raygui_extensions/main.lua +++ b/examples/raygui_extensions/main.lua @@ -36,6 +36,7 @@ local function addButton( bounds, text, callback ) callback, { { RL.LABEL, RL.TEXT_ALIGNMENT, RL.TEXT_ALIGN_CENTER }, + { RL.DEFAULT, RL.TEXT_SIZE, 32 }, { RL.LABEL, RL.TEXT_COLOR_NORMAL, RL.ColorToInt( { 84, 59, 22 } ) }, { RL.LABEL, RL.TEXT_COLOR_PRESSED, RL.ColorToInt( { 84/2, 59/2, 22/2 } ) }, { RL.LABEL, RL.TEXT_COLOR_FOCUSED, RL.ColorToInt( RL.GREEN ) }, diff --git a/examples/raygui_extensions/property_list.lua b/examples/raygui_extensions/property_list.lua index 13446a9..04c2b78 100644 --- a/examples/raygui_extensions/property_list.lua +++ b/examples/raygui_extensions/property_list.lua @@ -101,7 +101,7 @@ function PropertyList:updateContent() self._forceCheckScroll = true end --- Leave control bounds size to 0 to use default. Optional group for parameter 2 +-- Leave control bounds size to 0 to use default. Optional group for parameter 2. function PropertyList:addControl( control, group, noYAdvance ) control._noYAdvance = noYAdvance -- cgit v1.2.3