From e1587744e4c63e2ed1c4597718194ea6e59b34a2 Mon Sep 17 00:00:00 2001 From: raven02 Date: Thu, 2 May 2013 23:24:59 +0800 Subject: [PATCH] Fix message dialog oversize --- Core/Dialog/PSPDialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/Dialog/PSPDialog.cpp b/Core/Dialog/PSPDialog.cpp index 6c7f5e387f..39ac4d2824 100644 --- a/Core/Dialog/PSPDialog.cpp +++ b/Core/Dialog/PSPDialog.cpp @@ -53,9 +53,9 @@ void PSPDialog::EndDraw() void PSPDialog::DisplayMessage(std::string text) { - PPGeDrawRect(30, 50, 450, 51, CalcFadedColor(0xFFFFFFFF)); - PPGeDrawRect(30, 180, 450, 181, CalcFadedColor(0xFFFFFFFF)); - PPGeDrawText(text.c_str(), 40, 60, PPGE_ALIGN_LEFT, 0.5f, CalcFadedColor(0xFFFFFFFF)); + 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)); } int PSPDialog::Shutdown()