[X9D] Channel monitor labels better centered

[X9D] Backlight color ;)
This commit is contained in:
bernet.andre@gmail.com
2012-11-29 22:23:57 +00:00
parent 206f3bd334
commit c89d4b05c7
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ void menuChannelsMonitor(uint8_t event)
uint8_t x = col*DISPLAY_W/4;
// Column title
lcd_outdezNAtt(col==0 ? 25 : (col == 1 ? 73 : x+DISPLAY_W/8-5*FWNUM/2+2), 1*FH+1, ch+1, LEFT|SMLSIZE);
lcd_outdezNAtt(col==0 ? 28 : (col == 1 ? 81 : x+DISPLAY_W/8-5*FWNUM/2+9), 1*FH+1, ch+1, LEFT|SMLSIZE);
lcd_putcAtt(lcdLastPos-1, 1*FH+1, '-', SMLSIZE);
lcd_outdezNAtt(lcdLastPos+FW-1, 1*FH+1, ch+8, LEFT|SMLSIZE);
+4
View File
@@ -449,7 +449,11 @@ void Open9xSim::refreshDiplay()
#else
if (portb & 1<<OUT_B_LIGHT)
#endif
#if defined(PCBX9D)
bmf->setOffColor(FXRGB(47,123,227));
#else
bmf->setOffColor(FXRGB(150,200,152));
#endif
else
bmf->setOffColor(FXRGB(200,200,200));
+1 -1
View File
@@ -475,4 +475,4 @@
#define TR_OWN "Own"
#define TR_DATE "Date"
#define TR_ROTARY_ENCODER "R.Encs"
#define TR_CHANNELS_MONITOR "CHANNELS MONITOR"
#define TR_CHANNELS_MONITOR "CHANNEL MONITOR"