mirror of https://github.com/ZDoom/qzdoom.git
Draw player setup cursor equivalently to options menu cursors
- Explicitly size and position the text cursor in FListMenuItem::DrawSelector() the same way that the options menu does it using M_DrawConText(): By sizing it to a scaled 8x8 cell.
This commit is contained in:
parent
84afd2252f
commit
1aa00f1b0e
|
@ -300,7 +300,12 @@ void FListMenuItem::DrawSelector(int xofs, int yofs, FTextureID tex)
|
||||||
if ((DMenu::MenuTime%8) < 6)
|
if ((DMenu::MenuTime%8) < 6)
|
||||||
{
|
{
|
||||||
screen->DrawText(ConFont, OptionSettings.mFontColorSelection,
|
screen->DrawText(ConFont, OptionSettings.mFontColorSelection,
|
||||||
mXpos + xofs, mYpos + yofs, "\xd", DTA_Clean, true, TAG_DONE);
|
(mXpos + xofs - 160) * CleanXfac + screen->GetWidth() / 2,
|
||||||
|
(mYpos + yofs - 100) * CleanYfac + screen->GetHeight() / 2,
|
||||||
|
"\xd",
|
||||||
|
DTA_CellX, 8 * CleanXfac,
|
||||||
|
DTA_CellY, 8 * CleanYfac,
|
||||||
|
TAG_DONE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue