2 * Copyright 2008, François Revol, <revol@free.fr>. All rights reserved.
3 * Distributed under the terms of the MIT License.
9 #include "LoginWindow.h"
10 #include "LoginView.h"
12 #undef B_TRANSLATION_CONTEXT
13 #define B_TRANSLATION_CONTEXT "Login Window"
15 #define WINDOW_FEEL B_NORMAL_WINDOW_FEEL
16 //#define WINDOW_FEEL B_FLOATING_ALL_WINDOW_FEEL
18 LoginWindow::LoginWindow(BRect frame
)
19 : BWindow(frame
, B_TRANSLATE("Welcome to Haiku"), B_TITLED_WINDOW_LOOK
,
21 B_NOT_MOVABLE
| B_NOT_CLOSABLE
| B_NOT_ZOOMABLE
|
22 B_NOT_MINIMIZABLE
| B_NOT_RESIZABLE
|
23 B_ASYNCHRONOUS_CONTROLS
,
26 LoginView
*v
= new LoginView(Bounds());
28 SetPulseRate(1000000LL);
32 LoginWindow::~LoginWindow()