From d60b5783a2bb098a07a478fa758cd11c488c3406 Mon Sep 17 00:00:00 2001 From: Swizzy Date: Wed, 7 Jan 2015 21:51:10 +0100 Subject: [PATCH] (XDK360) New XUI Code Signed-off-by: Swizzy --- media/360/hd/rarch_main.xui | 12 + media/360/rarch_scene_skin.xui | 1838 ++++++++++++++++++++++++++++++++ media/360/sd/rarch_main.xui | 12 + menu/disp/rmenu_xui.cpp | 43 +- 4 files changed, 1887 insertions(+), 18 deletions(-) diff --git a/media/360/hd/rarch_main.xui b/media/360/hd/rarch_main.xui index ad62f73363..6681155678 100644 --- a/media/360/hd/rarch_main.xui +++ b/media/360/hd/rarch_main.xui @@ -29,6 +29,7 @@ 723.120056 367.040009 44.880005,64.959991,0.000000 +XuiList_Custom @@ -354,6 +355,17 @@ 0.000000,10.000000,0.000000 + + +control_ListItem +254.000000 +40.000000 +7.000000,26.000000,0.000000 +5 +false +XuiButton_two_col + + diff --git a/media/360/rarch_scene_skin.xui b/media/360/rarch_scene_skin.xui index dc8d092e8f..3eeff16b95 100644 --- a/media/360/rarch_scene_skin.xui +++ b/media/360/rarch_scene_skin.xui @@ -16118,4 +16118,1842 @@ + + +XuiButton_two_col +282.000000 +35.000000 + + + +graphic_TopEdge +242.119720 +2.000000 +20.039236,0.000000,0.000000 +5 + + +0xff8c8c8c + + +true +4,0.000000,0.000000,0.000000,0.000000,242.119720,0.000000,0,242.119720,0.000000,242.119720,0.000000,242.119720,2.000000,0,242.119720,2.000000,242.119720,2.000000,0.000000,2.000000,0,0.000000,2.000000,0.000000,2.000000,0.000000,0.000000,0, + + + + +graphic_BottomEdge +242.119690 +2.000000 +20.039242,33.000000,0.000000 +5 + + +0xff8c8c8c + + +true +4,0.000000,0.000000,0.000000,0.000000,242.119690,0.000000,0,242.119690,0.000000,242.119690,0.000000,242.119690,2.000000,0,242.119690,2.000000,242.119690,2.000000,0.000000,2.000000,0,0.000000,2.000000,0.000000,2.000000,0.000000,0.000000,0, + + + + +graphic_CapLeftEdge +20.039236 +35.000000 + + +0xff646464 + + + + +0xff8c8c8c + + +2 +0xffebebeb +0xff6e6e6e +0.317647 +1.000000 + + +90.000000 + + +true +14,3.875000,0.000000,3.875000,0.000000,18.681526,0.000000,1,20.039236,0.000000,20.039236,0.000000,20.037413,1.562100,3277408,20.039236,1.998465,20.039236,1.998465,5.702955,1.997865,1071517987,5.701577,1.998202,2.897324,2.683334,2.307712,3.099530,1,1.999854,5.875681,1.999640,5.877611,2.010629,29.086941,1,2.012240,29.093531,2.601130,31.503048,3.294792,32.728519,1,5.895264,32.981842,5.930549,32.985279,20.039236,33.002182,1,20.039236,33.002182,20.042145,34.196419,20.039236,35.000000,0,20.039236,35.000000,18.619503,35.000000,3.875000,35.000000,0,3.875000,35.000000,1.734898,35.000000,0.000000,33.265106,1,0.000000,31.125000,0.000000,31.125000,0.000000,28.552036,1,0.000000,25.117971,0.000000,22.186214,0.000000,14.626843,0,0.000000,11.505050,0.000000,7.291436,0.000000,3.875000,1059421575,0.000000,3.875000,0.000000,1.734894,1.734898,0.000000,1, + + + + +graphic_CapLeft +18.050406 +31.006342 +1.988831,1.995868,0.000000 + + +0xff646464 + + + + +3 + + +true +4 +0xff7d7d7d +0xffb4b4b4 +0xffd2d2d2 +0xffebebeb +0.086275 +0.470588 +0.494118 +0.682353 + + +0.210000,-0.080000,0.000000 +0.200000,0.300000,1.000000 +90.000000 + + +true +6,3.699417,0.000000,3.699417,0.000000,16.692696,0.000000,1,18.050406,0.000000,18.050406,0.000000,18.050406,31.006342,3277408,18.050406,31.006342,16.630672,31.006342,3.927025,31.000000,0,3.927025,31.000000,1.786923,31.000000,0.000000,29.265106,1,0.000000,27.125000,0.000000,27.125000,0.000000,3.875000,1,0.000000,3.875000,0.000000,1.734894,1.178219,0.050842,1, + + + + +graphic_CapRightEdge +20.073072 +35.000000 +282.232025,-0.023122,0.000000 +0.000000,1.000000,0.000000,0.000000 +4 + + +0xff646464 + + + + +0xff8c8c8c + + +2 +0xffebebeb +0xff6e6e6e +0.317647 +1.000000 + + +90.000000 + + +true +14,3.875000,0.000000,3.875000,0.000000,18.715363,0.000000,1,20.073072,0.000000,20.073072,0.000000,20.071249,1.562100,3277408,20.073072,1.998465,20.073072,1.998465,5.702955,1.997865,1071517987,5.701577,1.998202,2.897324,2.683334,2.307712,3.099530,1,1.999854,5.875681,1.999640,5.877611,2.010629,29.086941,1,2.012240,29.093531,2.601130,31.503048,3.294792,32.728519,1,5.895264,32.981842,5.930549,32.985279,20.073072,33.006920,1,20.073072,33.006920,20.075981,34.201157,20.073072,35.000000,0,20.073072,35.000000,18.653339,35.000000,3.875000,35.000000,0,3.875000,35.000000,1.734898,35.000000,0.000000,33.265106,1,0.000000,31.125000,0.000000,31.125000,0.000000,28.552036,1,0.000000,25.117971,0.000000,22.186214,0.000000,14.626843,0,0.000000,11.505050,0.000000,7.291436,0.000000,3.875000,1059421575,0.000000,3.875000,0.000000,1.734894,1.734898,0.000000,1, + + + + +graphic_CapRight +18.075178 +31.000000 +280.234131,1.999912,0.000000 +0.000000,1.000000,0.000000,0.000000 +4 + + +0xff646464 + + + + +3 + + +true +4 +0xff7d7d7d +0xffb4b4b4 +0xffd2d2d2 +0xffebebeb +0.086275 +0.470588 +0.494118 +0.682353 + + +0.210000,-0.080000,0.000000 +0.200000,0.300000,1.000000 +90.000000 + + +true +6,3.875000,0.000000,3.875000,0.000000,16.717468,0.000000,1,18.075178,0.000000,18.075178,0.000000,18.075178,31.000000,3277408,18.075178,31.000000,16.655445,31.000000,3.875000,31.000000,0,3.875000,31.000000,1.734898,31.000000,0.000000,29.265106,1,0.000000,27.125000,0.000000,27.125000,0.000000,3.875000,1,0.000000,3.875000,0.000000,1.734894,1.734898,0.000000,1, + + + + +graphic_Middle +242.119705 +31.006342 +20.039240,1.995868,0.000000 +5 + + +0xff646464 + + + + +2 + + +4 +0xff828282 +0xffb4b4b4 +0xffd2d2d2 +0xffebebeb +0.000000 +0.592157 +0.627451 +1.000000 + + +90.000000 + + +true +4,0.000000,0.000000,0.000000,0.000000,242.119705,0.000000,1,242.119705,0.000000,242.119705,0.000000,242.119705,31.004648,1,242.119705,31.004648,242.119705,31.004648,0.000000,31.006342,1,0.000000,31.006342,0.000000,31.006342,0.000000,0.000000,1, + + + + +LeftText +174.697693 +26.651360 +9.000000,4.000000,0.000000 +5 +0xff0f0f0f +0x800f0f0f + + + + +RightText +130.509796 +26.883928 +147.517395,4.000000,0.000000 +4 +0xff0f0f0f +0x800f0f0f +528 + + + + + +Normal + + + +EndNormal + +stop + + +Focus + + + +FocusLoop + + + +EndFocus + +gotoandplay +FocusLoop + + +NormalDisable + + + +EndNormalDisable + +stop + + +FocusDisable + + + +InactiveFocusLoop + + + +EndFocusDisable + +gotoandplay +InactiveFocusLoop + + +Press + + + +EndPress + +stop + + +NormalSel + + + +EndNormalSel + +stop + + + +graphic_Middle +Fill.Gradient.StopPos +Fill.Gradient.StopColor +Fill.Gradient.StopColor +Fill.Gradient.StopColor +Stroke.StrokeColor +Fill.Gradient.StopColor +Fill.Gradient.StopPos + + +1 +0.627451 +0xff828282 +0xffd2d2d2 +0xffebebeb +0xff646464 +0xffb4b4b4 +0.592157 + + + +0 +0.627451 +0xff828282 +0xffd2d2d2 +0xffebebeb +0xff646464 +0xffb4b4b4 +0.592157 + + + +0 +0.619608 +0xff648264 +0xffc8d2c8 +0xffc8ebc8 +0xff649664 +0xff78b478 +0.592157 + + + +0 +0.619608 +0xff829682 +0xffc8d2c8 +0xffc8ebc8 +0xff649664 +0xff96c896 +0.592157 + + + +0 +0.619608 +0xff648264 +0xffc8d2c8 +0xffc8ebc8 +0xff649664 +0xff78b478 +0.592157 + + + +1 +0.627451 +0xffb4b4b4 +0xffd2d2d2 +0xffebebeb +0xffb4b4b4 +0xffc8c8c8 +0.592157 + + + +0 +0.627451 +0xffb4b4b4 +0xffd2d2d2 +0xffebebeb +0xffb4b4b4 +0xffc8c8c8 +0.592157 + + + +0 +0.619608 +0xff8c968c +0xffbec8be +0xffebebeb +0xff647264 +0xffaaafa0 +0.592157 + + + +0 +0.619608 +0xff8cb48c +0xffc3cdc3 +0xffdaebda +0xff648464 +0xff91b18c +0.592157 + + + +0 +0.619608 +0xff8c968c +0xffbec8be +0xffebebeb +0xff647264 +0xffaaafa0 +0.592157 + + + +2 +0 +0 +50 +0.619608 +0xff648264 +0xffc8d2c8 +0xffc8ebc8 +0xff649664 +0xff78b478 +0.592157 + + + +1 +0.490196 +0xff8cb48c +0xff8cb48c +0xff8ca08c +0xff649664 +0xff8cb48c +0.376471 + + + +2 +0 +0 +50 +0.490196 +0xff8cb48c +0xff8cb48c +0xff8ca08c +0xff649664 +0xff8cb48c +0.376471 + + + +0 +0.619608 +0xff648264 +0xffc8d2c8 +0xffc8ebc8 +0xff649664 +0xff78b478 +0.592157 + + + +0 +0.619608 +0xff648264 +0xffc8d2c8 +0xffc8ebc8 +0xff649664 +0xff78b478 +0.592157 + + + +0 +0.619608 +0xff8c968c +0xffbec8be +0xffebebeb +0xff649664 +0xffaaafa0 +0.592157 + + + +graphic_CapLeft +Fill.Gradient.StopPos +Fill.Gradient.StopPos +Fill.Gradient.StopColor +Fill.Gradient.StopColor +Fill.Gradient.StopColor +Fill.Gradient.StopColor +Fill.Gradient.StopColor +Fill.Gradient.StopColor +Fill.Gradient.StopColor +Stroke.StrokeColor +Fill.Gradient.StopPos +Fill.Gradient.StopPos +Fill.Gradient.StopPos + + +1 +0.541176 +0.866667 +0xff7d7d7d +0xffb4b4b4 +0xffd2d2d2 +0xffebebeb +0xffd2d2d2 +0xffdcdcdc +0xffebebeb +0xff646464 +0.470588 +0.494118 +0.682353 + + + +0 +0.541176 +0.866667 +0xff7d7d7d +0xffb4b4b4 +0xffd2d2d2 +0xffebebeb +0xffd2d2d2 +0xffdcdcdc +0xffebebeb +0xff646464 +0.470588 +0.494118 +0.682353 + + + +0 +0.533333 +0.866667 +0xff648264 +0xff78b478 +0xffc8d2c8 +0xffc8ebc8 +0xff96d296 +0xffb4dcb4 +0xffc8ebc8 +0xff649664 +0.466667 +0.494118 +0.682353 + + + +0 +0.086275 +0.086275 +0xff829682 +0xff96c896 +0xffc8d2c8 +0xffc8ebc8 +0xff648264 +0xff648264 +0xff648264 +0xff649664 +0.466667 +0.494118 +0.682353 + + + +0 +0.533333 +0.866667 +0xff648264 +0xff78b478 +0xffc8d2c8 +0xffc8ebc8 +0xff96d296 +0xffb4dcb4 +0xffc8ebc8 +0xff649664 +0.466667 +0.494118 +0.682353 + + + +1 +0.533333 +0.858824 +0xffb4b4b4 +0xffc8c8c8 +0xffd2d2d2 +0xffebebeb +0xffd2d2d2 +0xffdcdcdc +0xffebebeb +0xffb4b4b4 +0.466667 +0.494118 +0.682353 + + + +0 +0.533333 +0.858824 +0xffb4b4b4 +0xffc8c8c8 +0xffd2d2d2 +0xffebebeb +0xffd2d2d2 +0xffdcdcdc +0xffebebeb +0xffb4b4b4 +0.466667 +0.494118 +0.682353 + + + +0 +0.538997 +0.866667 +0xff8c968c +0xffa0afa0 +0xffbec8be +0xffebebeb +0xffc1d2c1 +0xffd1dcd1 +0xffe1ebe1 +0xff647264 +0.466667 +0.494118 +0.682353 + + + +0 +0.086275 +0.086275 +0xff8cb48c +0xff8cb18c +0xffc3cdc3 +0xffdaebda +0xff788c78 +0xff788c78 +0xff788c78 +0xff648464 +0.466667 +0.494118 +0.682353 + + + +0 +0.538997 +0.866667 +0xff8c968c +0xffa0afa0 +0xffbec8be +0xffebebeb +0xffc1d2c1 +0xffd1dcd1 +0xffe1ebe1 +0xff647264 +0.466667 +0.494118 +0.682353 + + + +2 +0 +0 +50 +0.533333 +0.866667 +0xff648264 +0xff78b478 +0xffc8d2c8 +0xffc8ebc8 +0xff96d296 +0xffb4dcb4 +0xffc8ebc8 +0xff649664 +0.466667 +0.494118 +0.682353 + + + +1 +0.533333 +0.866667 +0xff8cb48c +0xff8cb48c +0xff8cb48c +0xff8ca08c +0xff96d296 +0xffb4dcb4 +0xffc8ebc8 +0xff649664 +0.341176 +0.423529 +0.713726 + + + +2 +0 +0 +50 +0.533333 +0.866667 +0xff8cb48c +0xff8cb48c +0xff8cb48c +0xff8ca08c +0xff96d296 +0xffb4dcb4 +0xffc8ebc8 +0xff649664 +0.341176 +0.423529 +0.713726 + + + +0 +0.533333 +0.866667 +0xff648264 +0xff78b478 +0xffc8d2c8 +0xffc8ebc8 +0xff96d296 +0xffb4dcb4 +0xffc8ebc8 +0xff649664 +0.466667 +0.494118 +0.682353 + + + +0 +0.086275 +0.086275 +0xff648264 +0xff78b478 +0xffc8d2c8 +0xffc8ebc8 +0xff648264 +0xff648264 +0xff648264 +0xff649664 +0.466667 +0.494118 +0.682353 + + + +0 +0.086275 +0.086275 +0xff8c968c +0xffa0afa0 +0xffbec8be +0xffebebeb +0xff648264 +0xff648264 +0xff648264 +0xff649664 +0.466667 +0.494118 +0.682353 + + + +graphic_CapRight +Fill.Gradient.StopPos +Fill.Gradient.StopPos +Fill.Gradient.StopColor +Fill.Gradient.StopColor +Fill.Gradient.StopColor +Fill.Gradient.StopColor +Fill.Gradient.StopColor +Fill.Gradient.StopColor +Fill.Gradient.StopColor +Stroke.StrokeColor +Fill.Gradient.StopPos +Fill.Gradient.StopPos +Fill.Gradient.StopColor +Fill.Gradient.StopPos +Fill.Gradient.StopPos + + +1 +0.541176 +0.866667 +0xff7d7d7d +0xffb4b4b4 +0xffd2d2d2 +0xff828282 +0xffd2d2d2 +0xffdcdcdc +0xffebebeb +0xff646464 +0.470588 +0.792157 +0xffebebeb +0.494118 +0.682353 + + + +0 +0.541176 +0.866667 +0xff7d7d7d +0xffb4b4b4 +0xffd2d2d2 +0xff828282 +0xffd2d2d2 +0xffdcdcdc +0xffebebeb +0xff646464 +0.470588 +0.792157 +0xffebebeb +0.494118 +0.682353 + + + +0 +0.533333 +0.866667 +0xff648264 +0xff78b478 +0xffc8d2c8 +0xff96c896 +0xff96d296 +0xffb4dcb4 +0xffc8ebc8 +0xff649664 +0.466667 +0.431373 +0xffc8ebc8 +0.494118 +0.682353 + + + +0 +0.086275 +0.086275 +0xff829682 +0xff96c896 +0xffc8d2c8 +0xff648264 +0xff648264 +0xff648264 +0xff648264 +0xff649664 +0.466667 +0.086275 +0xffc8ebc8 +0.494118 +0.682353 + + + +0 +0.533333 +0.866667 +0xff648264 +0xff78b478 +0xffc8d2c8 +0xff96c896 +0xff96d296 +0xffb4dcb4 +0xffc8ebc8 +0xff649664 +0.466667 +0.431373 +0xffc8ebc8 +0.494118 +0.682353 + + + +1 +0.533333 +0.858824 +0xffb4b4b4 +0xffc8c8c8 +0xffd2d2d2 +0xffc8c8c8 +0xffd2d2d2 +0xffdcdcdc +0xffebebeb +0xffb4b4b4 +0.466667 +0.431373 +0xffebebeb +0.494118 +0.682353 + + + +0 +0.533333 +0.858824 +0xffb4b4b4 +0xffc8c8c8 +0xffd2d2d2 +0xffc8c8c8 +0xffd2d2d2 +0xffdcdcdc +0xffebebeb +0xffb4b4b4 +0.466667 +0.431373 +0xffebebeb +0.494118 +0.682353 + + + +0 +0.538997 +0.866667 +0xff8c968c +0xffa0afa0 +0xffbec8be +0xffbac8ba +0xffc1d2c1 +0xffd1dcd1 +0xffe1ebe1 +0xff647264 +0.466667 +0.431373 +0xffebebeb +0.494118 +0.682353 + + + +0 +0.086275 +0.086275 +0xff8cb48c +0xff8cb18c +0xffc3cdc3 +0xff4f8365 +0xff4f8365 +0xff4f8365 +0xff4f8365 +0xff648464 +0.466667 +0.086275 +0xffdaebda +0.494118 +0.682353 + + + +0 +0.538997 +0.866667 +0xff8c968c +0xffa0afa0 +0xffbec8be +0xffbac8ba +0xffc1d2c1 +0xffd1dcd1 +0xffe1ebe1 +0xff647264 +0.466667 +0.431373 +0xffebebeb +0.494118 +0.682353 + + + +2 +0 +0 +50 +0.533333 +0.866667 +0xff648264 +0xff78b478 +0xffc8d2c8 +0xff96c896 +0xff96d296 +0xffb4dcb4 +0xffc8ebc8 +0xff649664 +0.466667 +0.431373 +0xffc8ebc8 +0.494118 +0.682353 + + + +1 +0.533333 +0.866667 +0xff8cb48c +0xff8cb48c +0xff8cb48c +0xff96c896 +0xff96d296 +0xffb4dcb4 +0xffc8ebc8 +0xff649664 +0.337255 +0.431373 +0xff8ca08c +0.423529 +0.713726 + + + +2 +0 +0 +50 +0.533333 +0.866667 +0xff8cb48c +0xff8cb48c +0xff8cb48c +0xff96c896 +0xff96d296 +0xffb4dcb4 +0xffc8ebc8 +0xff649664 +0.337255 +0.431373 +0xff8ca08c +0.423529 +0.713726 + + + +0 +0.533333 +0.866667 +0xff648264 +0xff78b478 +0xffc8d2c8 +0xff96c896 +0xff96d296 +0xffb4dcb4 +0xffc8ebc8 +0xff649664 +0.466667 +0.431373 +0xffc8ebc8 +0.494118 +0.682353 + + + +0 +0.086275 +0.086275 +0xff648264 +0xff78b478 +0xffc8d2c8 +0xff648264 +0xff648264 +0xff648264 +0xff648264 +0xff649664 +0.466667 +0.086275 +0xffc8ebc8 +0.494118 +0.682353 + + + +0 +0.086275 +0.086275 +0xff8c968c +0xffa0afa0 +0xffbec8be +0xff648264 +0xff648264 +0xff648264 +0xff648264 +0xff649664 +0.466667 +0.086275 +0xffebebeb +0.494118 +0.682353 + + + +graphic_CapLeftEdge +Fill.Gradient.StopColor +Fill.Gradient.StopColor +Stroke.StrokeColor +Fill.FillColor + + +1 +0xffebebeb +0xff6e6e6e +0xff646464 +0xff8c8c8c + + + +0 +0xffebebeb +0xff6e6e6e +0xff646464 +0xff8c8c8c + + + +1 +0xffc8ebc8 +0xff649664 +0xff649664 +0xff649664 + + + +0 +0xffc8ebc8 +0xff649664 +0xff649664 +0xff649664 + + + +1 +0xffb4b4b4 +0xffebebeb +0xffb4b4b4 +0xffb4b4b4 + + + +0 +0xffb4b4b4 +0xffebebeb +0xffb4b4b4 +0xffb4b4b4 + + + +1 +0xffe1ebe1 +0xff6b796b +0xff647264 +0xffa0afa0 + + + +0 +0xffe1ebe1 +0xff6b796b +0xff647264 +0xffa0afa0 + + + +1 +0xffc8ebc8 +0xff649664 +0xff649664 +0xff649664 + + + +0 +0xffc8ebc8 +0xff649664 +0xff649664 +0xff649664 + + + +0 +0xffc8ebc8 +0xff649664 +0xff649664 +0xff649664 + + + +0 +0xffc8ebc8 +0xff649664 +0xff649664 +0xff649664 + + + +graphic_TopEdge +Fill.FillColor + + +1 +0xff8c8c8c + + + +0 +0xff8c8c8c + + + +1 +0xff649664 + + + +0 +0xff649664 + + + +1 +0xffb4b4b4 + + + +0 +0xffb4b4b4 + + + +1 +0xffa0afa0 + + + +0 +0xffa0afa0 + + + +1 +0xff649664 + + + +0 +0xff649664 + + + +0 +0xff649664 + + + +0 +0xff649664 + + + +graphic_BottomEdge +Fill.FillColor + + +1 +0xff8c8c8c + + + +0 +0xff8c8c8c + + + +1 +0xff649664 + + + +0 +0xff649664 + + + +1 +0xffb4b4b4 + + + +0 +0xffb4b4b4 + + + +1 +0xffa0afa0 + + + +0 +0xffa0afa0 + + + +1 +0xff649664 + + + +0 +0xff649664 + + + +0 +0xff649664 + + + +0 +0xff649664 + + + +graphic_CapRightEdge +Fill.Gradient.StopColor +Fill.Gradient.StopColor +Stroke.StrokeColor +Fill.FillColor + + +1 +0xffebebeb +0xff6e6e6e +0xff646464 +0xff8c8c8c + + + +0 +0xffebebeb +0xff6e6e6e +0xff646464 +0xff8c8c8c + + + +1 +0xffc8ebc8 +0xff649664 +0xff649664 +0xff649664 + + + +0 +0xffc8ebc8 +0xff649664 +0xff649664 +0xff649664 + + + +1 +0xffb4b4b4 +0xffebebeb +0xffb4b4b4 +0xffb4b4b4 + + + +0 +0xffb4b4b4 +0xffebebeb +0xffb4b4b4 +0xffb4b4b4 + + + +1 +0xffe1ebe1 +0xff6b796b +0xff647264 +0xffa0afa0 + + + +0 +0xffe1ebe1 +0xff6b796b +0xff647264 +0xffa0afa0 + + + +1 +0xffc8ebc8 +0xff649664 +0xff649664 +0xff649664 + + + +0 +0xffc8ebc8 +0xff649664 +0xff649664 +0xff649664 + + + +0 +0xffc8ebc8 +0xff649664 +0xff649664 +0xff649664 + + + +0 +0xffc8ebc8 +0xff649664 +0xff649664 +0xff649664 + + + + + + +XuiList_Custom +266.000000 +96.000000 + + + +graphic_groupbackground +265.655182 +95.998039 +15 + + + +graphic_middle +242.999985 +71.006790 +11.341797,12.498047,0.000000 +15 + + +0xff000000 + + + + +2 +0xff000000 + + +2 +0xe1ebebeb +0x64ebebeb +0.000000 +1.000000 + + +-90.000000 + + +true +4,326.000000,300.000000,326.000000,300.000000,0.000000,300.000000,1,0.000000,300.000000,0.000000,300.000000,0.000000,0.000000,1,0.000000,0.000000,0.000000,0.000000,326.000000,0.000000,1,326.000000,0.000000,326.000000,0.000000,326.000000,300.000000,1, + + + + +graphic_Left +11.333984 +71.006790 +0.000000,12.498047,0.000000 +11 + + +0xff000000 + + + + +2 +0xff000000 + + +2 +0xe1ebebeb +0x64ebebeb +0.000000 +1.000000 + + +-90.000000 + + +true +4,11.333984,300.000000,11.333984,300.000000,0.000000,300.000000,1,0.000000,300.000000,0.000000,300.000000,0.000000,0.000000,1,0.000000,0.000000,0.000000,0.000000,11.333984,0.000000,1,11.333984,0.000000,11.333984,0.000000,11.333984,300.000000,1, + + + + +graphic_Right +11.333984 +71.006790 +254.321213,12.498047,0.000000 +14 + + +0xff000000 + + + + +2 +0xff000000 + + +2 +0xe1ebebeb +0x64ebebeb +0.000000 +1.000000 + + +-90.000000 + + +true +4,11.333984,300.000000,11.333984,300.000000,0.000000,300.000000,1,0.000000,300.000000,0.000000,300.000000,0.000000,0.000000,1,0.000000,0.000000,0.000000,0.000000,11.333984,0.000000,1,11.333984,0.000000,11.333984,0.000000,11.333984,300.000000,1, + + + + +graphic_LeftTop +41.334961 +12.498047 +3 + + +0xff000000 + + + + +2 +0xff000000 + + +2 +0x96ebebeb +0xe1ebebeb +0.000000 +1.000000 + + +-90.000000 + + +true +5,0.000000,12.498047,0.000000,12.498047,0.000000,7.000000,1,0.000000,7.000000,0.000000,3.133789,3.133789,0.000000,1,7.000000,0.000000,7.000000,0.000000,41.334961,0.000000,1,41.334961,0.000000,41.334961,0.000000,41.312500,12.498047,1,41.312500,12.498047,41.312500,12.498047,0.000000,12.498047,1, + + + + +graphic_RightTop +41.334961 +12.498047 +224.313400,0.000000,0.000000 +6 + + +0xff000000 + + + + +2 +0xff000000 + + +2 +0x96ebebeb +0xe1ebebeb +0.000000 +1.000000 + + +-90.000000 + + +true +5,41.334961,12.498047,41.334961,12.498047,41.334961,7.000000,1,41.334961,7.000000,41.334961,3.133789,38.201172,0.000000,1,34.334961,0.000000,34.334961,0.000000,0.000000,0.000000,1,0.000000,0.000000,0.000000,0.000000,0.022461,12.498047,1,0.022461,12.498047,0.022461,12.498047,41.334961,12.498047,1, + + + + +graphic_Top +182.999008 +12.490234 +41.331055,0.000000,0.000000 +7 + + +0xff000000 + + + + +2 +0xff000000 + + +2 +0x96ebebeb +0xe1ebebeb +0.000000 +1.000000 + + +-90.000000 + + +true +4,0.000000,12.490234,0.000000,12.490234,0.000000,0.000000,1,0.000000,0.000000,0.000000,0.000000,265.999023,0.000000,1,265.999023,0.000000,265.999023,0.000000,265.999023,12.490234,1,265.999023,12.490234,265.999023,12.490234,0.000000,12.490234,1, + + + + +graphic_RightBot +41.334961 +12.498047 +224.313400,83.500000,0.000000 +12 + + +0xff000000 + + + + +2 +0xff000000 + + +2 +0x64ebebeb +0x96ebebeb +0.000000 +0.992157 + + +-90.000000 + + +true +5,41.334961,0.000000,41.334961,0.000000,41.334961,5.498047,1,41.334961,5.498047,41.334961,9.364258,38.201172,12.498047,1,34.334961,12.498047,34.334961,12.498047,0.000000,12.498047,1,0.000000,12.498047,0.000000,12.498047,0.022461,0.000000,1,0.022461,0.000000,0.022461,0.000000,41.334961,0.000000,1, + + + + +graphic_LeftBot +41.334961 +12.498047 +0.000000,83.500000,0.000000 +9 + + +0xff000000 + + + + +2 +0xff000000 + + +2 +0x64ebebeb +0x96ebebeb +0.000000 +0.992157 + + +-90.000000 + + +true +5,0.000000,0.000000,0.000000,0.000000,0.000000,5.498047,1,0.000000,5.498047,0.000000,9.364258,3.133789,12.498047,1,7.000000,12.498047,7.000000,12.498047,41.334961,12.498047,1,41.334961,12.498047,41.334961,12.498047,41.312500,0.000000,1,41.312500,0.000000,41.312500,0.000000,0.000000,0.000000,1, + + + + +graphic_Bot +182.999008 +12.490234 +41.318359,83.500000,0.000000 +13 + + +0xff000000 + + + + +2 +0xff000000 + + +2 +0x64ebebeb +0x96ebebeb +0.000000 +0.992157 + + +-90.000000 + + +true +4,265.999023,0.000000,265.999023,0.000000,265.999023,12.490234,1,265.999023,12.490234,265.999023,12.490234,0.000000,12.490234,1,0.000000,12.490234,0.000000,12.490234,0.000000,0.000000,1,0.000000,0.000000,0.000000,0.000000,265.999023,0.000000,1, + + + + + +control_ScrollUp +33.000000 +18.000000 +214.000000,5.000000,0.000000 +6 +XuiScrollEndUp + + + + +control_ScrollDown +33.000000 +17.000000 +214.000000,72.000000,0.000000 +12 +XuiScrollEnd +1 + + + + +control_ListItem +254.000000 +40.000000 +7.000000,26.000000,0.000000 +5 +XuiButton_two_col + + + + + +KillFocus + + + +Normal + + + +EndNormal + +stop + + +Focus + + + +EndFocus + +stop + + + +graphic_groupbackground +Opacity + + +0 +1.000000 + + + +0 +0.500000 + + + +0 +0.500000 + + + +0 +0.500000 + + + +0 +1.000000 + + + + diff --git a/media/360/sd/rarch_main.xui b/media/360/sd/rarch_main.xui index 0fb8186b7d..5f9cf2546a 100644 --- a/media/360/sd/rarch_main.xui +++ b/media/360/sd/rarch_main.xui @@ -29,6 +29,7 @@ 466.000000 272.720001 24.880005,52.959991,0.000000 +XuiList_Custom @@ -282,6 +283,17 @@ 0.000000,10.000000,0.000000 + + +control_ListItem +254.000000 +40.000000 +7.000000,26.000000,0.000000 +5 +false +XuiButton_two_col + + diff --git a/menu/disp/rmenu_xui.cpp b/menu/disp/rmenu_xui.cpp index a8d18d513d..77cffdce97 100644 --- a/menu/disp/rmenu_xui.cpp +++ b/menu/disp/rmenu_xui.cpp @@ -318,8 +318,7 @@ static void rmenu_xui_frame(void) XUIMessage msg; XUIMessageRender msgRender; - XuiMessageRender( &msg, &msgRender, - app.GetDC(), 0xffffffff, XUI_BLEND_NORMAL ); + XuiMessageRender( &msg, &msgRender, app.GetDC(), 0xffffffff, XUI_BLEND_NORMAL ); XuiSendMessage( app.GetRootObj(), &msg ); XuiRenderSetViewTransform( app.GetDC(), &matOrigView ); @@ -366,7 +365,6 @@ static void rmenu_xui_render(void) g_extern.is_menu && !driver.menu->msg_force) return; - begin = driver.menu->selection_ptr; end = menu_list_get_size(driver.menu->menu_list); rmenu_xui_render_background(); @@ -374,8 +372,7 @@ static void rmenu_xui_render(void) menu_list_get_last_stack(driver.menu->menu_list, &dir, &label, &menu_type); - get_title(label, dir, menu_type, - title, sizeof(title)); + get_title(label, dir, menu_type, title, sizeof(title)); mbstowcs(strw_buffer, title, sizeof(strw_buffer) / sizeof(wchar_t)); XuiTextElementSetText(m_menutitle, strw_buffer); @@ -410,11 +407,9 @@ static void rmenu_xui_render(void) x = RXUI_TERM_START_X; y = RXUI_TERM_START_Y; - for (i = begin; i < end; i++/*, y += FONT_HEIGHT_STRIDE */) + for (i = 0; i < end; i++/*, y += FONT_HEIGHT_STRIDE */) { - char message[PATH_MAX_LENGTH], type_str[PATH_MAX_LENGTH], - entry_title_buf[PATH_MAX_LENGTH], type_str_buf[PATH_MAX_LENGTH], - path_buf[PATH_MAX_LENGTH]; + char type_str[PATH_MAX_LENGTH],entry_title_buf[PATH_MAX_LENGTH], path_buf[PATH_MAX_LENGTH]; const char *path = NULL, *entry_label = NULL; unsigned type = 0, w = 0; bool selected = false; @@ -436,15 +431,27 @@ static void rmenu_xui_render(void) else menu_ticker_line(type_str_buf, w, g_extern.frame_count / 15, type_str, selected); #endif - - snprintf(message, sizeof(message), "%s : %s", - type_str, - path_buf); - - wchar_t msg_w[256]; - mbstowcs(msg_w, message, sizeof(msg_w) / sizeof(wchar_t)); - XuiListSetText(m_menulist, i, msg_w); - blit_line(x, y, message, i); + HXUIOBJ hVisual = NULL; + HXUIOBJ hControl = XuiListGetItemControl(m_menulist, i); + if (XuiHandleIsValid(hControl)) + XuiControlGetVisual(hControl, &hVisual); + if(XuiHandleIsValid(hVisual)) + { + HXUIOBJ hTextLeft = NULL, hTextRight = NULL; + XuiElementGetChildById(hVisual, L"LeftText", &hTextLeft); + XuiElementGetChildById(hVisual, L"RightText", &hTextRight); + wchar_t msg_w[256]; + if(XuiHandleIsValid(hTextLeft)) + { + mbstowcs(msg_w, path_buf, sizeof(msg_w) / sizeof(wchar_t)); + XuiTextElementSetText(hTextLeft, msg_w); + } + if(XuiHandleIsValid(hTextRight)) + { + mbstowcs(msg_w, type_str, sizeof(msg_w) / sizeof(wchar_t)); + XuiTextElementSetText(hTextRight, msg_w); + } + } } if (driver.menu->keyboard.display)