12 lines
491 B
Plaintext
12 lines
491 B
Plaintext
on.initialize = function()
|
|
love.graphics.setFont(love.graphics.newFont(20))
|
|
Line_height = math.floor(love.graphics.getFont():getHeight()*1.3)
|
|
Line_number_padding = Line_number_width*App.width('m')
|
|
Menu_left, Menu_top, Safe_width, Safe_height = love.window.getSafeArea()
|
|
Menu_height = 5 + Line_height + 5
|
|
Menu_bottom = Menu_top + Menu_height
|
|
Panes = map(Example_panes, example_pane)
|
|
table.insert(Panes, new_pane())
|
|
Current_pane_index = 1
|
|
Current_pane = Panes[Current_pane_index]
|
|
end |