Interfaçage NeoPixel Ring 12, LPRO MECSE, Arnaud A.
Diff: button.cpp
- Revision:
- 5:c4038609e806
- Parent:
- 4:b4c30f6f526e
--- a/button.cpp Mon Jun 15 03:21:35 2020 +0000 +++ b/button.cpp Wed Jun 17 14:05:32 2020 +0000 @@ -13,8 +13,8 @@ } -Button::Button(int x, int y, int width, int height, uint32_t bgColor, uint32_t borderWidth) - : m_x(x), m_y(y), m_width(width), m_height(height), m_bgColor(bgColor), m_borderWidth(borderWidth) +Button::Button(int x, int y, int width, int height, uint32_t bgColor, uint32_t borderColor,uint32_t borderWidth) + : m_x(x), m_y(y), m_width(width), m_height(height), m_bgColor(bgColor), m_borderColor(borderColor),m_borderWidth(borderWidth) { }