Stable version 0.10: video player graphics updated.

This commit is contained in:
John Preston 2016-08-03 13:32:44 +01:00
parent 12bcc88839
commit 4dded3d09c
10 changed files with 9 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 405 B

After

Width:  |  Height:  |  Size: 223 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 399 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 388 B

After

Width:  |  Height:  |  Size: 225 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 396 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 B

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 B

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 281 B

After

Width:  |  Height:  |  Size: 337 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 375 B

After

Width:  |  Height:  |  Size: 381 B

View file

@ -186,10 +186,10 @@ void Controller::resizeEvent(QResizeEvent *e) {
_playPauseResume->moveToLeft(st::mediaviewPlayPauseLeft, playTop);
int fullScreenTop = (height() - _fullScreenToggle->height()) / 2;
_fullScreenToggle->moveToRight(st::mediaviewPlayPauseLeft, fullScreenTop);
_fullScreenToggle->moveToRight(st::mediaviewFullScreenLeft, fullScreenTop);
_volumeController->moveToRight(st::mediaviewPlayPauseLeft + _fullScreenToggle->width() + st::mediaviewVolumeLeft, (height() - _volumeController->height()) / 2);
_playback->resize(width() - st::mediaviewPlayPauseLeft - _playPauseResume->width() - playTop - fullScreenTop - _volumeController->width() - st::mediaviewVolumeLeft - _fullScreenToggle->width() - st::mediaviewPlayPauseLeft, st::mediaviewSeekSize.height());
_volumeController->moveToRight(st::mediaviewFullScreenLeft + _fullScreenToggle->width() + st::mediaviewVolumeLeft, (height() - _volumeController->height()) / 2);
_playback->resize(width() - st::mediaviewPlayPauseLeft - _playPauseResume->width() - playTop - fullScreenTop - _volumeController->width() - st::mediaviewVolumeLeft - _fullScreenToggle->width() - st::mediaviewFullScreenLeft, st::mediaviewSeekSize.height());
_playback->moveToLeft(st::mediaviewPlayPauseLeft + _playPauseResume->width() + playTop, st::mediaviewPlaybackTop);
_playedAlready->moveToLeft(st::mediaviewPlayPauseLeft + _playPauseResume->width() + playTop, st::mediaviewPlayProgressTop);

View file

@ -40,7 +40,7 @@ mediaviewPlayButton: IconButton {
overOpacity: mediaviewActiveOpacity;
icon: icon {
{ "media_play", #ffffff, point(0px, 0px) },
{ "media_play", #ffffff, point(3px, 0px) },
};
iconPosition: point(3px, 1px);
downIconPosition: point(3px, 1px);
@ -51,14 +51,15 @@ mediaviewPauseIcon: icon {
{ "media_pause", #ffffff, point(1px, 1px) }
};
mediaviewPlayPauseLeft: 17px;
mediaviewFullScreenLeft: 17px;
mediaviewVolumeLeft: 15px;
mediaviewFullScreenButton: IconButton(mediaviewPlayButton) {
icon: icon {
{ "media_fullscreen_to", #ffffff, point(0px, 0px) },
};
iconPosition: point(0px, 0px);
downIconPosition: point(0px, 0px);
iconPosition: point(0px, 1px);
downIconPosition: point(0px, 1px);
}
mediaviewFullScreenOutIcon: icon {
{ "media_fullscreen_from", #ffffff, point(0px, 0px) },
@ -70,12 +71,12 @@ mediaviewPlaybackWidth: 3px;
mediaviewPlaybackTop: 28px;
mediaviewSeekSize: size(11px, 11px);
mediaviewVolumeSize: size(44px, 18px);
mediaviewVolumeSize: size(44px, 20px);
mediaviewVolumeIcon: icon {
{ "media_volume", mediaviewPlaybackInactive, point(0px, 0px) },
};
mediaviewVolumeOnIcon: icon {
{ "media_volume", mediaviewPlaybackActive, point(0px, 0px) },
};
mediaviewVolumeIconTop: 6px;
mediaviewVolumeIconTop: 8px;
mediaviewControllerRadius: 25px;