28 #ifndef LOG_VIEW_HELP_PANEL_H_ 29 #define LOG_VIEW_HELP_PANEL_H_ 46 HelpPanel(
int height,
int width,
int y,
int x);
48 virtual void refresh();
49 virtual void resize(
int height,
int width,
int y,
int x);
50 virtual bool handleMouse(
const MEVENT& event) {
return !hidden(); }
51 virtual bool handleKey(
int key);
56 void printKeybinding(
const HelpText& text);
59 size_t longest_key_ = 0;
60 size_t longest_line_ = 0;
66 #endif // LOG_VIEW_HELP_PANEL_H_
std::vector< HelpText > keys_
std::shared_ptr< HelpPanel > HelpPanelPtr
virtual bool canNavigate() const
virtual bool handleMouse(const MEVENT &event)