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:
@@ -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()
|
void MidiPlayerWindow::InitControls()
|
||||||
{
|
{
|
||||||
Lock();
|
Lock();
|
||||||
|
|||||||
@@ -64,7 +64,6 @@ private:
|
|||||||
void CreateInputMenu();
|
void CreateInputMenu();
|
||||||
void CreateReverbMenu();
|
void CreateReverbMenu();
|
||||||
void CreateViews();
|
void CreateViews();
|
||||||
void CenterOnScreen();
|
|
||||||
void InitControls();
|
void InitControls();
|
||||||
void LoadSettings();
|
void LoadSettings();
|
||||||
void SaveSettings();
|
void SaveSettings();
|
||||||
|
|||||||
Reference in New Issue
Block a user