Subversion Repositories DashDisplay

Rev

Rev 62 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 62 Rev 63
Line 70... Line 70...
70
 
70
 
71
                // right justified display of maximum
71
                // right justified display of maximum
72
                width = display.fontSigDigits(small_font, 120, 0, 1, dp_pos, int_max, WHITE);
72
                width = display.fontSigDigits(small_font, 120, 0, 1, dp_pos, int_max, WHITE);
73
                // right justified display of maximum : pad spaces to left
73
                // right justified display of maximum : pad spaces to left
74
                if(width !=6)
74
                if(width !=6)
75
                {
-
 
76
                   display.moveby((width-6)*small_font.width(),0);
-
 
77
                   display.printString(small_font,padding,6-width,WHITE);
75
                   display.printString(small_font,padding,6-width,WHITE);
78
                }
-
 
79
 
76
       
80
                display.gotoxy(110, 8);
77
                display.gotoxy(110, 8);
81
                display.printString(small_font, "Max", 3, WHITE);
78
                display.printString(small_font, "Max", 3, WHITE);
82
        }
79
        }
83
 
80
 
84
        void
81
        void
Line 294... Line 291...
294
                }
291
                }
295
                dial.draw_needle(context.dial0);
292
                dial.draw_needle(context.dial0);
296
                context.dial1 = context.dial0;
293
                context.dial1 = context.dial0;
297
                showMinMax(display, dp_pos, int_min, int_max);
294
                showMinMax(display, dp_pos, int_min, int_max);
298
 
295
 
-
 
296
                display.gotoxy(0,32);
-
 
297
 
-
 
298
                // display BT connection status 
-
 
299
                display.printString(small_font,btConnected() ? "\x81": " ",1);
-
 
300
 
299
                display.display();
301
                display.display();
300
 
302
 
301
                return itemIndex;
303
                return itemIndex;
302
        }
304
        }
303
}
305
}