Changed default help pos to not use a hard-coded pixel value.

Added mention of the default (0.012 0.9515) to THEMES.md.
This commit is contained in:
Aloshi 2014-06-05 15:02:30 -05:00
parent b85876339b
commit 2bfa5ca4ad
2 changed files with 2 additions and 2 deletions

View file

@ -467,7 +467,7 @@ EmulationStation borrows the concept of "nine patches" from Android (or "9-Slice
#### helpsystem
* `pos` - type: NORMALIZED_PAIR.
* `pos` - type: NORMALIZED_PAIR. Default is "0.012 0.9515"
* `textColor` - type: COLOR. Default is 777777FF.
* `iconColor` - type: COLOR. Default is 777777FF.
* `fontPath` - type: PATH.

View file

@ -5,7 +5,7 @@
HelpStyle::HelpStyle()
{
position = Eigen::Vector2f(12.0f, Renderer::getScreenHeight() * 0.9515f);
position = Eigen::Vector2f(Renderer::getScreenWidth() * 0.012f, Renderer::getScreenHeight() * 0.9515f);
iconColor = 0x777777FF;
textColor = 0x777777FF;