MidiPlayer : CenterOnScreen

* Remove the local version (not really working) of CenterOnScreen and use the shared one.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33084 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Saint-Pierre
2009-09-12 06:20:51 +00:00
parent 40157e3fed
commit 4c58935dca
2 changed files with 0 additions and 13 deletions
-12
View File
@@ -290,18 +290,6 @@ void MidiPlayerWindow::CreateViews()
//------------------------------------------------------------------------------
void MidiPlayerWindow::CenterOnScreen()
{
BRect screenRect = BScreen(this).Frame();
BRect windowRect = Frame();
MoveTo(
(screenRect.Width() - windowRect.Width()) / 2,
(screenRect.Height() - windowRect.Height()) / 2);
}
//------------------------------------------------------------------------------
void MidiPlayerWindow::InitControls()
{
Lock();
-1
View File
@@ -64,7 +64,6 @@ private:
void CreateInputMenu();
void CreateReverbMenu();
void CreateViews();
void CenterOnScreen();
void InitControls();
void LoadSettings();
void SaveSettings();