You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TempEditorActivity.h 573B

1234567891011121314151617181920212223242526272829303132
  1. #pragma once
  2. #include "BaseActivity.h"
  3. #include "Boiler.h"
  4. class TempEditorActivity
  5. : public BaseActivity
  6. {
  7. public:
  8. TempEditorActivity(
  9. IActivity* mParentActivity
  10. , IActivity* mPreviousActivity
  11. , IActivity* mNextActivity
  12. , const char* line1
  13. , temp_t* value
  14. );
  15. void begin() override;
  16. protected:
  17. void getLcdText(char** lines) override;
  18. void onButtonReleased(Button button) override;
  19. const char* m_line1;
  20. temp_t* m_value;
  21. temp_t m_tmpValue;
  22. bool m_isEditMode;
  23. };