Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BSP_DISCO_F746NG F746_GUI LCD_DISCO_F746NG SDFileSystem TS_DISCO_F746NG ResistiveTouchController Map CYS8218Controller MedianFilter
Screens/ChangeValWholeScreen.hpp
- Committer:
- Kerneels Bezuidenhout
- Date:
- 2016-10-03
- Revision:
- 31:5ece593c49a7
- Parent:
- 27:9d84c6165b07
File content as of revision 31:5ece593c49a7:
#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