ENH: fix uppercase version so defines are not upper as well
[cmake.git] / Source / CursesDialog / cmCursesLongMessageForm.h
blob45471ebcf080ecbcc796a038f06982e2315fdd13
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmCursesLongMessageForm.h,v $
5 Language: C++
6 Date: $Date: 2006-03-16 15:44:55 $
7 Version: $Revision: 1.5 $
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 __cmCursesLongMessageForm_h
18 #define __cmCursesLongMessageForm_h
20 #include "../cmStandardIncludes.h"
21 #include "cmCursesForm.h"
22 #include "cmCursesStandardIncludes.h"
24 class cmCursesCacheEntryComposite;
26 class cmCursesLongMessageForm : public cmCursesForm
28 public:
29 cmCursesLongMessageForm(std::vector<std::string> const& messages,
30 const char* title);
31 virtual ~cmCursesLongMessageForm();
33 // Description:
34 // Handle user input.
35 virtual void HandleInput();
37 // Description:
38 // Display form. Use a window of size width x height, starting
39 // at top, left.
40 virtual void Render(int left, int top, int width, int height);
42 // Description:
43 // This method should normally called only by the form.
44 // The only exception is during a resize.
45 void PrintKeys();
47 // Description:
48 // This method should normally called only by the form.
49 // The only exception is during a resize.
50 virtual void UpdateStatusBar();
52 protected:
53 cmCursesLongMessageForm(const cmCursesLongMessageForm& from);
54 void operator=(const cmCursesLongMessageForm&);
56 std::string Messages;
57 std::string Title;
59 FIELD* Fields[2];
63 #endif // __cmCursesLongMessageForm_h