sokoban.love/0128-draw_file_dialog_input

7 lines
326 B
Plaintext
Raw Normal View History

2023-11-26 16:52:34 +00:00
draw_file_dialog_input = function()
-- draw a suffix to ensure the cursor is visible
App.color(Normal_color)
2023-11-26 17:21:09 +00:00
love.graphics.print(File_dialog_input_draw_suffix, Menu_left+15, Menu_top+10)
2023-11-26 16:52:34 +00:00
local w = App.width(File_dialog_input_draw_suffix)
2023-11-26 17:21:09 +00:00
draw_cursor(Menu_left+15+w, Menu_top+10, Current_pane.editor_state.line_height)
2023-11-26 16:52:34 +00:00
end