RL.config and InitWindow.
This commit is contained in:
@@ -11,8 +11,8 @@ Gui = Raygui:new()
|
||||
local grid = {}
|
||||
local windowbox = {}
|
||||
local tabBar = {}
|
||||
local texture = RL.LoadTexture( RL.GetBasePath().."../resources/images/gradient.png" )
|
||||
local textureRect = Rect:new( 0, 0, RL.GetTextureSize( texture )[1], RL.GetTextureSize( texture )[2] )
|
||||
local texture = nil
|
||||
local textureRect = Rect:new()
|
||||
|
||||
local function closeTab( self, id )
|
||||
local splits = Util.split( tabBar.text, ";" )
|
||||
@@ -55,6 +55,9 @@ function RL.init()
|
||||
|
||||
RL.GuiSetStyle( RL.DEFAULT, RL.TEXT_LINE_SPACING, 20 )
|
||||
|
||||
texture = RL.LoadTexture( RL.GetBasePath().."../resources/images/gradient.png" )
|
||||
textureRect = Rect:new( 0, 0, RL.GetTextureSize( texture )[1], RL.GetTextureSize( texture )[2] )
|
||||
|
||||
local label = Gui:Label(
|
||||
Rect:new( 16, 16, 64, 32 ),
|
||||
"Cat"
|
||||
|
||||
Reference in New Issue
Block a user