cmCursesLabelWidget.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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 __cmCursesLabelWidget_h
  14. #define __cmCursesLabelWidget_h
  15. #include "cmCursesWidget.h"
  16. #include "cmCursesStandardIncludes.h"
  17. class cmCursesMainForm;
  18. class cmCursesLabelWidget : public cmCursesWidget
  19. {
  20. public:
  21. cmCursesLabelWidget(int width, int height, int left, int top,
  22. const std::string& name);
  23. virtual ~cmCursesLabelWidget();
  24. // Description:
  25. // Handle user input. Called by the container of this widget
  26. // when this widget has focus. Returns true if the input was
  27. // handled
  28. virtual bool HandleInput(int& key, cmCursesMainForm* fm, WINDOW* w);
  29. protected:
  30. cmCursesLabelWidget(const cmCursesLabelWidget& from);
  31. void operator=(const cmCursesLabelWidget&);
  32. };
  33. #endif // __cmCursesLabelWidget_h