My final year project
Dependencies: BSP_DISCO_F746NG F746_GUI LCD_DISCO_F746NG SDFileSystem TS_DISCO_F746NG ResistiveTouchController Map CYS8218Controller MedianFilter
Screens/ChangeValWholeScreen.hpp
- Committer:
- Generic
- Date:
- 2016-10-26
- Revision:
- 62:58e846621435
- Parent:
- 31:5ece593c49a7
File content as of revision 62:58e846621435:
#ifndef CHANGE_VAL_WHOLE_SCREEN_HPP #define CHANGE_VAL_WHOLE_SCREEN_HPP #include "Screen.hpp" class ChangeValWholeScreen : public Screen { public: ChangeValWholeScreen(int *nextScreen, int prevScreen, float *valToChange, string title, bool negative = false, float min = FLT_MIN); void Draw(); void Process(); private: Label _lbTitle; Button _btBack; Button _btSave; Button _btNeg; Button _btPos; IntNumpad _npValue; NumericLabel<float> _nlbValue; float *_value; int _prevScreen; float _tempVal; bool _neg; bool _negVal; float _min; void Update(); }; #endif