Open PlaylistWindow beside the Mainwindow.

This commit is contained in:
Tobias Rundstrom 2006-02-26 18:34:01 -03:00
parent e6f333f2b4
commit 3326962123
2 changed files with 15 additions and 8 deletions

View file

@ -63,11 +63,24 @@ MainWindow::switchDisplay ()
}
Skin *MainWindow::getSkin(void)
Skin *
MainWindow::getSkin(void)
{
return skin;
}
void
MainWindow::togglePL (void)
{
if (m_playlistwin->isVisible ()) {
m_playlistwin->hide ();
} else {
m_playlistwin->move (pos().x(), pos().y()+size().height());
m_playlistwin->show ();
}
}
int
main (int argc, char **argv)
{