Class HelpPanel

Inheritance Relationships

Base Type

Class Documentation

class HelpPanel : public log_view::PanelInterface

Public Functions

HelpPanel(int height, int width, int y, int x)
inline virtual ~HelpPanel()
virtual void refresh()
virtual void resize(int height, int width, int y, int x)
inline virtual bool handleMouse(const MEVENT &event)
virtual bool handleKey(int key)

Protected Functions

inline virtual bool canNavigate() const
void printKeybinding(const HelpText &text)

Protected Attributes

std::vector<HelpText> keys_
size_t longest_key_ = 0
size_t longest_line_ = 0