mirror of
https://github.com/adafruit/Adafruit-GFX-Library.git
synced 2026-10-26 22:10:52 +00:00
fix const
This commit is contained in:
1 parent
5f1a82dd8f
commit
98a19a4531
1 file changed
+5
-5
+5
-5
@@ -141,7 +141,7 @@ public:
|
||||
@returns GFX font
|
||||
*/
|
||||
/**********************************************************************/
|
||||
GFXfont* getFont() { return gfxFont; }
|
||||
GFXfont *getFont() const { return gfxFont; }
|
||||
|
||||
/**********************************************************************/
|
||||
/*!
|
||||
@@ -149,7 +149,7 @@ public:
|
||||
@returns text size multiplier x
|
||||
*/
|
||||
/**********************************************************************/
|
||||
uint8_t getTextSizeX() { return textsize_x; }
|
||||
uint8_t getTextSizeX() const { return textsize_x; }
|
||||
|
||||
/**********************************************************************/
|
||||
/*!
|
||||
@@ -157,7 +157,7 @@ public:
|
||||
@returns text size multiplier y
|
||||
*/
|
||||
/**********************************************************************/
|
||||
uint8_t getTextSizeY() { return textsize_y; }
|
||||
uint8_t getTextSizeY() const { return textsize_y; }
|
||||
|
||||
/**********************************************************************/
|
||||
/*!
|
||||
@@ -199,7 +199,7 @@ public:
|
||||
@returns text color
|
||||
*/
|
||||
/**********************************************************************/
|
||||
uint16_t getTextColor() { return textcolor; }
|
||||
uint16_t getTextColor() const { return textcolor; }
|
||||
|
||||
/**********************************************************************/
|
||||
/*!
|
||||
@@ -207,7 +207,7 @@ public:
|
||||
@returns text background color
|
||||
*/
|
||||
/**********************************************************************/
|
||||
uint16_t getTextBgColor() { return textbgcolor; }
|
||||
uint16_t getTextBgColor() const { return textbgcolor; }
|
||||
|
||||
/**********************************************************************/
|
||||
/*!
|
||||
|
||||
Reference in new issue
Block a user