exclude_panel.h
Go to the documentation of this file.
1 
28 #ifndef LOG_VIEW_EXCLUDE_PANEL_H_
29 #define LOG_VIEW_EXCLUDE_PANEL_H_
30 
32 #include <log_view/log_filter.h>
33 
34 namespace log_view {
35 
36 class ExcludePanel : public PanelInterface {
37  public:
38  ExcludePanel(int height, int width, int y, int x, LogFilter& filter) : PanelInterface(height, width, y, x), filter_(filter) {}
39  virtual ~ExcludePanel() {}
40  virtual void refresh();
41 
42  protected:
43  virtual bool canFocus() const { return true; }
44  virtual bool canInput() const { return true; }
45  virtual void activate(bool enable);
46  virtual int inputOffset() const { return 9; }
47 
49 };
50 typedef std::shared_ptr<ExcludePanel> ExcludePanelPtr;
51 
52 } // namespace log_view
53 
54 #endif // LOG_VIEW_EXCLUDE_PANEL_H_
virtual void activate(bool enable)
virtual int inputOffset() const
Definition: exclude_panel.h:46
virtual int width() const
ExcludePanel(int height, int width, int y, int x, LogFilter &filter)
Definition: exclude_panel.h:38
std::shared_ptr< ExcludePanel > ExcludePanelPtr
Definition: exclude_panel.h:50
virtual bool canFocus() const
Definition: exclude_panel.h:43
virtual int y() const
virtual int x() const
virtual bool canInput() const
Definition: exclude_panel.h:44
virtual void refresh()
virtual int height() const


log_view
Author(s): Marc Alban
autogenerated on Thu Mar 4 2021 03:21:52