Add override specifier where applicable
[centerim5.git] / cppconsui / Spacer.h
blob35577bfea7d6aab478e763b1ef664bcd10edbd0b
1 // Copyright (C) 2010-2015 Petr Pavlu <setup@dagobah.cz>
2 //
3 // This file is part of CenterIM.
4 //
5 // CenterIM is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 2 of the License, or
8 // (at your option) any later version.
9 //
10 // CenterIM is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with this program. If not, see <http://www.gnu.org/licenses/>.
18 /// @file
19 /// Spacer class.
20 ///
21 /// @ingroup cppconsui
23 #ifndef SPACER_H
24 #define SPACER_H
26 #include "Widget.h"
28 namespace CppConsUI {
30 class Spacer : public Widget {
31 public:
32 Spacer(int w, int h);
33 virtual ~Spacer() override {}
35 // Widget
36 virtual int draw(Curses::ViewPort area, Error &error) override;
38 private:
39 CONSUI_DISABLE_COPY(Spacer);
42 } // namespace CppConsUI
44 #endif // SPACER_H
46 // vim: set tabstop=2 shiftwidth=2 textwidth=80 expandtab: