Make some dialogues floating windows

This commit is contained in:
Jaidyn Ann 2021-08-15 15:45:28 -05:00
parent dec18f7b65
commit 794d368c11
3 changed files with 5 additions and 5 deletions

View File

@ -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");

View File

@ -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();

View File

@ -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();