diff --git a/client/lobby/CBonusSelection.h b/client/lobby/CBonusSelection.h index eaed973db..b9b341c60 100644 --- a/client/lobby/CBonusSelection.h +++ b/client/lobby/CBonusSelection.h @@ -31,7 +31,6 @@ class ISelectionScreenInfo; class ExtraOptionsTab; class VideoWidgetOnce; class CBonusSelection; -class CFilledTexture; /// Campaign screen where you can choose one out of three starting bonuses diff --git a/client/media/CVideoHandler.cpp b/client/media/CVideoHandler.cpp index 3ee1cca55..51e17ff10 100644 --- a/client/media/CVideoHandler.cpp +++ b/client/media/CVideoHandler.cpp @@ -344,7 +344,7 @@ FFMpegStream::~FFMpegStream() Point CVideoInstance::size() { - return dimensions; + return dimensions / GH.screenHandler().getScalingFactor(); } void CVideoInstance::show(const Point & position, Canvas & canvas) diff --git a/client/windows/GUIClasses.cpp b/client/windows/GUIClasses.cpp index b0b5e9351..6353a1595 100644 --- a/client/windows/GUIClasses.cpp +++ b/client/windows/GUIClasses.cpp @@ -1609,7 +1609,7 @@ void CObjectListWindow::keyPressed(EShortcut key) } VideoWindow::VideoWindow(VideoPath video, ImagePath rim, bool showBackground, float scaleFactor, std::function closeCb) - : CWindowObject(BORDERED | NEEDS_ANIMATED_BACKGROUND), closeCb(closeCb) + : CWindowObject(BORDERED | SHADOW_DISABLED | NEEDS_ANIMATED_BACKGROUND), closeCb(closeCb) { OBJECT_CONSTRUCTION; @@ -1631,8 +1631,6 @@ VideoWindow::VideoWindow(VideoPath video, ImagePath rim, bool showBackground, fl if(!rim.empty()) setBackground(rim); - - updateShadow(); } void VideoWindow::exit(bool skipped)