63d8bbef26
UserListView and UserItem were added as the backbone of the user-list, and the (currently unused) Caya message CAYA_SEND_INVITE was established for inviting users to rooms. Some menus were reworked (e.g., pop-ups of the RosterListView) or generally tweaked to be more sensical or consistent.
29 lines
486 B
C++
29 lines
486 B
C++
/*
|
|
* Copyright 2021, Jaidyn Levesque <jadedctrl@teknik.io>
|
|
* All rights reserved. Distributed under the terms of the MIT license.
|
|
*/
|
|
#ifndef CONVERSATIONLIST_H
|
|
#define CONVERSATIONLIST_H
|
|
|
|
#include <ListView.h>
|
|
|
|
class BPopUpMenu;
|
|
|
|
|
|
class UserListView : public BListView {
|
|
public:
|
|
UserListView(const char* name);
|
|
|
|
void MessageReceived(BMessage* msg);
|
|
|
|
void MouseDown(BPoint where);
|
|
|
|
private:
|
|
BPopUpMenu* _UserPopUp();
|
|
BPopUpMenu* _BlankPopUp();
|
|
};
|
|
|
|
|
|
#endif // CONVERSATIONLIST_H
|
|
|