35 std::string clear(
width_,
' ');
36 mvwprintw(
window_, 0, 0, clear.c_str());
37 mvwprintw(
window_, 0, 0,
" debug info warn error fatal all nodes");
44 mvwprintw(
window_, 0, 0,
" debug ");
47 mvwprintw(
window_, 0, 7,
" info ");
50 mvwprintw(
window_, 0, 13,
" warn ");
53 mvwprintw(
window_, 0, 19,
" error ");
56 mvwprintw(
window_, 0, 26,
" fatal ");
59 mvwprintw(
window_, 0, 37,
" all nodes ");
69 if (event.bstate & BUTTON1_PRESSED) {
73 else if (event.x < 13) {
76 else if (event.x < 19) {
79 else if (event.x < 26) {
82 else if (event.x < 33) {
85 else if (event.x > 36 && event.x < 48) {
bool getInfoLevel() const
virtual bool encloses(int y, int x)
bool getWarnLevel() const
virtual void toggleError()
void setDebugLevel(bool enable)
void setEnableNodeFilter(bool enable)
void setErrorLevel(bool enable)
void setInfoLevel(bool enable)
bool getErrorLevel() const
virtual void toggleWarn()
virtual void toggleFatal()
virtual bool hidden() const
virtual void toggleAllNodes()
void setFatalLevel(bool enable)
bool getFatalLevel() const
bool getEnableNodeFilter() const
virtual void toggleInfo()
virtual bool handleMouse(const MEVENT &event)
bool getDebugLevel() const
void setWarnLevel(bool enable)
virtual void toggleDebug()