|
@@ -147,7 +147,7 @@ static gFont font2;
|
|
static time_cnt_t Timer = {0}, dechTimer, chTimer;
|
|
static time_cnt_t Timer = {0}, dechTimer, chTimer;
|
|
static btn_hndlr bha[Button_Num] = {btn1_handler, btn2_handler};
|
|
static btn_hndlr bha[Button_Num] = {btn1_handler, btn2_handler};
|
|
static int menu_Active = MenuItem_1;
|
|
static int menu_Active = MenuItem_1;
|
|
-static menu_colors_t menu_Colors = {Blue, Yellow, Yellow, Blue};
|
|
|
|
|
|
+static menu_colors_t menu_Colors = {Navy, Olive, Yellow, Navy};
|
|
|
|
|
|
/*
|
|
/*
|
|
* INA process thread.
|
|
* INA process thread.
|
|
@@ -613,7 +613,6 @@ static void prepare_Screen(void) {
|
|
*/
|
|
*/
|
|
static void btn1_handler(button_state_t state) {
|
|
static void btn1_handler(button_state_t state) {
|
|
if (state == BTN_st_Pressed) {
|
|
if (state == BTN_st_Pressed) {
|
|
- gwinPrintf(GW1, "Button 1 pressed\n");
|
|
|
|
switch (menu_Active) {
|
|
switch (menu_Active) {
|
|
case MenuItem_1:
|
|
case MenuItem_1:
|
|
menu_Active = MenuItem_2;
|
|
menu_Active = MenuItem_2;
|
|
@@ -811,7 +810,8 @@ static void show_MenuItem(const int item) {
|
|
}
|
|
}
|
|
|
|
|
|
gdispFillStringBox(x, y1, cx, cy, buf1, font1, fgc, bgc, j1);
|
|
gdispFillStringBox(x, y1, cx, cy, buf1, font1, fgc, bgc, j1);
|
|
- gdispFillStringBox(x, y2, cx, cy, buf2, font1, fgc, bgc, j2);
|
|
|
|
|
|
+// gdispFillStringBox(x, y2, cx, cy, buf2, font1, fgc, bgc, j2);
|
|
|
|
+ gdispFillStringBox(x, y2, cx, cy, buf2, font1, menu_Colors.inactiveFG, menu_Colors.inactiveBG, j2);
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|