Rev 5 | Rev 14 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 5 | Rev 7 | ||
|---|---|---|---|
| Line 20... | Line 20... | ||
| 20 | // draw the scale |
20 | // draw the scale |
| 21 | /// \param low low end of range |
21 | /// \param low low end of range |
| 22 | /// \param high high end of range |
22 | /// \param high high end of range |
| 23 | /// \param width length of long marker |
23 | /// \param width length of long marker |
| 24 | /// \param num_step number of ticks |
24 | /// \param num_step number of ticks |
| 25 | /// |
25 | /// \param scale |
| 26 | void draw_scale (int16_t low, int16_t high, uint8_t width, uint8_t num_step,int16_t scale); |
26 | void draw_scale (int16_t low, int16_t high, uint8_t width, uint8_t num_step,int16_t scale); |
| 27 | 27 | ||
| 28 | - | ||
| - | 28 | /// print min/max limits |
|
| - | 29 | void draw_limits(); |
|
| 29 | 30 | ||
| 30 | private: |
31 | private: |
| 31 | display_t & m_display; |
32 | display_t & m_display; |
| 32 | uint8_t const m_xo ; |
33 | uint8_t const m_xo ; |
| 33 | uint8_t const m_yo ; |
34 | uint8_t const m_yo ; |
| 34 | uint8_t const m_siz; |
35 | uint8_t const m_siz; |
| 35 | uint16_t const m_a1; |
36 | uint16_t const m_a1; |
| - | 37 | int16_t m_low; ///< lower scale limit |
|
| - | 38 | int16_t m_high; ///< upper scale limit |
|
| 36 | 39 | ||
| 37 | }; |
40 | }; |