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

@@ -24,6 +24,7 @@
#include "global.h"
#include "helpers.h"
#include "server_info.h"
#include "statusbar.h"
using Global::MainHeight;
using Global::MainStartY;
@@ -53,7 +54,7 @@ void ServerInfo::SwitchTo()
}
if (MainHeight < 5)
{
ShowMessage("Screen is too small to display this window");
Statusbar::msg("Screen is too small to display this window");
return;
}