Daniel Perelman
ab6a480131
Apply reformatting from lint.
2021-09-07 18:04:38 +01:00
Daniel Perelman
f548884f57
Correct time computation for seekbar tooltip.
2021-09-07 18:04:38 +01:00
John Maguire
341dc7326f
Reformat all C++
2020-09-22 14:56:06 +01:00
Kerem Seyhan
4ac2dedefa
Added mouse forward and back button actions.
2018-08-14 17:09:55 +01:00
David Guillen Fandos
4a1236f8da
Reduce some CPU load by disabling/fixing some UI stuff
...
- Disabling playlist row glow by default
- Track slider popup visible by default, add hide()
to ensure not visible by default (no more repaints)
- Set kTrackSliderUpdateTimeMs to 500. IMO 40 is too low
This should partially fix issue #1079
2018-08-08 22:39:54 +01:00
Antonio Russo
1732e56fe6
Hide TrackSliderPopup on appropriate leaveEvent
...
The previous fix introduces a regression on some platforms
which did not generate a leaveEvent with the TrackSliderPopup
was displayed. Logic is introduced to identify bonafide mouse
motion out of the TrackSliderSlider.
2018-02-24 23:42:29 +00:00
John Maguire
9929450cc2
Revert "Hide TrackSliderPopup on exit from popup"
...
This reverts commit f629d37315
.
2018-02-24 22:35:40 +00:00
Antonio Russo
f629d37315
Hide TrackSliderPopup on exit from popup
...
The previous behavior exited on leaving TrackSliderSlider,
which causes the popup to flicker, as it is shown and
hidden rapidly.
2018-02-24 17:16:51 +00:00
narunlifescience
e1657ab2e8
Mouse wheel track slider Seeking
...
event accept
make format
2015-11-09 08:14:38 -06:00
Eduardo Sánchez Muñoz
11b61c2a67
Use Player::SeekForward() and Player::SeekBackward() to handle seeking with arrow keys.
2015-07-02 14:59:30 +02:00
Eduardo Sánchez Muñoz
758444de5f
Make seeking with keys behaviour consistent.
2015-07-02 13:54:11 +02:00
Mark Furneaux
b76af5f792
Increase update rate of track slider
...
Increases the refresh rate of the track progress bar to 25fps.
This looks much better with moodbars than the previous 1fps.
All the common code that use to run at 1fps still retains that
rate so the overhead due to this is negligible.
2014-05-19 11:51:40 -04:00
John Maguire
bebd781fdf
Reformat all non-3rd-party C/C++/Objective-C++.
...
Command line:
find src ext -regex '.*\.\(h\|cpp\|mm\)' -exec clang-format -i
-style='{BasedOnStyle: Google, DerivePointerBinding: false}' {} \;
2014-02-07 16:34:20 +01:00
David Sansome
a39cccd059
Update the track slider popup delta time when the track position changes.
2011-02-21 22:25:04 +00:00
David Sansome
107b7b54f9
Add an extra line to the track slider popup to show the difference between the current time and the destination time.
2011-02-21 20:59:30 +00:00
David Sansome
9c03677143
Make the track slider popup a normal widget instead of a top-level window. Removes a lot of the complexity and fixes some bugs
2010-12-29 14:49:39 +00:00
David Sansome
5b4b4a98c7
Don't show the slider popup when the slider is disabled, and remove some window flags
2010-12-29 14:32:16 +00:00
David Sansome
62e21d64f3
Make the track slider popup more accurate, make the text bold, make the shadow bigger but fade out towards the bottom, and make it close when the mouse leaves the area of the slider.
2010-12-27 19:23:12 +00:00
David Sansome
fbbd4d4b27
Add a picker to the seek slider. Fixes issue #1050
2010-12-27 16:34:00 +00:00
David Sansome
ed1a25693c
Add missing licenses to debian/copyright, and add copyright information to each source file
2010-11-20 13:27:10 +00:00
David Sansome
1aee5e4667
Split all the source files up into seven new directories.
2010-05-10 21:50:31 +00:00