Commit Graph

12 Commits

Author SHA1 Message Date
tomasklaen
85b49002a8 feat: remove title option, use mpv's title config instead
ref #177
2022-09-14 16:45:57 +02:00
tomasklaen
fefe5f01d8 feat: added title option
ref #177
2022-09-14 16:29:10 +02:00
tomasklaen
b87a9a59f4 feat: added text_border option
Controls border of any text or icon when drawn on top of video.

ref #185
2022-09-14 14:14:45 +02:00
tomasklaen
1f18b8b751 feat: improve volume slider visuals
I wanted to round the nudge as well, but thats just too much math and bezier curves.
2022-09-14 13:53:30 +02:00
tomasklaen
ebccd11328 feat!: consolidate all *_font_scale options into one font_scale
ref #185
2022-09-13 17:55:31 +02:00
tomasklaen
9b64c529ac refactor!: element system, menu implementation, ...
With this, the codebase is mostly typed (as much as sumneko's type checking allows), and finally go-to-definition-able.

This refactor changed or touched more than 90% of the codebase, so here's just the most notable changes I can recall:

Menu implementation is now way more robust, and supports:
- live menu updates
- opening submenus allows navigating to parent menus
- items icons and bold & italic styling
- keeping menu open after selecting the item
- peeking submenus
- and a lot of other small tweaks

The menu input data structure changed. It no longer accepts `active_index` and `selected_index`, instead, each item can now have `active` or `selected` property.

And I'm sure there's a lot I'm forgetting to mention, but it's midnight here T.T

closes #144, ref #171, closes #176
2022-09-12 23:53:37 +02:00
tomasklaen
03abd30f8c feat: add tooltips 2022-09-07 14:09:00 +02:00
tomasklaen
b6d45e5bd7 fix: remove obsolete options, add persistency to controls, update conf file 2022-09-07 08:46:42 +02:00
tomasklaen
fa1b2112ec feat: implement controls bar
Also includes a lot of refactoring around codebase to make it work as needed.

Notable addition: new `items` command that displays playlist if any, or open-file otherwise.

ref #167, closes #71
2022-09-06 20:02:35 +02:00
christoph-heinrich
7e16fd9180 feat: better default config for chapter ranges (#165) 2022-09-02 20:59:10 +02:00
christoph-heinrich
a4b32e4edc feat: don't show tooltips for chapters that only end a range (#153)
Chapters that end a chapter range and are matched by something other
then `.*` are now not shown when hovering over that chapter,
unless that chapter is also used to start another range.
2022-09-01 13:00:35 +02:00
tomasklaen
804faf9e01 refactor!: use icon font to render icons 2022-08-30 16:24:14 +02:00