Compare commits

..

No commits in common. "52a92b10653a6c587b93a2c3c1b67da76b3371e0" and "f33e0aca06a988fcd5eaecfe9a8644ec7e649010" have entirely different histories.

2 changed files with 3 additions and 10 deletions

View file

@ -1,7 +1,5 @@
#include "Contacts.h"
#include <Application.h>
#include <GroupLayout.h>
#include <InterfaceDefs.h>
#include <Rect.h>
#include <Window.h>
#include <StringView.h>
@ -9,10 +7,5 @@
Contacts::Contacts(void)
: BWindow(BRect(200,200,600,400), TITLE, B_TITLED_WINDOW, B_NOT_MINIMIZABLE | B_QUIT_ON_WINDOW_CLOSE)
{
BGroupLayout *group = new BGroupLayout(B_VERTICAL);
SetLayout(group);
group->View()->AdoptSystemColors();
group->AddView(new BStringView("label", "Placeholder label (contact list to be added)"));
AddChild(new BStringView("label", "Placeholder label (contact list to be added)"));
}

View file

@ -47,8 +47,8 @@ MainWindow::MainWindow(void)
BButton *connectButton = new BButton(Frame(), "connect", "Connect!", new BMessage(msgConnectButtonClicked));
connectButton->SetTarget(this);
BTextControl *jidInput = new BTextControl("jidinput", "JID:", "Placeholder", NULL);
BTextControl *pwInput = new BTextControl("pwinput", "Password:", "Placeholder", NULL);
BTextControl *jidInput = new BTextControl("jidinput", "JID:", "Placeholder", new BMessage(msgConnectButtonClicked));
BTextControl *pwInput = new BTextControl("pwinput", "Password:", "Placeholder", new BMessage(msgConnectButtonClicked));
pwInput->TextView()->HideTyping(true);