/* Gets the width in pixels of the LCD screen (varies depending on the current screen orientation)  */
uint16_t lcdGetWidth(void)
/* Gets the width in pixels of the LCD screen (varies depending on the current screen orientation)  */
uint16_t lcdGetWidth(void)
{
  switch (lcdOrientation) 
  {
    case LCD_ORIENTATION_PORTRAIT:
      return ili9325Properties.width;
      break;
    case LCD_ORIENTATION_LANDSCAPE:
    default:
      return ili9325Properties.height;
  }
}