Slightly tweak window behavior
This commit is contained in:
parent
551fcb8c71
commit
2316c1bf5f
|
@ -14,9 +14,10 @@
|
||||||
MainWindow::MainWindow()
|
MainWindow::MainWindow()
|
||||||
:
|
:
|
||||||
BWindow(BRect(BPoint(0,0),BSize(500.0, 500.0)), "MediaMonitor",
|
BWindow(BRect(BPoint(0,0),BSize(500.0, 500.0)), "MediaMonitor",
|
||||||
B_TITLED_WINDOW, B_AUTO_UPDATE_SIZE_LIMITS)
|
B_TITLED_WINDOW, B_AUTO_UPDATE_SIZE_LIMITS | B_QUIT_ON_WINDOW_CLOSE)
|
||||||
{
|
{
|
||||||
SetPulseRate(0);
|
SetPulseRate(0);
|
||||||
|
CenterOnScreen();
|
||||||
_InitInterface();
|
_InitInterface();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ŝarĝante…
Reference in New Issue