diff options
| author | 1029chris <1029chris@gmail.com> | 2016-05-19 14:28:18 -0700 |
|---|---|---|
| committer | 1029chris <1029chris@gmail.com> | 2016-05-19 14:28:18 -0700 |
| commit | 3b78d300cafb382387310fc86fe3e5e938e6a038 (patch) | |
| tree | 52b999e1c7a19a19cc4d31cb680831cde7b25d14 /window.lua | |
| parent | 30e3c4eb01e1f764113bc3110a48569caea14bb7 (diff) | |
Folders can now be opened in the files browser
other tweaks
Diffstat (limited to 'window.lua')
| -rw-r--r-- | window.lua | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -174,6 +174,8 @@ function drawWindow(id) updateInternet() elseif id == 6 then updateSettings() + elseif id == 3 then + updateFiles() end if id == layer[1] and win[id].bar == "grey" then win[id].bar = "active" @@ -253,3 +255,10 @@ function windowMouseMove(id,limitx,limitw,limity,limith) win[id].y = limith end end +function mouseClick(x,y,w,h) + if sys.mouse.p.x >= x and sys.mouse.p.x <= x+w and + sys.mouse.p.y >= y and sys.mouse.p.y <= y+h and + sys.mouse.p.p == true and sys.mouse.drag == false then + return true + end +end |
