Modifications in 4DGL library. Added CDU_hw_sw.h for version info. Added pins.h for hardware pin remapping
Dependencies: 4DGL-UC MODSERIAL mbed mbos
Fork of CDU_Mbed_30 by
Diff: screen_handler.cpp
- Revision:
- 21:f348e6f0f7d4
- Parent:
- 15:d13786882692
--- a/screen_handler.cpp Thu Sep 25 11:34:21 2014 +0000 +++ b/screen_handler.cpp Fri Oct 10 18:23:36 2014 +0000 @@ -109,7 +109,7 @@ nLine2Pixel( nLine ), //Vertical position SELKEY_MAINTEXT[Key_Maintext_Update].font_size, //Font cRGB( SELKEY_MAINTEXT[Key_Maintext_Update].text_RED ,SELKEY_MAINTEXT[Key_Maintext_Update].text_GREEN ,SELKEY_MAINTEXT[Key_Maintext_Update].text_BLUE ), - 1, 1 ); + TEXT_SCALE, TEXT_SCALE ); Key_Maintext_Update = -1; @@ -154,7 +154,7 @@ nLine2Pixel( nLine ), //Vertical position SELKEY_SUBTEXT[Key_Subtext_Update].font_size, //Font cRGB( SELKEY_SUBTEXT[Key_Subtext_Update].text_RED ,SELKEY_SUBTEXT[Key_Subtext_Update].text_GREEN ,SELKEY_SUBTEXT[Key_Subtext_Update].text_BLUE ), - 1, 1 ); //multiplier always on 1 + TEXT_SCALE, TEXT_SCALE ); //multiplier always on 1 Key_Subtext_Update = -1; } @@ -166,7 +166,7 @@ nLine2Pixel( Text_Line_Update ), //Vertical position TEXTLINE[Text_Line_Update].font_size, //Font cRGB( TEXTLINE[Text_Line_Update].text_RED ,TEXTLINE[Text_Line_Update].text_GREEN ,TEXTLINE[Text_Line_Update].text_BLUE ), - 1, 1 ); //multiplier always on 1 + TEXT_SCALE, TEXT_SCALE ); //multiplier always on 1 Text_Line_Update = 0; }