HDL_ON/UI/UI0-Public/TopViewDiv.cs
@@ -134,6 +134,27 @@ }; } public void LoadTopView(Room room,Action skipAction) { //backAction = action; LoadTopView(); var btnSetting = new Button() { X = Application.GetRealWidth(337), Y = Application.GetRealHeight(29), Width = Application.GetMinRealAverage(28), Height = Application.GetMinRealAverage(28), UnSelectedImagePath = "Public/FuncInfoSetIcon.png", }; contentView.AddChidren(btnSetting); btnSetting.MouseUpEventHandler += (sender, e) => { skipAction(); }; } /// <summary> /// 向framelayout添加顶部区域,拥有添加图标的按钮