mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
stringinput.cpp: center NEUTRINO_ICON_NUMERIC_PAD horizontally
Origin commit data
------------------
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
This commit is contained in:
@@ -755,7 +755,9 @@ void CStringInputSMS::paint(bool /*unused*/)
|
|||||||
{
|
{
|
||||||
CStringInput::paint(true);
|
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
|
//buttonbar
|
||||||
::paintButtons(x, y + height, width, 2, CStringInputSMSButtons);
|
::paintButtons(x, y + height, width, 2, CStringInputSMSButtons);
|
||||||
|
Reference in New Issue
Block a user