use streams instead of Window::WriteXY()

This commit is contained in:
Andrzej Rybczak
2009-02-16 19:32:43 +01:00
parent 43a8e2284e
commit 32f959d1ec
13 changed files with 42 additions and 37 deletions

View File

@@ -121,7 +121,7 @@ void Lyrics::SwitchTo()
redraw_header = 1;
w->Clear();
# ifdef HAVE_CURL_CURL_H
w->WriteXY(0, 0, 0, "Fetching lyrics...");
static_cast<Window &>(*w) << "Fetching lyrics...";
if (!Downloader)
{
pthread_create(&Downloader, NULL, Get, &itsSong);