Menu supports newfont

This commit is contained in:
Markus Gans 2015-11-08 02:11:55 +01:00
parent fb8d3df421
commit 98a3a1757b
2 changed files with 4 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

@ -601,17 +601,17 @@ inline void FMenu::drawSeparator(int y)
setReverse(true);
if ( isNewFont() )
{
print(fc::NF_border_line_vertical_right);
print (fc::NF_border_line_vertical_right);
FString line(width-2, wchar_t(fc::BoxDrawingsHorizontal));
print (line);
print(fc::NF_rev_border_line_vertical_left);
print (fc::NF_rev_border_line_vertical_left);
}
else
{
print(fc::BoxDrawingsVerticalAndRight);
print (fc::BoxDrawingsVerticalAndRight);
FString line(width-2, wchar_t(fc::BoxDrawingsHorizontal));
print (line);
print(fc::BoxDrawingsVerticalAndLeft);
print (fc::BoxDrawingsVerticalAndLeft);
}
if ( isMonochron() )
setReverse(false);