Additional font macro

Dependents:   EspSerial

Files at this revision

API Documentation at this revision

Comitter:
SomeRandomBloke
Date:
Fri Feb 05 09:20:30 2016 +0000
Parent:
0:e1d164542663
Commit message:
Added additional font macro

Changed in this revision

Fonts/fonts.h Show annotated file Show diff for this revision Revisions of this file
--- a/Fonts/fonts.h	Thu Dec 17 10:27:15 2015 +0000
+++ b/Fonts/fonts.h	Fri Feb 05 09:20:30 2016 +0000
@@ -86,6 +86,7 @@
   * @{
   */ 
 #define LINE(x) ((x) * (((sFONT *)BSP_LCD_GetFont())->Height))
+#define COLUMN(x) ((x) * (((sFONT *)BSP_LCD_GetFont())->Width))
 
 /**
   * @}