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:
parent
cd64165bac
commit
09362b0d5c
@ -15,7 +15,7 @@
|
||||
void
|
||||
PasswordWindow::Setup()
|
||||
{
|
||||
BScreen theScreen(B_MAIN_SCREEN_ID);
|
||||
BScreen theScreen(this);
|
||||
MoveTo((theScreen.Frame().IntegerWidth()-Bounds().IntegerWidth())/2,(theScreen.Frame().IntegerHeight()-Bounds().IntegerHeight())/2);
|
||||
fBgd=new BView (Bounds(),"fBgdView",0,0);
|
||||
fBgd->SetHighColor(ui_color(B_MENU_BACKGROUND_COLOR));
|
||||
|
Loading…
Reference in New Issue
Block a user