1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmCursesLongMessageForm.h,v $
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
29 cmCursesLongMessageForm(std::vector
<std::string
> const& messages
,
31 virtual ~cmCursesLongMessageForm();
35 virtual void HandleInput();
38 // Display form. Use a window of size width x height, starting
40 virtual void Render(int left
, int top
, int width
, int height
);
43 // This method should normally called only by the form.
44 // The only exception is during a resize.
48 // This method should normally called only by the form.
49 // The only exception is during a resize.
50 virtual void UpdateStatusBar();
53 cmCursesLongMessageForm(const cmCursesLongMessageForm
& from
);
54 void operator=(const cmCursesLongMessageForm
&);
63 #endif // __cmCursesLongMessageForm_h