1
0

cmCursesDummyWidget.h 1.3 KB

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