mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-26 16:26:06 -04:00
Gcc warning onscreen (#1701)
* Fix GCC version detection for old CMAKE * Yellow tint version number / hash on gcc mismatch
This commit is contained in:
parent
935c43e88f
commit
1b3a99cc5e
3 changed files with 23 additions and 2 deletions
|
@ -441,7 +441,17 @@ InformationView::InformationView(
|
|||
&version,
|
||||
<ime});
|
||||
|
||||
#if GCC_VERSION_MISMATCH
|
||||
static constexpr Style style_gcc_warning{
|
||||
.font = font::fixed_8x16,
|
||||
.background = {33, 33, 33},
|
||||
.foreground = Color::yellow(),
|
||||
};
|
||||
version.set_style(&style_gcc_warning);
|
||||
#else
|
||||
version.set_style(&style_infobar);
|
||||
#endif
|
||||
|
||||
ltime.set_style(&style_infobar);
|
||||
refresh();
|
||||
set_dirty();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue