| | |
| | | Width = Application.GetRealWidth(160), |
| | | Height = Application.GetRealHeight(287), |
| | | BackgroundImagePath = "FunctionIcon/AC/DivBg1.png", |
| | | Animate = Animate.DownToUp, |
| | | Animate = Animate.UpToDown, |
| | | AnimateSpeed = 0.3f |
| | | }; |
| | | dialogView.AddChidren(modeChangeView); |
| | |
| | | Y = Application.GetRealHeight(44 * (aC.trait_mode.value_key.IndexOf(m) + 1) + 10 + 8), |
| | | Width = Application.GetRealWidth(24), |
| | | Height = Application.GetRealWidth(24), |
| | | IsSelected = aC.trait_mode.value == m, |
| | | IsSelected = aC.trait_mode.value.ToString() == m, |
| | | }; |
| | | modeChangeView.AddChidren(btnModeIcon); |
| | | |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | SelectedTextColor = CSS_Color.MainColor, |
| | | IsSelected = aC.trait_mode.value == m, |
| | | IsSelected = aC.trait_mode.value.ToString() == m, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | }; |
| | | modeChangeView.AddChidren(btnModeText); |
| | |
| | | Height = Application.GetRealHeight(243), |
| | | AnimateSpeed = 0.3f, |
| | | BackgroundImagePath = "FunctionIcon/AC/DivBg2.png", |
| | | Animate = Animate.DownToUp, |
| | | Animate = Animate.UpToDown, |
| | | }; |
| | | dialogView.AddChidren(modeChangeView); |
| | | |