summaryrefslogtreecommitdiff
path: root/examples/raygui_extensions/property_list.lua
diff options
context:
space:
mode:
authorjussi2024-02-05 22:40:31 +0200
committerjussi2024-02-05 22:40:31 +0200
commiteda4eacfce4f62ca09fb4f6559f9b7aeabe3cc31 (patch)
tree110cf3da59fb0b646272c28a2df7570527f4ddb6 /examples/raygui_extensions/property_list.lua
parentd21512d88c2e24cf8cb230d29fb253fb5efd1661 (diff)
downloadreilua-enhanced-eda4eacfce4f62ca09fb4f6559f9b7aeabe3cc31.tar.gz
reilua-enhanced-eda4eacfce4f62ca09fb4f6559f9b7aeabe3cc31.tar.bz2
reilua-enhanced-eda4eacfce4f62ca09fb4f6559f9b7aeabe3cc31.zip
Raygui styles include properties, texture and font.
Diffstat (limited to 'examples/raygui_extensions/property_list.lua')
-rw-r--r--examples/raygui_extensions/property_list.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/raygui_extensions/property_list.lua b/examples/raygui_extensions/property_list.lua
index 04c2b78..35f2f36 100644
--- a/examples/raygui_extensions/property_list.lua
+++ b/examples/raygui_extensions/property_list.lua
@@ -141,7 +141,9 @@ function PropertyList:addGroup( name, active, group )
active,
function( this ) this.text = setGroupText( name, this.active ) self:updateContent() end,
{
- { RL.TOGGLE, RL.TEXT_ALIGNMENT, RL.TEXT_ALIGN_LEFT }
+ properties = {
+ { RL.TOGGLE, RL.TEXT_ALIGNMENT, RL.TEXT_ALIGN_LEFT }
+ }
}
)
control._controls = {} -- Prefix _ to try to prevent clashing with control definition.