Gui Icons enumeration.

This commit is contained in:
jussi
2024-12-11 00:21:28 +02:00
parent 14fbd73660
commit b4b81f68c4
10 changed files with 1343 additions and 18 deletions

View File

@@ -81,7 +81,7 @@ function FileBrowser:new( pos )
-- Back button.
object.backButton = Gui:Button(
Rect:new( 0, 0, iconButtonSize.x, iconButtonSize.y ),
RL.GuiIconText( 118, "" ),
RL.GuiIconText( RL.ICON_ARROW_LEFT_FILL, "" ),
{ -- callbacks.
pressed = function() object:back() end
}
@@ -94,7 +94,7 @@ function FileBrowser:new( pos )
-- Search button.
object.searchToggle = Gui:Toggle(
Rect:new( 0, 0, iconButtonSize.x, iconButtonSize.y ),
RL.GuiIconText( 42, "" ),
RL.GuiIconText( RL.ICON_LENS, "" ),
false, -- active.
{ -- callbacks.
pressed = function( this ) object:searchPressed( this.active ) end