** Function name: getColorDepth ** Description: Get bits per pixel for colour (1, 8 or 16) ***************************************************************************************/
| 324 | ** Description: Get bits per pixel for colour (1, 8 or 16) |
| 325 | ***************************************************************************************/ |
| 326 | int8_t TFT_eSprite::getColorDepth(void) |
| 327 | { |
| 328 | if (_created) return _bpp; |
| 329 | else return 0; |
| 330 | } |
| 331 | |
| 332 | |
| 333 | /*************************************************************************************** |