1
WinView = Subview:extend {
2
onNew = function (self)
5
local boxL = the.app.width / 2 - boxW / 2
6
local boxT = the.app.height / 2 - boxH / 2
7
local boxR = boxL + boxW
8
local boxB = boxT + boxH
37
text = 'Press Q to quit',
47
text = 'Any other key to keep exploring',
58
onUpdate = function (self)
59
if the.keys:justPressed('q') then
62
local outfile = io.open( "profile.txt", "w+" )
63
the.profiler:report( outfile )
68
elseif the.keys:allJustPressed() then
b'\\ No newline at end of file'