Commit Graph

69 Commits

Author SHA1 Message Date
Rafostar
9354042379 Add preferences dialog
Allows customizing various settings. For now it includes player seeking times and mode customization. More options will be added in the future.
2020-10-25 10:14:14 +01:00
Rafostar
4dea498f37 Improve position scale alignment in fullscreen 2020-10-19 13:27:41 +02:00
Rafostar
b383a89107 Get rid of Noto Sans in CSS
Cantarell is the default font of GNOME. We do not need to specify "Noto Sans" as fallback.
2020-10-17 19:51:23 +02:00
Rafostar
745747b604 Hide time and position scale on LIVE media 2020-10-15 22:49:37 +02:00
Rafostar
d78d3c1450 Set position slider minimal fill to zero 2020-10-14 12:25:46 +02:00
Rafostar
d3e4f3bb0f Add player motion and key controllers 2020-10-12 16:25:54 +02:00
Rafostar
e2d6cc440d Tweak play/pause icons size 2020-10-07 23:41:12 +02:00
Rafostar
43a54920ef Change elapsed time into button 2020-10-07 23:10:11 +02:00
Rafostar
4c5d922d47 Fix toggle play button icon change 2020-10-07 20:22:02 +02:00
Rafostar
041b31c161 Fix enter fullscreen and popover buttons 2020-10-07 16:40:42 +02:00
Rafostar
db8429d73f Use "Cantarell" fonts for OSD with fallback to "Noto" and "sans-serif" 2020-09-21 22:19:37 +02:00
Rafostar
ae766298a8 Lower CPU usage when OSD is visible 2020-09-16 18:24:31 +02:00
Rafostar
1918b30bea Cover whole video screen with top revealer
Previously top revealer was set to fixed size, which caused a noticable video tearing along the revealer edge during its animation. This commit removes fixed revealer size, which in turn casues the revealer to cover whole video screen (default behavior), thus eliminates the tearing. Since overlay now becomes the top widget, all player notify signals were reconnected to it.
2020-09-16 11:54:01 +02:00
Rafostar
73e7f1e2a0 Add top overlay with title and current hour
This adds Kodi-like semi-transparent overlay with current media title, hour and estimated time when video will end. The overlay is visible only on fullscreen mode.
2020-09-15 21:08:46 +02:00
Rafostar
779796c2c3 Fix GUI look when video track is disabled 2020-09-14 22:25:42 +02:00
Rafostar
ab11d52a68 Recreate volume button from scratch
Create volume button with popover instead of using GTK provided volume button.

Creating new button with only needed elements is more efficient then removing unneeded items from pre-made volume button. This should also increase performance a little when changing volume, because now we generate new icon only when a change is needed. In pre-made button icon is regenerated on each volume change.
2020-09-09 21:34:32 +02:00
Rafostar
fd22457857 Reduce fullscreen position scale height a little bit 2020-09-08 10:31:22 +02:00
Rafostar
a8fa4bc6de Tweak fullscreen menu appearance 2020-09-07 11:27:06 +02:00
Rafostar
d8d342a956 Make everything on fullscreen bigger (TV mode) 2020-09-06 10:18:53 +02:00