use the current screen
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16299 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
void
|
void
|
||||||
PasswordWindow::Setup()
|
PasswordWindow::Setup()
|
||||||
{
|
{
|
||||||
BScreen theScreen(B_MAIN_SCREEN_ID);
|
BScreen theScreen(this);
|
||||||
MoveTo((theScreen.Frame().IntegerWidth()-Bounds().IntegerWidth())/2,(theScreen.Frame().IntegerHeight()-Bounds().IntegerHeight())/2);
|
MoveTo((theScreen.Frame().IntegerWidth()-Bounds().IntegerWidth())/2,(theScreen.Frame().IntegerHeight()-Bounds().IntegerHeight())/2);
|
||||||
fBgd=new BView (Bounds(),"fBgdView",0,0);
|
fBgd=new BView (Bounds(),"fBgdView",0,0);
|
||||||
fBgd->SetHighColor(ui_color(B_MENU_BACKGROUND_COLOR));
|
fBgd->SetHighColor(ui_color(B_MENU_BACKGROUND_COLOR));
|
||||||
|
|||||||
Reference in New Issue
Block a user