15 lines
645 B
Plaintext
15 lines
645 B
Plaintext
draw_menu_bar = function()
|
|
if App.fake_key_press then return end -- disable in tests
|
|
App.color(Menu_background_color)
|
|
love.graphics.rectangle('fill', 0,0, App.screen.width, Menu_bar_height)
|
|
App.color(Menu_border_color)
|
|
love.graphics.rectangle('line', 0,0, App.screen.width, Menu_bar_height)
|
|
App.color(Menu_command_color)
|
|
Menu_cursor = 5
|
|
add_hotkey_to_menu('ctrl+o: switch file')
|
|
add_hotkey_to_menu('ctrl+f: find')
|
|
add_hotkey_to_menu('ctrl+left ctrl+right: prev/next word')
|
|
add_hotkey_to_menu('ctrl+z ctrl+y: undo/redo')
|
|
add_hotkey_to_menu('ctrl+x ctrl+c ctrl+v: cut/copy/paste')
|
|
add_hotkey_to_menu('ctrl+= ctrl+- ctrl+0: zoom')
|
|
end |