28 #ifndef LOG_VIEW_LOG_PANEL_H_ 29 #define LOG_VIEW_LOG_PANEL_H_ 39 LogPanel(
int height,
int width,
int y,
int x,
LogStorePtr& logs,
LogFilter& filter) :
PanelInterface(height, width, y, x),
logs_(logs),
filter_(filter) {}
69 #endif // LOG_VIEW_LOG_PANEL_H_
virtual void resize(int height, int width, int y, int x)
virtual size_t getContentSize() const
virtual bool handleKey(int key)
virtual int width() const
void printEntry(size_t row, const LogEntry &entry, size_t line, size_t index)
virtual int getContentWidth() const
virtual void endSelect(int row)
std::shared_ptr< LogStore > LogStorePtr
const std::deque< LogLine > & indices() const
void setCursor(int64_t index)
virtual void startSelect(int row)
std::string getPrefix(const LogEntry &entry, size_t line) const
virtual int64_t getCursor() const
virtual void copyToClipboard()
std::shared_ptr< LogPanel > LogPanelPtr
virtual bool handleMouse(const MEVENT &event)
LogPanel(int height, int width, int y, int x, LogStorePtr &logs, LogFilter &filter)
virtual int height() const
virtual bool canNavigate() const
virtual void setCursor(int64_t cursor)