| | |
| | | TextColor = CSS.CSS_Color.MainBackgroundColor, |
| | | TextSize = CSS.CSS_FontSize.EmphasisFontSize_FirstLevel, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | Text = DB_ResidenceData.residenceData.residenceName, |
| | | Text = DB_ResidenceData.residenceData.residecenInfo.Name, |
| | | IsBold = true |
| | | }; |
| | | topView.AddChidren(btnResidenceName); |
| | |
| | | { |
| | | try |
| | | { |
| | | Button btnCoverd = new Button() |
| | | { |
| | | UnSelectedImagePath = "Collection/SceneCovered.png", |
| | | }; |
| | | view.AddChidren(btnCoverd); |
| | | LoadEvent_ControlScene(btnCoverd, function); |
| | | |
| | | Button btnDelayIcon; |
| | | btnDelayIcon = new Button() |
| | | { |
| | | X = Application.GetRealWidth(12), |
| | | Y = Application.GetRealWidth(12), |
| | | Height = Application.GetRealWidth(24), |
| | | Width = Application.GetRealWidth(24), |
| | | UnSelectedImagePath = "FunctionIcon/Scene/DelayIcon.png" |
| | | }; |
| | | view.AddChidren(btnDelayIcon); |
| | | |
| | | Button btnCollection; |
| | | btnCollection = new Button() |
| | | { |
| | | X = Application.GetRealWidth(116), |
| | | Y = Application.GetRealWidth(8), |
| | | Width = Application.GetMinRealAverage(32), |
| | | Height = Application.GetMinRealAverage(32), |
| | | SelectedImagePath = "Collection/CollectionWhiteIcon.png", |
| | | UnSelectedImagePath = "Collection/CollectionIcon.png", |
| | | }; |
| | | view.AddChidren(btnCollection); |
| | | LoadEvent_FunctionCollection(btnCollection, function, false); |
| | | Button btnName; |
| | | btnName = new Button() |
| | | { |
| | |
| | | }; |
| | | view.AddChidren(btnZone); |
| | | |
| | | Button btnCoverd = new Button() |
| | | { |
| | | UnSelectedImagePath = "Collection/SceneCovered.png", |
| | | }; |
| | | view.AddChidren(btnCoverd); |
| | | |
| | | Button btnDelayIcon; |
| | | btnDelayIcon = new Button() |
| | | { |
| | | X = Application.GetRealWidth(12), |
| | | Y = Application.GetRealWidth(12), |
| | | Height = Application.GetRealWidth(24), |
| | | Width = Application.GetRealWidth(24), |
| | | UnSelectedImagePath = "FunctionIcon/Scene/DelayIcon.png" |
| | | }; |
| | | view.AddChidren(btnDelayIcon); |
| | | |
| | | Button btnCollection; |
| | | btnCollection = new Button() |
| | | { |
| | | X = Application.GetRealWidth(116), |
| | | Y = Application.GetRealWidth(8), |
| | | Width = Application.GetMinRealAverage(32), |
| | | Height = Application.GetMinRealAverage(32), |
| | | SelectedImagePath = "Collection/CollectionWhiteIcon.png", |
| | | UnSelectedImagePath = "Collection/CollectionIcon.png", |
| | | }; |
| | | view.AddChidren(btnCollection); |
| | | LoadEvent_FunctionCollection(btnCollection, function, false); |
| | | |
| | | LoadEvent_ControlScene(btnCoverd, function); |
| | | |
| | | } |
| | | catch (Exception ex) |