Class LogPanel

Inheritance Relationships

Base Type

Class Documentation

class LogPanel : public log_view::PanelInterface

Public Functions

inline LogPanel(int height, int width, int y, int x, LogStorePtr &logs, LogFilter &filter)
inline virtual ~LogPanel()
virtual void refresh()
virtual void selectAll()
virtual void startSelect(int row)
virtual void endSelect(int row)
virtual bool handleMouse(const MEVENT &event)
virtual bool handleKey(int key)
virtual void resize(int height, int width, int y, int x)

Protected Functions

inline virtual bool canNavigate() const
inline virtual size_t getContentSize() const
virtual int getContentWidth() const
inline virtual void setCursor(int64_t cursor)
inline virtual int64_t getCursor() const
virtual void copyToClipboard()
std::string getPrefix(const LogEntry &entry, size_t line) const
void printEntry(size_t row, const LogEntry &entry, size_t line, size_t index)

Protected Attributes

LogStorePtr logs_
LogFilter &filter_
bool mouse_down_ = false
bool filled_ = false