Compare commits
2 commits
f33e0aca06
...
52a92b1065
Author | SHA1 | Date | |
---|---|---|---|
52a92b1065 | |||
0a678e6f55 |
2 changed files with 10 additions and 3 deletions
|
@ -1,5 +1,7 @@
|
||||||
#include "Contacts.h"
|
#include "Contacts.h"
|
||||||
#include <Application.h>
|
#include <Application.h>
|
||||||
|
#include <GroupLayout.h>
|
||||||
|
#include <InterfaceDefs.h>
|
||||||
#include <Rect.h>
|
#include <Rect.h>
|
||||||
#include <Window.h>
|
#include <Window.h>
|
||||||
#include <StringView.h>
|
#include <StringView.h>
|
||||||
|
@ -7,5 +9,10 @@
|
||||||
Contacts::Contacts(void)
|
Contacts::Contacts(void)
|
||||||
: BWindow(BRect(200,200,600,400), TITLE, B_TITLED_WINDOW, B_NOT_MINIMIZABLE | B_QUIT_ON_WINDOW_CLOSE)
|
: BWindow(BRect(200,200,600,400), TITLE, B_TITLED_WINDOW, B_NOT_MINIMIZABLE | B_QUIT_ON_WINDOW_CLOSE)
|
||||||
{
|
{
|
||||||
AddChild(new BStringView("label", "Placeholder label (contact list to be added)"));
|
BGroupLayout *group = new BGroupLayout(B_VERTICAL);
|
||||||
|
SetLayout(group);
|
||||||
|
|
||||||
|
group->View()->AdoptSystemColors();
|
||||||
|
|
||||||
|
group->AddView(new BStringView("label", "Placeholder label (contact list to be added)"));
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,8 +47,8 @@ MainWindow::MainWindow(void)
|
||||||
BButton *connectButton = new BButton(Frame(), "connect", "Connect!", new BMessage(msgConnectButtonClicked));
|
BButton *connectButton = new BButton(Frame(), "connect", "Connect!", new BMessage(msgConnectButtonClicked));
|
||||||
connectButton->SetTarget(this);
|
connectButton->SetTarget(this);
|
||||||
|
|
||||||
BTextControl *jidInput = new BTextControl("jidinput", "JID:", "Placeholder", new BMessage(msgConnectButtonClicked));
|
BTextControl *jidInput = new BTextControl("jidinput", "JID:", "Placeholder", NULL);
|
||||||
BTextControl *pwInput = new BTextControl("pwinput", "Password:", "Placeholder", new BMessage(msgConnectButtonClicked));
|
BTextControl *pwInput = new BTextControl("pwinput", "Password:", "Placeholder", NULL);
|
||||||
|
|
||||||
pwInput->TextView()->HideTyping(true);
|
pwInput->TextView()->HideTyping(true);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue