cmCursesLabelWidget.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #ifndef __cmCursesLabelWidget_h
  11. #define __cmCursesLabelWidget_h
  12. #include "cmCursesWidget.h"
  13. #include "cmCursesStandardIncludes.h"
  14. class cmCursesMainForm;
  15. class cmCursesLabelWidget : public cmCursesWidget
  16. {
  17. public:
  18. cmCursesLabelWidget(int width, int height, int left, int top,
  19. const std::string& name);
  20. virtual ~cmCursesLabelWidget();
  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. cmCursesLabelWidget(const cmCursesLabelWidget& from);
  28. void operator=(const cmCursesLabelWidget&);
  29. };
  30. #endif // __cmCursesLabelWidget_h