Public Member Functions | Protected Attributes | List of all members
log_view::LevelPanel Class Reference

#include <level_panel.h>

Inheritance diagram for log_view::LevelPanel:
Inheritance graph
[legend]

Public Member Functions

virtual bool handleMouse (const MEVENT &event)
 
 LevelPanel (int height, int width, int y, int x, LogFilter &filter)
 
virtual void refresh ()
 
virtual void toggleAllNodes ()
 
virtual void toggleDebug ()
 
virtual void toggleError ()
 
virtual void toggleFatal ()
 
virtual void toggleInfo ()
 
virtual void toggleWarn ()
 
virtual ~LevelPanel ()
 
- Public Member Functions inherited from log_view::PanelInterface
virtual bool encloses (int y, int x)
 
virtual bool focus () const
 
virtual void forceRefresh ()
 
virtual bool handleInput (int key)
 
virtual bool handleKey (int key)
 
virtual bool handleNavigation (int key)
 
virtual int height () const
 
virtual bool hidden () const
 
virtual void hide (bool enable)
 
 PanelInterface (int height, int width, int y, int x)
 
virtual void resize (int height, int width, int y, int x)
 
virtual bool scrollbar () const
 
virtual bool setCursor ()
 
virtual bool setFocus (bool enable)
 
virtual void toTop ()
 
virtual bool visible () const
 
virtual int width () const
 
virtual int x () const
 
virtual int y () const
 
virtual ~PanelInterface ()
 

Protected Attributes

LogFilterfilter_
 
- Protected Attributes inherited from log_view::PanelInterface
bool cleared_ = false
 
bool focus_ = false
 
bool follow_ = true
 
int height_
 
bool hidden_ = false
 
int input_loc_ = -1
 
std::string input_text_
 
size_t last_content_size_ = 0
 
int64_t last_cursor_ = 0
 
size_t max_length_ = 0
 
PANEL * panel_ = nullptr
 
int shift_ = 0
 
int width_
 
WINDOW * window_ = nullptr
 
int x_
 
int y_
 

Additional Inherited Members

- Protected Member Functions inherited from log_view::PanelInterface
virtual void activate (bool enable)
 
virtual bool canFocus () const
 
virtual bool canInput () const
 
virtual bool canNavigate () const
 
virtual bool canSelect () const
 
virtual void drawScrollBar (size_t count, int height, int y, int x)
 
virtual void follow (bool enable)
 
virtual bool following ()
 
virtual int getContentHeight () const
 
virtual size_t getContentSize () const
 
virtual int getContentWidth () const
 
virtual int64_t getCursor () const
 
virtual int inputOffset () const
 
virtual void move (int step)
 
virtual void moveTo (size_t index)
 
virtual void pageDown ()
 
virtual void pageUp ()
 
virtual void select ()
 
virtual void setCursor (int64_t cursor)
 
virtual void shift (int cols)
 

Detailed Description

Definition at line 36 of file level_panel.h.

Constructor & Destructor Documentation

log_view::LevelPanel::LevelPanel ( int  height,
int  width,
int  y,
int  x,
LogFilter filter 
)
inline

Definition at line 38 of file level_panel.h.

virtual log_view::LevelPanel::~LevelPanel ( )
inlinevirtual

Definition at line 39 of file level_panel.h.

Member Function Documentation

bool log_view::LevelPanel::handleMouse ( const MEVENT &  event)
virtual

Reimplemented from log_view::PanelInterface.

Definition at line 64 of file level_panel.cpp.

void log_view::LevelPanel::refresh ( )
virtual

Implements log_view::PanelInterface.

Definition at line 32 of file level_panel.cpp.

void log_view::LevelPanel::toggleAllNodes ( )
virtual

Definition at line 117 of file level_panel.cpp.

void log_view::LevelPanel::toggleDebug ( )
virtual

Definition at line 92 of file level_panel.cpp.

void log_view::LevelPanel::toggleError ( )
virtual

Definition at line 107 of file level_panel.cpp.

void log_view::LevelPanel::toggleFatal ( )
virtual

Definition at line 112 of file level_panel.cpp.

void log_view::LevelPanel::toggleInfo ( )
virtual

Definition at line 97 of file level_panel.cpp.

void log_view::LevelPanel::toggleWarn ( )
virtual

Definition at line 102 of file level_panel.cpp.

Member Data Documentation

LogFilter& log_view::LevelPanel::filter_
protected

Definition at line 51 of file level_panel.h.


The documentation for this class was generated from the following files:


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