2002-01-21 20:30:43 +00:00
|
|
|
/*=========================================================================
|
|
|
|
|
2002-10-23 22:03:27 +00:00
|
|
|
Program: CMake - Cross-Platform Makefile Generator
|
2002-01-21 20:30:43 +00:00
|
|
|
Module: $RCSfile$
|
|
|
|
Language: C++
|
|
|
|
Date: $Date$
|
|
|
|
Version: $Revision$
|
|
|
|
|
2002-10-23 22:03:27 +00:00
|
|
|
Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
|
|
|
|
See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
|
2002-01-21 20:30:43 +00:00
|
|
|
|
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even
|
|
|
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
PURPOSE. See the above copyright notices for more information.
|
|
|
|
|
|
|
|
=========================================================================*/
|
2001-11-04 23:05:21 +00:00
|
|
|
#ifndef __cmCursesDummyWidget_h
|
|
|
|
#define __cmCursesDummyWidget_h
|
|
|
|
|
|
|
|
#include "cmCursesWidget.h"
|
|
|
|
|
2001-12-13 18:28:41 +00:00
|
|
|
class cmCursesMainForm;
|
|
|
|
|
2001-11-04 23:05:21 +00:00
|
|
|
class cmCursesDummyWidget : public cmCursesWidget
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
cmCursesDummyWidget(int width, int height, int left, int top);
|
|
|
|
|
|
|
|
// Description:
|
|
|
|
// Handle user input. Called by the container of this widget
|
|
|
|
// when this widget has focus. Returns true if the input was
|
|
|
|
// handled.
|
2001-12-13 18:28:41 +00:00
|
|
|
virtual bool HandleInput(int& key, cmCursesMainForm* fm, WINDOW* w);
|
2001-11-04 23:05:21 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
cmCursesDummyWidget(const cmCursesDummyWidget& from);
|
|
|
|
void operator=(const cmCursesDummyWidget&);
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __cmCursesDummyWidget_h
|