Implement simple text wrapping for PPGe/MsgDialog.
Probably not enough. Maybe should apply other places.
This commit is contained in:
parent
5877929fe5
commit
c82fd54d1c
3 changed files with 94 additions and 1 deletions
|
@ -55,7 +55,7 @@ void PSPDialog::DisplayMessage(std::string text)
|
|||
{
|
||||
PPGeDrawRect(30, 30, 450, 31, CalcFadedColor(0xFFFFFFFF));
|
||||
PPGeDrawRect(30, 200, 450, 201, CalcFadedColor(0xFFFFFFFF));
|
||||
PPGeDrawText(text.c_str(), 40, 50, PPGE_ALIGN_LEFT, 0.55f, CalcFadedColor(0xFFFFFFFF));
|
||||
PPGeDrawTextWrapped(text.c_str(), 40, 50, 420, PPGE_ALIGN_LEFT, 0.55f, CalcFadedColor(0xFFFFFFFF));
|
||||
}
|
||||
|
||||
int PSPDialog::Shutdown()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue