From c9d5f8ba673d016074c5ffe948acd3be492e655f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 9 May 2013 22:26:47 +0200 Subject: [PATCH] (RMenu XUI) Make text bottom label work --- frontend/menu/rmenu_xui.cpp | 4 +-- media/360/hd/rarch_main.xui | 64 +++++++++++++++++++++++++++++++++---- media/360/sd/rarch_main.xui | 40 +++++++++++++++++++---- 3 files changed, 94 insertions(+), 14 deletions(-) diff --git a/frontend/menu/rmenu_xui.cpp b/frontend/menu/rmenu_xui.cpp index 7fad792be1..159c6df635 100644 --- a/frontend/menu/rmenu_xui.cpp +++ b/frontend/menu/rmenu_xui.cpp @@ -1295,9 +1295,9 @@ HRESULT CRetroArchMain::OnInit(XUIMessageInit * pInitData, BOOL& bHandled) init_menulist(INGAME_MENU_MAIN_MODE); 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); + menu_settings_create_menu_item_label_w(strw_buffer, S_LBL_RARCH_VERSION, sizeof(strw_buffer)); + XuiTextElementSetText(m_menutitle, strw_buffer); return 0; } diff --git a/media/360/hd/rarch_main.xui b/media/360/hd/rarch_main.xui index e87fe517e9..1806cfcdfd 100644 --- a/media/360/hd/rarch_main.xui +++ b/media/360/hd/rarch_main.xui @@ -222,6 +222,54 @@ 0.000000,10.000000,0.000000 + + +control_ListItem +226.000000 +45.000000 +7.000000,22.000000,0.000000 +5 +false +XuiButton +0.000000,10.000000,0.000000 + + + + +control_ListItem +226.000000 +45.000000 +7.000000,22.000000,0.000000 +5 +false +XuiButton +0.000000,10.000000,0.000000 + + + + +control_ListItem +226.000000 +45.000000 +7.000000,22.000000,0.000000 +5 +false +XuiButton +0.000000,10.000000,0.000000 + + + + +control_ListItem +226.000000 +45.000000 +7.000000,22.000000,0.000000 +5 +false +XuiButton +0.000000,10.000000,0.000000 + + @@ -229,17 +277,21 @@ 208.632019 36.000000 568.000061,432.000000,0.000000 -Go back to menu +Go back 22593 - + XuiTxtBottom -124.000000 -28.000000 -51.543991,434.792023,0.000000 +521.056030 +40.000000 +43.581604,431.159973,0.000000 +0xff0f0f0f +0x800f0f0f +Arial Unicode MS +17 - + diff --git a/media/360/sd/rarch_main.xui b/media/360/sd/rarch_main.xui index 8d68fd2637..cd13e6b44c 100644 --- a/media/360/sd/rarch_main.xui +++ b/media/360/sd/rarch_main.xui @@ -14,7 +14,7 @@ XuiTxtTitle -121.056023 +521.056030 40.000000 43.581604,21.159988,0.000000 0xff0f0f0f @@ -198,6 +198,30 @@ 0.000000,10.000000,0.000000 + + +control_ListItem +226.000000 +45.000000 +7.000000,22.000000,0.000000 +5 +false +XuiButton +0.000000,10.000000,0.000000 + + + + +control_ListItem +226.000000 +45.000000 +7.000000,22.000000,0.000000 +5 +false +XuiButton +0.000000,10.000000,0.000000 + + @@ -209,13 +233,17 @@ 22593 - + XuiTxtBottom -124.000000 -28.000000 -12.544006,313.792023,0.000000 +304.056030 +40.000000 +43.581604,306.159973,0.000000 +0xff0f0f0f +0x800f0f0f +Arial Unicode MS +17 - +