Avoid use of curses subpads
[centerim5.git] / cppconsui / VerticalLine.h
blobf4b8cec7e75f75c4259837a0637853657a78b0c5
1 /*
2 * Copyright (C) 2007 by Mark Pustjens <pustjens@dds.nl>
3 * Copyright (C) 2010-2013 by CenterIM developers
5 * This file is part of CenterIM.
7 * CenterIM is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * CenterIM is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
22 /**
23 * @file
24 * HorizontalLine class.
26 * @ingroup cppconsui
29 #ifndef __VERTICALLINE_H__
30 #define __VERTICALLINE_H__
32 #include "AbstractLine.h"
34 namespace CppConsUI
37 /**
38 * A widget representing a vertical line.
40 class VerticalLine
41 : public AbstractLine
43 public:
44 VerticalLine(int w);
45 virtual ~VerticalLine() {}
47 // Widget
48 virtual void draw(Curses::ViewPort area);
50 protected:
52 private:
53 CONSUI_DISABLE_COPY(VerticalLine);
56 } // namespace CppConsUI
58 #endif // __VERTICALLINE_H__
60 /* vim: set tabstop=2 shiftwidth=2 textwidth=78 expandtab : */