Make some dialogues floating windows
This commit is contained in:
parent
dec18f7b65
commit
794d368c11
|
@ -56,7 +56,7 @@ compare_by_name(const void* _item1, const void* _item2)
|
||||||
AccountsWindow::AccountsWindow()
|
AccountsWindow::AccountsWindow()
|
||||||
:
|
:
|
||||||
BWindow(BRect(200, 200, 300, 400),
|
BWindow(BRect(200, 200, 300, 400),
|
||||||
B_TRANSLATE("Accounts"), B_TITLED_WINDOW,
|
B_TRANSLATE("Accounts"), B_FLOATING_WINDOW,
|
||||||
B_NOT_ZOOMABLE | B_AUTO_UPDATE_SIZE_LIMITS)
|
B_NOT_ZOOMABLE | B_AUTO_UPDATE_SIZE_LIMITS)
|
||||||
{
|
{
|
||||||
fListView = new BListView("accountsListView");
|
fListView = new BListView("accountsListView");
|
||||||
|
|
|
@ -25,8 +25,8 @@
|
||||||
ConversationInfoWindow::ConversationInfoWindow(Conversation* chat)
|
ConversationInfoWindow::ConversationInfoWindow(Conversation* chat)
|
||||||
:
|
:
|
||||||
BWindow(BRect(200, 200, 300, 400),
|
BWindow(BRect(200, 200, 300, 400),
|
||||||
B_TRANSLATE("Room information"), B_FLOATING_WINDOW_LOOK,
|
B_TRANSLATE("Room information"), B_FLOATING_WINDOW,
|
||||||
B_NORMAL_WINDOW_FEEL, B_NOT_ZOOMABLE | B_AUTO_UPDATE_SIZE_LIMITS),
|
B_NOT_ZOOMABLE | B_AUTO_UPDATE_SIZE_LIMITS),
|
||||||
fChat(chat)
|
fChat(chat)
|
||||||
{
|
{
|
||||||
_InitInterface();
|
_InitInterface();
|
||||||
|
|
|
@ -30,8 +30,8 @@
|
||||||
UserInfoWindow::UserInfoWindow(User* user)
|
UserInfoWindow::UserInfoWindow(User* user)
|
||||||
:
|
:
|
||||||
BWindow(BRect(200, 200, 300, 400),
|
BWindow(BRect(200, 200, 300, 400),
|
||||||
B_TRANSLATE("User information"), B_FLOATING_WINDOW_LOOK,
|
B_TRANSLATE("User information"), B_FLOATING_WINDOW,
|
||||||
B_NORMAL_WINDOW_FEEL, B_NOT_ZOOMABLE | B_AUTO_UPDATE_SIZE_LIMITS),
|
B_NOT_ZOOMABLE | B_AUTO_UPDATE_SIZE_LIMITS),
|
||||||
fUser(user)
|
fUser(user)
|
||||||
{
|
{
|
||||||
_InitInterface();
|
_InitInterface();
|
||||||
|
|
Ŝarĝante…
Reference in New Issue