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
ChangeValWholeScreen.hpp
00001 #ifndef CHANGE_VAL_WHOLE_SCREEN_HPP 00002 #define CHANGE_VAL_WHOLE_SCREEN_HPP 00003 00004 #include "Screen.hpp" 00005 00006 class ChangeValWholeScreen : public Screen 00007 { 00008 public: 00009 ChangeValWholeScreen(int *nextScreen, int prevScreen, float *valToChange, string title, bool negative = false, float min = FLT_MIN); 00010 00011 void Draw(); 00012 void Process(); 00013 00014 private: 00015 Label _lbTitle; 00016 Button _btBack; 00017 Button _btSave; 00018 Button _btNeg; 00019 Button _btPos; 00020 IntNumpad _npValue; 00021 NumericLabel<float> _nlbValue; 00022 00023 float *_value; 00024 int _prevScreen; 00025 float _tempVal; 00026 bool _neg; 00027 bool _negVal; 00028 float _min; 00029 00030 void Update(); 00031 }; 00032 #endif
Generated on Wed Jul 13 2022 02:28:05 by
1.7.2