Menu supports newfont
This commit is contained in:
parent
fb8d3df421
commit
98a3a1757b
BIN
doc/newfont1.png
BIN
doc/newfont1.png
Binary file not shown.
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.7 KiB |
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue