Skip to content

Commit

Permalink
Doxy class members moved from private to protected
Browse files Browse the repository at this point in the history
  • Loading branch information
PaintYourDragon committed Jan 16, 2023
1 parent 740677a commit e122c3d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Adafruit_GFX.h
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ class GFXcanvas1 : public Adafruit_GFX {
bool getRawPixel(int16_t x, int16_t y) const;
void drawFastRawVLine(int16_t x, int16_t y, int16_t h, uint16_t color);
void drawFastRawHLine(int16_t x, int16_t y, int16_t w, uint16_t color);
uint8_t *buffer; // protected (no longer private) for subclass flexibility
uint8_t *buffer; ///< Raster data: no longer private, allow subclass access

private:
#ifdef __AVR__
Expand Down Expand Up @@ -359,7 +359,7 @@ class GFXcanvas8 : public Adafruit_GFX {
uint8_t getRawPixel(int16_t x, int16_t y) const;
void drawFastRawVLine(int16_t x, int16_t y, int16_t h, uint16_t color);
void drawFastRawHLine(int16_t x, int16_t y, int16_t w, uint16_t color);
uint8_t *buffer; // protected (no longer private) for subclass flexibility
uint8_t *buffer; ///< Raster data: no longer private, allow subclass access
};

/// A GFX 16-bit canvas context for graphics
Expand All @@ -385,7 +385,7 @@ class GFXcanvas16 : public Adafruit_GFX {
uint16_t getRawPixel(int16_t x, int16_t y) const;
void drawFastRawVLine(int16_t x, int16_t y, int16_t h, uint16_t color);
void drawFastRawHLine(int16_t x, int16_t y, int16_t w, uint16_t color);
uint16_t *buffer; // protected (no longer private) for subclass flexibility
uint16_t *buffer; ///< Raster data: no longer private, allow subclass access
};

#endif // _ADAFRUIT_GFX_H

0 comments on commit e122c3d

Please sign in to comment.