1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmCursesLabelWidget.h,v $
6 Date: $Date: 2002-10-23 22:03:27 $
7 Version: $Revision: 1.7 $
9 Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
10 See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
16 =========================================================================*/
17 #ifndef __cmCursesLabelWidget_h
18 #define __cmCursesLabelWidget_h
20 #include "cmCursesWidget.h"
21 #include "cmCursesStandardIncludes.h"
23 class cmCursesMainForm
;
25 class cmCursesLabelWidget
: public cmCursesWidget
28 cmCursesLabelWidget(int width
, int height
, int left
, int top
,
29 const std::string
& name
);
30 virtual ~cmCursesLabelWidget();
33 // Handle user input. Called by the container of this widget
34 // when this widget has focus. Returns true if the input was
36 virtual bool HandleInput(int& key
, cmCursesMainForm
* fm
, WINDOW
* w
);
39 cmCursesLabelWidget(const cmCursesLabelWidget
& from
);
40 void operator=(const cmCursesLabelWidget
&);
43 #endif // __cmCursesLabelWidget_h