.. _program_listing_file__tmp_ws_src_log_view_include_log_view_panels_filter_panel.h: Program Listing for File filter_panel.h ======================================= |exhale_lsh| :ref:`Return to documentation for file ` (``/tmp/ws/src/log_view/include/log_view/panels/filter_panel.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #ifndef LOG_VIEW_FILTER_PANEL_H_ #define LOG_VIEW_FILTER_PANEL_H_ #include #include namespace log_view { class FilterPanel : public PanelInterface { public: FilterPanel(int height, int width, int y, int x, LogFilter& filter) : PanelInterface(height, width, y, x), filter_(filter) {} virtual ~FilterPanel() {} virtual void refresh(); protected: virtual bool canFocus() const { return true; } virtual bool canInput() const { return true; } virtual void activate(bool enable); virtual int inputOffset() const { return 8; } LogFilter& filter_; }; typedef std::shared_ptr FilterPanelPtr; } // namespace log_view #endif // LOG_VIEW_FILTER_PANEL_H_