summaryrefslogtreecommitdiff
path: root/ycurses/src/curses/hidden.cpp
blob: 9f9b39f7f1b733eafb8627ba7599abcbec09f15c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef HIDDEN_CPP
#define HIDDEN_CPP

#include "hidden.h"

hidden::hidden() 
{
  show();
}

void
hidden::hide()
{
  b_hidden = true;  
}

void
hidden::show()
{
  b_hidden = false;
}

bool
hidden::is_hidden()
{
  return b_hidden;
}

#endif