示例#1
0
        public override void OnShow()
        {
            base.OnShow();

            _OldCoverTheme = CCover.GetCoverThemeIndex();
            _OldTheme      = CTheme.GetThemeIndex();
            _OldSkin       = CTheme.GetSkinIndex();
            _TempSkin      = _OldSkin;
        }
示例#2
0
        public override void LoadTheme()
        {
            base.LoadTheme();

            SelectSlides[htSelectSlides(SelectSlideTheme)].AddValues(CTheme.ThemeNames);
            SelectSlides[htSelectSlides(SelectSlideTheme)].Selection = CTheme.GetThemeIndex();

            SelectSlides[htSelectSlides(SelectSlideSkin)].AddValues(CTheme.SkinNames);
            SelectSlides[htSelectSlides(SelectSlideSkin)].Selection = CTheme.GetSkinIndex();

            SelectSlides[htSelectSlides(SelectSlideCover)].AddValues(CCover.CoverThemes);
            SelectSlides[htSelectSlides(SelectSlideCover)].Selection = CCover.GetCoverThemeIndex();
            SelectSlides[htSelectSlides(SelectSlideNoteLines)].SetValues <EOffOn>((int)CConfig.DrawNoteLines);
            SelectSlides[htSelectSlides(SelectSlideToneHelper)].SetValues <EOffOn>((int)CConfig.DrawToneHelper);
            SelectSlides[htSelectSlides(SelectSlideTimerLook)].SetValues <ETimerLook>((int)CConfig.TimerLook);
            SelectSlides[htSelectSlides(SelectSlideCoverLoading)].SetValues <ECoverLoading>((int)CConfig.CoverLoading);
        }