stringinput.cpp: center NEUTRINO_ICON_NUMERIC_PAD horizontally

Origin commit data
------------------
Branch: ni/coolstream
Commit: c9a6a8721b
Author: vanhofen <vanhofen@gmx.de>
Date: 2012-11-07 (Wed, 07 Nov 2012)

Origin message was:
------------------
- stringinput.cpp: center NEUTRINO_ICON_NUMERIC_PAD horizontally

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2012-11-07 13:49:01 +01:00
parent fac11fd1ee
commit a036a733cb

View File

@@ -755,7 +755,9 @@ void CStringInputSMS::paint(bool /*unused*/)
{
CStringInput::paint(true);
frameBuffer->paintIcon(NEUTRINO_ICON_NUMERIC_PAD, x+20+140, y+ hheight+ mheight+ iheight* 3+ 30, 0, COL_MENUCONTENT);
int w = 0, h = 0;
frameBuffer->getIconSize(NEUTRINO_ICON_NUMERIC_PAD, &w, &h);
frameBuffer->paintIcon(NEUTRINO_ICON_NUMERIC_PAD, x + (width/2) - (w/2), y+ hheight+ mheight+ iheight* 3+ 30, 0, COL_MENUCONTENT);
//buttonbar
::paintButtons(x, y + height, width, 2, CStringInputSMSButtons);