mirror of
https://github.com/mpv-player/mpv.git
synced 2026-06-06 20:10:30 +00:00
This implements a ASS context menu to be used on platforms other than Windows. The select script message will allow selecting an item with a single click when releasing a mouse button, like in native context menus. This is mainly useful to cycle pause with one click.
13 lines
492 B
Meson
13 lines
492 B
Meson
lua_files = ['defaults.lua', 'assdraw.lua', 'options.lua', 'osc.lua',
|
|
'ytdl_hook.lua', 'stats.lua', 'console.lua', 'auto_profiles.lua',
|
|
'input.lua', 'fzy.lua', 'select.lua', 'positioning.lua',
|
|
'commands.lua', 'context_menu.lua']
|
|
foreach file: lua_files
|
|
lua_file = custom_target(file,
|
|
input: file,
|
|
output: file + '.inc',
|
|
command: [file2string, '@INPUT@', '@OUTPUT@', '@SOURCE_ROOT@'],
|
|
)
|
|
sources += lua_file
|
|
endforeach
|