cmCursesLabelWidget.h 698 B

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