Chat-O-Matic/application/views/ConversationListView.h
Jaidyn Ann 70c6001189 Add Vision-like Window menu, conversation list tweaks
ALT-↑ and ALT-↓ change the active conversation, based on its position
in the main window's ConversationListView. If a conversation is
registered by the main window, and no other conversation is selected, it
is automatically selected.
2021-05-30 20:46:53 -05:00

29 lines
542 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 SelectionChanged();
void MouseDown(BPoint where);
private:
BPopUpMenu* _ConversationPopUp();
BPopUpMenu* _BlankPopUp();
};
#endif // CONVERSATIONLIST_H