mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
menue.cpp: fix macro usage of SUB_HEAD
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7702408456
Author: Christian Schuett <Gaucho316@hotmail.com>
Date: 2013-07-15 (Mon, 15 Jul 2013)
Origin message was:
------------------
- menue.cpp: fix macro usage of SUB_HEAD
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
committed by
vanhofen
parent
37e9e487b1
commit
2a9c3fd150
@@ -1842,7 +1842,7 @@ int CMenuSeparator::paint(bool selected)
|
|||||||
|
|
||||||
/* if no alignment is specified, align centered */
|
/* if no alignment is specified, align centered */
|
||||||
if (type & ALIGN_LEFT)
|
if (type & ALIGN_LEFT)
|
||||||
name_start_x = x + (!SUB_HEAD ? name_start_x : 20 + 24 /*std icon_width is 24px - this should be determinated from NEUTRINO_ICON_BUTTON_HOME or so*/);
|
name_start_x = x + (!(type & SUB_HEAD) ? name_start_x : 20 + 24 /*std icon_width is 24px - this should be determinated from NEUTRINO_ICON_BUTTON_HOME or so*/);
|
||||||
else if (type & ALIGN_RIGHT)
|
else if (type & ALIGN_RIGHT)
|
||||||
name_start_x = x + dx - stringwidth - 20;
|
name_start_x = x + dx - stringwidth - 20;
|
||||||
else /* ALIGN_CENTER */
|
else /* ALIGN_CENTER */
|
||||||
|
Reference in New Issue
Block a user