Esempio n. 1
0
        public ThemeTab(string Text)
        {
            this.text = Text;

            overfadeid   = FadeScheduler.CreateFade(new EventHandler <FadeEventArgs>(this.FadeChanged), 0.2f, 0f, 1f);
            selectfadeid = FadeScheduler.CreateFade(new EventHandler <FadeEventArgs>(this.FadeChanged), 0.2f, 0f, 1f);
        }
Esempio n. 2
0
        public ThemeCaptionButton(CapBtnType type, object Parent)
        {
            this.type   = type;
            this.Parent = Parent;

            overfadeid = FadeScheduler.CreateFade(new EventHandler <FadeEventArgs>(this.FadeChanged), 0.2f, 0f, 1f);
            downfadeid = FadeScheduler.CreateFade(new EventHandler <FadeEventArgs>(this.FadeChanged), 0.2f, 0f, 1f);
        }
Esempio n. 3
0
        public ThemeTabBar(ThemeTabControl parent)
        {
            this.parent = parent;

            this.Margin = new Padding(0, 0, 0, 0);

            btnclose         = new ThemeCaptionButton(ThemeCaptionButton.CapBtnType.Close, this);
            btnclose.Parent  = this;
            btnclose.Visible = false;

            btnmax         = new ThemeCaptionButton(ThemeCaptionButton.CapBtnType.Maximize, this);
            btnmax.Parent  = this;
            btnmax.Visible = false;

            btnmin         = new ThemeCaptionButton(ThemeCaptionButton.CapBtnType.Minimize, this);
            btnmin.Parent  = this;
            btnmin.Visible = false;


            navbtnbackoverfadeid = FadeScheduler.CreateFade(new EventHandler <FadeEventArgs>(this.FadeChanged), 1f, 0f, 1f);
            navbtnfwdoverfadeid  = FadeScheduler.CreateFade(new EventHandler <FadeEventArgs>(this.FadeChanged), 1f, 0f, 1f);
        }
Esempio n. 4
0
 public ThemeButton()
 {
     overfadeid = FadeScheduler.CreateFade(new EventHandler <FadeEventArgs>(this.FadeChanged), 0.2f, 0f, 1f);
     downfadeid = FadeScheduler.CreateFade(new EventHandler <FadeEventArgs>(this.FadeChanged), 0.2f, 0f, 1f);
 }
Esempio n. 5
0
 public ThemeScrollBar()
 {
     overfade = FadeScheduler.CreateFade(new EventHandler <FadeEventArgs>(this.FadeChanged), 1f, 0f, 1f);
     downfade = FadeScheduler.CreateFade(new EventHandler <FadeEventArgs>(this.FadeChanged), 1f, 0f, 1f);
 }