(RMenu XUI) Make text bottom label work

This commit is contained in:
twinaphex 2013-05-09 22:26:47 +02:00
parent d54427983b
commit c9d5f8ba67
3 changed files with 94 additions and 14 deletions

View File

@ -1295,9 +1295,9 @@ HRESULT CRetroArchMain::OnInit(XUIMessageInit * pInitData, BOOL& bHandled)
init_menulist(INGAME_MENU_MAIN_MODE); init_menulist(INGAME_MENU_MAIN_MODE);
mbstowcs(strw_buffer, g_extern.title_buf, sizeof(strw_buffer) / sizeof(wchar_t)); mbstowcs(strw_buffer, g_extern.title_buf, sizeof(strw_buffer) / sizeof(wchar_t));
XuiTextElementSetText(m_menutitle, strw_buffer);
menu_settings_create_menu_item_label_w(strw_buffer, S_LBL_RARCH_VERSION, sizeof(strw_buffer));
XuiTextElementSetText(m_menutitlebottom, strw_buffer); XuiTextElementSetText(m_menutitlebottom, strw_buffer);
menu_settings_create_menu_item_label_w(strw_buffer, S_LBL_RARCH_VERSION, sizeof(strw_buffer));
XuiTextElementSetText(m_menutitle, strw_buffer);
return 0; return 0;
} }

View File

@ -222,6 +222,54 @@
<InterItemSpacing>0.000000,10.000000,0.000000</InterItemSpacing> <InterItemSpacing>0.000000,10.000000,0.000000</InterItemSpacing>
</Properties> </Properties>
</XuiListItem> </XuiListItem>
<XuiListItem>
<Properties>
<Id>control_ListItem</Id>
<Width>226.000000</Width>
<Height>45.000000</Height>
<Position>7.000000,22.000000,0.000000</Position>
<Anchor>5</Anchor>
<Show>false</Show>
<Visual>XuiButton</Visual>
<InterItemSpacing>0.000000,10.000000,0.000000</InterItemSpacing>
</Properties>
</XuiListItem>
<XuiListItem>
<Properties>
<Id>control_ListItem</Id>
<Width>226.000000</Width>
<Height>45.000000</Height>
<Position>7.000000,22.000000,0.000000</Position>
<Anchor>5</Anchor>
<Show>false</Show>
<Visual>XuiButton</Visual>
<InterItemSpacing>0.000000,10.000000,0.000000</InterItemSpacing>
</Properties>
</XuiListItem>
<XuiListItem>
<Properties>
<Id>control_ListItem</Id>
<Width>226.000000</Width>
<Height>45.000000</Height>
<Position>7.000000,22.000000,0.000000</Position>
<Anchor>5</Anchor>
<Show>false</Show>
<Visual>XuiButton</Visual>
<InterItemSpacing>0.000000,10.000000,0.000000</InterItemSpacing>
</Properties>
</XuiListItem>
<XuiListItem>
<Properties>
<Id>control_ListItem</Id>
<Width>226.000000</Width>
<Height>45.000000</Height>
<Position>7.000000,22.000000,0.000000</Position>
<Anchor>5</Anchor>
<Show>false</Show>
<Visual>XuiButton</Visual>
<InterItemSpacing>0.000000,10.000000,0.000000</InterItemSpacing>
</Properties>
</XuiListItem>
</XuiCommonList> </XuiCommonList>
<XuiBackButton> <XuiBackButton>
<Properties> <Properties>
@ -229,17 +277,21 @@
<Width>208.632019</Width> <Width>208.632019</Width>
<Height>36.000000</Height> <Height>36.000000</Height>
<Position>568.000061,432.000000,0.000000</Position> <Position>568.000061,432.000000,0.000000</Position>
<Text>Go back to menu</Text> <Text>Go back</Text>
<PressKey>22593</PressKey> <PressKey>22593</PressKey>
</Properties> </Properties>
</XuiBackButton> </XuiBackButton>
<XuiLabel> <XuiText>
<Properties> <Properties>
<Id>XuiTxtBottom</Id> <Id>XuiTxtBottom</Id>
<Width>124.000000</Width> <Width>521.056030</Width>
<Height>28.000000</Height> <Height>40.000000</Height>
<Position>51.543991,434.792023,0.000000</Position> <Position>43.581604,431.159973,0.000000</Position>
<TextColor>0xff0f0f0f</TextColor>
<DropShadowColor>0x800f0f0f</DropShadowColor>
<Font>Arial Unicode MS</Font>
<TextStyle>17</TextStyle>
</Properties> </Properties>
</XuiLabel> </XuiText>
</XuiScene> </XuiScene>
</XuiCanvas> </XuiCanvas>

View File

@ -14,7 +14,7 @@
<XuiText> <XuiText>
<Properties> <Properties>
<Id>XuiTxtTitle</Id> <Id>XuiTxtTitle</Id>
<Width>121.056023</Width> <Width>521.056030</Width>
<Height>40.000000</Height> <Height>40.000000</Height>
<Position>43.581604,21.159988,0.000000</Position> <Position>43.581604,21.159988,0.000000</Position>
<TextColor>0xff0f0f0f</TextColor> <TextColor>0xff0f0f0f</TextColor>
@ -198,6 +198,30 @@
<InterItemSpacing>0.000000,10.000000,0.000000</InterItemSpacing> <InterItemSpacing>0.000000,10.000000,0.000000</InterItemSpacing>
</Properties> </Properties>
</XuiListItem> </XuiListItem>
<XuiListItem>
<Properties>
<Id>control_ListItem</Id>
<Width>226.000000</Width>
<Height>45.000000</Height>
<Position>7.000000,22.000000,0.000000</Position>
<Anchor>5</Anchor>
<Show>false</Show>
<Visual>XuiButton</Visual>
<InterItemSpacing>0.000000,10.000000,0.000000</InterItemSpacing>
</Properties>
</XuiListItem>
<XuiListItem>
<Properties>
<Id>control_ListItem</Id>
<Width>226.000000</Width>
<Height>45.000000</Height>
<Position>7.000000,22.000000,0.000000</Position>
<Anchor>5</Anchor>
<Show>false</Show>
<Visual>XuiButton</Visual>
<InterItemSpacing>0.000000,10.000000,0.000000</InterItemSpacing>
</Properties>
</XuiListItem>
</XuiCommonList> </XuiCommonList>
<XuiBackButton> <XuiBackButton>
<Properties> <Properties>
@ -209,13 +233,17 @@
<PressKey>22593</PressKey> <PressKey>22593</PressKey>
</Properties> </Properties>
</XuiBackButton> </XuiBackButton>
<XuiLabel> <XuiText>
<Properties> <Properties>
<Id>XuiTxtBottom</Id> <Id>XuiTxtBottom</Id>
<Width>124.000000</Width> <Width>304.056030</Width>
<Height>28.000000</Height> <Height>40.000000</Height>
<Position>12.544006,313.792023,0.000000</Position> <Position>43.581604,306.159973,0.000000</Position>
<TextColor>0xff0f0f0f</TextColor>
<DropShadowColor>0x800f0f0f</DropShadowColor>
<Font>Arial Unicode MS</Font>
<TextStyle>17</TextStyle>
</Properties> </Properties>
</XuiLabel> </XuiText>
</XuiScene> </XuiScene>
</XuiCanvas> </XuiCanvas>