F746 GUI over lapping class.
Dependents: DISCO-F746NG_test001
ButtonGroupOL.cpp@2:d7dc710446a8, 2016-07-02 (annotated)
- Committer:
- InoueTakashi
- Date:
- Sat Jul 02 05:38:23 2016 +0000
- Revision:
- 2:d7dc710446a8
- Parent:
- 1:36e616bde4b8
Add Destructer
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
InoueTakashi | 1:36e616bde4b8 | 1 | // |
InoueTakashi | 1:36e616bde4b8 | 2 | // 2016/04/27, Copyright (c) 2016 Takashi Inoue |
InoueTakashi | 1:36e616bde4b8 | 3 | // Button Group OverLapping Class Source File |
InoueTakashi | 1:36e616bde4b8 | 4 | // ver 0.9 rev 0.1 2016/5/17 |
InoueTakashi | 1:36e616bde4b8 | 5 | //----------------------------------------------------------- |
InoueTakashi | 1:36e616bde4b8 | 6 | |
InoueTakashi | 1:36e616bde4b8 | 7 | #include "ButtonGroupOL.hpp" |
InoueTakashi | 1:36e616bde4b8 | 8 | |
InoueTakashi | 1:36e616bde4b8 | 9 | namespace TakaIno |
InoueTakashi | 1:36e616bde4b8 | 10 | { |
InoueTakashi | 1:36e616bde4b8 | 11 | |
InoueTakashi | 1:36e616bde4b8 | 12 | // Constructor |
InoueTakashi | 1:36e616bde4b8 | 13 | ButtonGroupOL::ButtonGroupOL( |
InoueTakashi | 1:36e616bde4b8 | 14 | |
InoueTakashi | 1:36e616bde4b8 | 15 | uint16_t x0, uint16_t y0, |
InoueTakashi | 1:36e616bde4b8 | 16 | uint16_t width, uint16_t height, |
InoueTakashi | 1:36e616bde4b8 | 17 | uint16_t number, const string str[], |
InoueTakashi | 1:36e616bde4b8 | 18 | uint16_t spaceX, uint16_t spaceY, |
InoueTakashi | 1:36e616bde4b8 | 19 | uint16_t column, int touched, |
InoueTakashi | 1:36e616bde4b8 | 20 | sFONT &fonts, |
InoueTakashi | 1:36e616bde4b8 | 21 | uint32_t textColor, uint32_t backColor, |
InoueTakashi | 1:36e616bde4b8 | 22 | uint32_t createdColor, uint32_t touchedColor, |
InoueTakashi | 1:36e616bde4b8 | 23 | uint32_t inactiveColor, uint32_t inactiveTextColor) |
InoueTakashi | 1:36e616bde4b8 | 24 | : ButtonGroup(x0, y0, |
InoueTakashi | 1:36e616bde4b8 | 25 | width, height, |
InoueTakashi | 1:36e616bde4b8 | 26 | number, str, |
InoueTakashi | 1:36e616bde4b8 | 27 | spaceX, spaceY, |
InoueTakashi | 1:36e616bde4b8 | 28 | column, touched, |
InoueTakashi | 1:36e616bde4b8 | 29 | fonts, |
InoueTakashi | 1:36e616bde4b8 | 30 | textColor, backColor, |
InoueTakashi | 1:36e616bde4b8 | 31 | createdColor, touchedColor, |
InoueTakashi | 1:36e616bde4b8 | 32 | inactiveColor, inactiveTextColor) |
InoueTakashi | 1:36e616bde4b8 | 33 | , |
InoueTakashi | 1:36e616bde4b8 | 34 | m_x0(x0), |
InoueTakashi | 1:36e616bde4b8 | 35 | m_y0(y0), |
InoueTakashi | 1:36e616bde4b8 | 36 | m_width(width), |
InoueTakashi | 1:36e616bde4b8 | 37 | m_height(height), |
InoueTakashi | 1:36e616bde4b8 | 38 | m_number(number), |
InoueTakashi | 1:36e616bde4b8 | 39 | m_str(str), |
InoueTakashi | 1:36e616bde4b8 | 40 | m_spaceX(spaceX), |
InoueTakashi | 1:36e616bde4b8 | 41 | m_spaceY(spaceY), |
InoueTakashi | 1:36e616bde4b8 | 42 | m_column(column), |
InoueTakashi | 1:36e616bde4b8 | 43 | m_touched(touched), // |
InoueTakashi | 1:36e616bde4b8 | 44 | m_fonts(&fonts), |
InoueTakashi | 1:36e616bde4b8 | 45 | m_textColor(textColor), // |
InoueTakashi | 1:36e616bde4b8 | 46 | m_backColor(backColor),// , |
InoueTakashi | 1:36e616bde4b8 | 47 | m_createdColor(createdColor),// |
InoueTakashi | 1:36e616bde4b8 | 48 | m_touchedColor(touchedColor),// |
InoueTakashi | 1:36e616bde4b8 | 49 | m_inactiveColor(inactiveColor),// |
InoueTakashi | 1:36e616bde4b8 | 50 | m_inactiveTextColor(inactiveTextColor)// |
InoueTakashi | 1:36e616bde4b8 | 51 | { |
InoueTakashi | 1:36e616bde4b8 | 52 | ; |
InoueTakashi | 1:36e616bde4b8 | 53 | } |
InoueTakashi | 1:36e616bde4b8 | 54 | |
InoueTakashi | 2:d7dc710446a8 | 55 | ButtonGroupOL::~ButtonGroupOL() |
InoueTakashi | 2:d7dc710446a8 | 56 | { |
InoueTakashi | 2:d7dc710446a8 | 57 | ; |
InoueTakashi | 2:d7dc710446a8 | 58 | } |
InoueTakashi | 2:d7dc710446a8 | 59 | |
InoueTakashi | 1:36e616bde4b8 | 60 | |
InoueTakashi | 1:36e616bde4b8 | 61 | |
InoueTakashi | 1:36e616bde4b8 | 62 | } |
InoueTakashi | 1:36e616bde4b8 | 63 | |
InoueTakashi | 1:36e616bde4b8 | 64 | |
InoueTakashi | 1:36e616bde4b8 | 65 |