Mercurial > public > ostc4
comparison Discovery/Src/gfx_fonts.c @ 169:842f57bbaaad cleanup-1
Bugfix: highlight the menu underline correctly on selected state
This fixes an optical bug. In dive and simulation mode, the
underline in the top menu was not highlighted correctly for the
DECO ans SYS submenu's. The check when to highlight simply was not
correct. And, yes, this part of the code is rather obfuscated, and
deserves some attention later on.
Reported-by: Matthias Heinrichs <matthias.heinrichs@heinrichsweikamp.com>
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author | Jan Mulder <jlmulder@xs4all.nl> |
---|---|
date | Sun, 10 Mar 2019 10:09:58 +0100 |
parents | a984d87a1ec0 |
children | 5ca88855da87 |
comparison
equal
deleted
inserted
replaced
167:5e41365ff0d8 | 169:842f57bbaaad |
---|---|
16 | 16 |
17 /* Includes ------------------------------------------------------------------*/ | 17 /* Includes ------------------------------------------------------------------*/ |
18 | 18 |
19 #include "gfx_fonts.h" | 19 #include "gfx_fonts.h" |
20 | 20 |
21 #ifdef DEBUG | 21 //#ifdef DEBUG |
22 # define INCLUDE_FONTS_BINARY | 22 # define INCLUDE_FONTS_BINARY |
23 #endif | 23 //#endif |
24 | 24 |
25 #ifdef INCLUDE_FONTS_BINARY | 25 #ifdef INCLUDE_FONTS_BINARY |
26 | 26 |
27 /* Fonts fixed in upper region */ | 27 /* Fonts fixed in upper region */ |
28 #include "Fonts/font_awe48.h" | 28 #include "Fonts/font_awe48.h" |