2023-11-15 14:06:56 +00:00
|
|
|
on.initialize = function()
|
2023-11-21 20:11:26 +00:00
|
|
|
love.graphics.setFont(love.graphics.newFont(Font_height))
|
|
|
|
Line_height = math.floor(Font_height*1.3)
|
2023-11-15 14:06:56 +00:00
|
|
|
Line_number_padding = Line_number_width*App.width('m')
|
2023-11-15 15:37:36 +00:00
|
|
|
Menu_left, Menu_top, Safe_width, Safe_height = love.window.getSafeArea()
|
2023-11-15 15:04:34 +00:00
|
|
|
Menu_height = 5 + Line_height + 5
|
|
|
|
Menu_bottom = Menu_top + Menu_height
|
2023-11-21 07:05:33 +00:00
|
|
|
Panes = map(Example_panes, example_pane)
|
2023-11-19 21:37:41 +00:00
|
|
|
table.insert(Panes, new_pane())
|
|
|
|
Current_pane_index = 1
|
|
|
|
Current_pane = Panes[Current_pane_index]
|
2023-11-15 15:04:34 +00:00
|
|
|
end
|