move statusbar/progressbar related code to separate file

This commit is contained in:
Andrzej Rybczak
2012-09-11 21:52:41 +02:00
parent 6ab2714e2f
commit c90545b008
22 changed files with 577 additions and 457 deletions

View File

@@ -31,6 +31,7 @@
#include "playlist.h"
#include "settings.h"
#include "status.h"
#include "statusbar.h"
using Global::MainHeight;
using Global::MainStartY;
@@ -90,7 +91,7 @@ void Clock::SwitchTo()
GetWindowResizeParams(x_offset, width, false);
if (Width > width || Height > MainHeight)
{
ShowMessage("Screen is too small to display clock");
Statusbar::msg("Screen is too small to display clock");
if (myLockedScreen)
UpdateInactiveScreen(myLockedScreen);
return;