コード例 #1
0
 private void UserSettings_SettingChanged(object sender, StringEventArgs e)
 {
     if (e.Data == UserSettingsKey.defaultRenderSetting)
     {
         iconButton.SetIcon(viewIcons[sceneContext.ViewState.RenderType]);
         if (!this.MenuVisible)
         {
             iconButton.FlashBackground(theme.PrimaryAccentColor.WithContrast(theme.TextColor, 6).ToColor());
         }
     }
 }