641e8b1fb4
Removes explicit setting of sizes in ConversationView and StatusView, allowing them to be resized appropriately. Also rearranges StatusView somewhat, so that it's more friendly to smaller sizes. (The avatar is moved from being beside the status menu field to being beside the nickname textbox.)
28 lines
516 B
C++
28 lines
516 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 <OutlineListView.h>
|
|
|
|
class BPopUpMenu;
|
|
|
|
|
|
class ConversationListView : public BListView {
|
|
public:
|
|
ConversationListView(const char* name);
|
|
|
|
void MessageReceived(BMessage* msg);
|
|
void MouseDown(BPoint where);
|
|
|
|
private:
|
|
BPopUpMenu* _ConversationPopUp();
|
|
BPopUpMenu* _BlankPopUp();
|
|
};
|
|
|
|
|
|
#endif // CONVERSATIONLIST_H
|
|
|