Rafał Dzięgiel
d5ab23d5c1
Reduce rounded corners radius
2021-02-09 12:45:22 +01:00
Rafał Dzięgiel
23ef3bb85f
Optimize sliders for GTK 4.1
2021-02-09 12:40:11 +01:00
Rafał Dzięgiel
b472c23bf5
Fix volume scale border not turning red when overamp
2021-02-08 22:29:00 +01:00
Rafał Dzięgiel
0167f0ab4e
Draw black background from CSS when GL fails
...
When GLArea gets a GL error it leaves user with nothing, but transparent background with error text in the middle. Make it look somewhat decent by drawing black background for the not working video widget.
2021-02-05 19:15:15 +01:00
Rafał Dzięgiel
30cc8732de
Style only speed separator
2021-01-23 09:02:06 +01:00
Rafał Dzięgiel
d4ebb1456f
Alter playlist width with box container width
2021-01-22 13:15:27 +01:00
Rafał Dzięgiel
2b77810274
Add a custom separator above speed scale
...
Let users know what this scale does by having a separator with a "speed" label
2021-01-22 13:13:57 +01:00
Rafał Dzięgiel
8d33766725
Stretch fullscreen speed scale
...
Make it easier to set it precisely in fullscreen where everything is bigger.
2021-01-22 12:06:56 +01:00
Rafał Dzięgiel
20f03423f3
Make speed scale look consistent with volume scale on fullscreen
2021-01-22 11:45:43 +01:00
Rafał Dzięgiel
d8c6c61f1b
Disable shadows for playlist icons in fullscreen
2021-01-22 11:20:34 +01:00
Rafostar
3ba21d42ec
Add playlist widget to elapsed time button popover
2021-01-19 16:41:49 +01:00
Rafostar
df4678d930
Show chapter in popover when dragging position scale
2021-01-13 17:55:22 +01:00
Rafostar
83bec8e834
Mark video chapters on progress bar
2021-01-12 18:26:28 +01:00
Rafostar
64a31718c0
Do not set progress bar top margin in floating mode
2021-01-10 22:09:13 +01:00
Rafostar
cff65a989d
Revert "Remove unnecessary position scale margin"
...
This reverts commit 1c82b2288a
.
The margin turns out to be necessary for uneven scaling on
some displays resolutions.
2021-01-08 21:45:37 +01:00
Rafostar
1c82b2288a
Remove unnecessary position scale margin
2020-12-14 23:14:16 +01:00
Rafostar
67389ee295
Fix for negative sizes and separate popovers override
2020-12-14 12:10:02 +01:00
Rafostar
ef12074559
Tweak fullscreen GUI theme
...
Notable changes:
* Smaller media title font (fits more characters on screen)
* Constant top timer numbers size (time no longer moves left/right when hour changes)
* Reduced top shadow overlay height
* Smaller buttons on bottom controls panel (their icon size remains the same)
* Reduced bottom panel and progress bar height
* Few additional margins and font sizes tweaks
2020-12-14 11:30:19 +01:00
Rafostar
6ea210ff12
Minor prefs theme improvements
2020-12-08 17:08:55 +01:00
Rafostar
64bf1dc172
Apply rotate animation to the icon, not whole button
2020-12-04 09:55:26 +01:00
Rafostar
a2ee14e74f
Set revealer animation fill mode to "forwards"
2020-12-03 16:53:22 +01:00
Rafostar
333b9d8224
Mobile friendly interface transitions #14
2020-12-02 10:59:02 +01:00
Rafostar
4cb743b931
Performance: do not draw header bar bottom border
...
It is not even noticable and reduces performance by having more pixels to redraw every frame.
2020-12-02 10:56:19 +01:00
Rafostar
def5bc5d96
Change volume scale color when over-amplified
2020-12-01 09:43:36 +01:00
Rafostar
66162349ac
Use dark theme by default. Closes #13
2020-11-21 15:56:03 +01:00
Rafostar
f5e5071937
Support setting sliders brighter #13
...
When dark theme is used, sliders (especially progress on fullscreen) tend to look a little too dark (as if they were disabled). To overcome this, add an option to force them to be 20% brighter.
2020-11-21 15:20:09 +01:00
Rafostar
910a289b6d
Let floating window have shadow if shadows are enabled
...
If normal window would have shadow and floting did not, then a size mismatch would occur during transition. Besides it allows to notice if floating window is focused and respects user theme.
2020-11-13 23:00:06 +01:00
Rafostar
f660d900ba
Performance: add option to disable window shadows
...
Rendering window shadows in GTK4 doubles GPU usage. This commit adds an option to disable them for performance gain (useful on low-end devices).
2020-11-13 19:26:49 +01:00
Rafostar
4413fdb8a2
Tweak top revealer size and opacity a little
2020-11-13 13:16:12 +01:00
Rafostar
8e48da2a9f
Performance: do not render window background and shadows when fullscreen
2020-11-12 22:51:14 +01:00
Rafostar
63236a8097
Performance: render video and black background in single GL pass
2020-11-12 19:20:03 +01:00
Rafostar
513904bd6d
Make prefs tabs look like the ones in gnome-settings
2020-11-09 19:30:45 +01:00
Rafostar
23b39e5f3b
Add open URI dialog
2020-11-03 20:56:21 +01:00
Rafostar
ff58713426
Add "Floating Window Mode"
...
A simple borderless window floating on desktop. Window can be resized and moved by dragging. It also has some minimalistic controls showing on top of the video when cursor is hovering over it.\n\n This was a feature originally requested by @zahid1905.
2020-11-03 17:40:19 +01:00
Rafostar
31f208006f
Add startup fullscreen and volume preferences
2020-10-26 11:07:01 +01:00
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