2 * Copyright 2008, François Revol, <revol@free.fr>. All rights reserved.
3 * Distributed under the terms of the MIT License.
13 #include <StringView.h>
14 #include <TextControl.h>
16 const uint32 kUserSelected
= 'usel';
17 const uint32 kUserInvoked
= 'uinv';
18 const uint32 kLoginEdited
= 'logc';
19 const uint32 kPasswordEdited
= 'pasc';
20 const uint32 kHidePassword
= 'hidp';
21 const uint32 kAddNextUser
= 'adnu';
22 const uint32 kSetProgress
= 'setp';
24 class LoginView
: public BView
{
26 LoginView(BRect frame
);
28 void AttachedToWindow();
29 void MessageReceived(BMessage
*message
);
34 void EnableControls(bool enable
);
37 BTextControl
* fLoginControl
;
38 BTextControl
* fPasswordControl
;
39 BCheckBox
* fHidePasswordCheckBox
;
41 BButton
* fRebootButton
;
42 BButton
* fLoginButton
;
43 BStringView
* fInfoView
;
47 #endif // _LOGINVIEW_H_