File was renamed from HDL_ON/UI/UI2/FuntionControlView/Aks/AksMusicPage.cs |
| | |
| | | using HDL_ON.UI.UI2.FuntionControlView.Aks.CommonView; |
| | | using Shared; |
| | | using static HDL_ON.UI.UI2.FuntionControlView.Aks.AksPage; |
| | | |
| | | namespace HDL_ON.UI.UI2.FuntionControlView.Aks |
| | | { |
| | | /// <summary> |
| | | /// 播放器界面 |
| | | /// </summary> |
| | | public class AksMusicPage : BaseFramLayout |
| | | public class MusicPage : BaseFramLayout |
| | | { |
| | | public AksMusicPage() |
| | | public MusicPage() |
| | | { |
| | | } |
| | | |
| | | |
| | | |
| | | public Action<IntType> action; |
| | | CornerFramLayout cornerFram; |
| | |
| | | private void EventListener() |
| | | { |
| | | cornerFram.selectAction += (value) => |
| | | { |
| | | Console.WriteLine("1"); |
| | | }; |
| | | { |
| | | Console.WriteLine("1"); |
| | | }; |
| | | |
| | | typeSingleFramLayout.SetClickListener((f) => |
| | | { |
| | |
| | | Console.WriteLine("5"); |
| | | }); |
| | | menuFram.SetBottomClickListener((b) => |
| | | { |
| | | Console.WriteLine("6"); |
| | | }); |
| | | { |
| | | Console.WriteLine("6"); |
| | | }); |
| | | menuFram.SetLeftClickListener((b) => |
| | | { |
| | | Console.WriteLine("7"); |
| | |
| | | }; |
| | | this.AddChidren(btnTitle); |
| | | |
| | | cornerFram = new CornerFramLayout(343, 452, 4,17); |
| | | cornerFram = new CornerFramLayout(343, 452, 17); |
| | | cornerFram.X = Application.GetRealWidth(16); |
| | | cornerFram.Y = btnTitle.Bottom + Application.GetRealHeight(16); |
| | | this.AddChidren(cornerFram); |
| | | cornerFram.SetList(cornerFram.GetTestList(16)); |
| | | cornerFram.SetMargin(16, 0, 16, 0); |
| | | cornerFram.LoadButtonPage(); |
| | | cornerFram.LoadButtonPage(4); |
| | | |
| | | |
| | | CornerFramLayout cornerBottomFram = new CornerFramLayout(343, 364, 0,17); |
| | | CornerFramLayout cornerBottomFram = new CornerFramLayout(343, 364, 17); |
| | | cornerBottomFram.X = Application.GetRealWidth(16); |
| | | cornerBottomFram.Y = cornerFram.Bottom + Application.GetRealHeight(16); |
| | | cornerBottomFram.BackgroundColor = MusicColor.WhiteColor; |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | } |