cmCursesLabelWidget.h 732 B

123456789101112131415161718192021222324252627
  1. #ifndef __cmCursesLabelWidget_h
  2. #define __cmCursesLabelWidget_h
  3. #include "cmCursesWidget.h"
  4. #include "cmCursesStandardIncludes.h"
  5. class cmCursesMainForm;
  6. class cmCursesLabelWidget : public cmCursesWidget
  7. {
  8. public:
  9. cmCursesLabelWidget(int width, int height, int left, int top,
  10. const std::string& name);
  11. virtual ~cmCursesLabelWidget();
  12. // Description:
  13. // Handle user input. Called by the container of this widget
  14. // when this widget has focus. Returns true if the input was
  15. // handled
  16. virtual bool HandleInput(int& key, cmCursesMainForm* fm, WINDOW* w);
  17. protected:
  18. cmCursesLabelWidget(const cmCursesLabelWidget& from);
  19. void operator=(const cmCursesLabelWidget&);
  20. };
  21. #endif // __cmCursesLabelWidget_h