RL_GetFileLength.
This commit is contained in:
@@ -201,7 +201,7 @@ function FileExplorer:fileSelect( file )
|
||||
end
|
||||
|
||||
function FileExplorer:openFile()
|
||||
print( self.file )
|
||||
print( self.file, RL_GetFileLength( self.file ) )
|
||||
end
|
||||
|
||||
function FileExplorer:updateFiles()
|
||||
|
||||
@@ -23,7 +23,6 @@ function init()
|
||||
local mPos = RL_GetMonitorPosition( monitor )
|
||||
local mSize = RL_GetMonitorSize( monitor )
|
||||
local winSize = RL_GetWindowSize()
|
||||
-- local winSize = { 1920, 1080 }
|
||||
|
||||
RL_SetWindowState( FLAG_WINDOW_RESIZABLE )
|
||||
RL_SetWindowSize( winSize )
|
||||
|
||||
@@ -51,7 +51,7 @@ Gui = {
|
||||
|
||||
_cells = {},
|
||||
_mousePos = Vec2:new( 0, 0 ), -- Last mouse position that was passed to Gui.process.
|
||||
_inputElement = nil,
|
||||
_inputElement = nil, -- Element that has the input text item.
|
||||
_inputItem = nil, -- Must be type Text.
|
||||
}
|
||||
|
||||
@@ -637,8 +637,6 @@ function Container:mouseScroll( v )
|
||||
self:scroll( mousePos )
|
||||
end
|
||||
|
||||
|
||||
-- //TODO Add this
|
||||
function Container:isMouseOver( mousePosition )
|
||||
local over = RL_CheckCollisionPointRec( mousePosition, self.bounds )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user