public override void Draw() { if (Hidden) { return; } for (int i = 0; i < dxsts.Length; i++) { int diff = Math.Abs(selectnum - i); if (diff <= 3) { if (diff == 0) { anim.Position = new Vector2(currentx * (float)Math.Pow(4, diff), currenty - 5); if (Focused) { anim.Draw(); } else { back.Position = new Vector2(currentx * (float)Math.Pow(4, diff), currenty + (i - selectnum) * (height + 5)); back.Alpha = (float)1 / (diff + 1); back.Draw(); } } else { back.Position = new Vector2(currentx * (float)Math.Pow(4, diff), currenty + (i - selectnum) * (height + 5)); back.Alpha = (float)1 / (diff + 1); back.Draw(); } dxsts[i].Position = new Vector2(40 + currentx * (float)Math.Pow(4, diff), currenty + (i - selectnum) * (height + 5) + 5); dxsts[i].Alpha = (float)1 / (diff + 1); dxsts[i].Draw(); if (!infos[i].IsPPDSong) { folder.Position = new Vector2(5 + currentx * (float)Math.Pow(4, diff), currenty + (i - selectnum) * (height + 5)); folder.Draw(); } } } }
public override void Draw() { if (Hidden || !Focused) { return; } if (Focused) { black.Draw(); confirm.Draw(); songname.Draw(); difficulty.Draw(); play.Draw(); } }
public override void Draw() { back.Draw(); scoreboard.Draw(); difficulty.Draw(); top.Draw(); bottom.Draw(); if (state >= State.done) { result[(int)Result].Draw(); select.Draw(); for (int i = 0; i < selects.Length; i++) { if (currentselect == i) { continue; } selects[i].Draw(); } } if (state < State.waitfadeforretry) { songname.Draw(); difficultstring.Draw(); } if (state == State.done) { retry.Draw(); retur.Draw(); if (highscore) { high.Draw(); } } for (int i = 0; i <= (int)state; i++) { if (i <= (int)State.combocounting) { scoresmalls[i].Draw(); } else if (i == (int)State.scorecounting) { scorebig.Draw(); break; } } black.Draw(); }
public override void Draw() { background.Draw(); if (!PPDSetting.Setting.LightMode) { wave.Draw(); } if (mb != null) { mb.Draw(); } if (mt != null) { mt.Draw(); } if (sic != null) { sic.Draw(); } if (cc != null) { cc.Draw(); } if (mss != null) { mss.Draw(); } foreach (PictureObject po in pictureobjects) { po.Draw(); } if (!cc.Focused) { modetext.Draw(); autotext.Draw(); speedtext.Draw(); randomtext.Draw(); } }
public override void Draw() { if (!Hidden) { conf.Draw(); top.Draw(); bottom.Draw(); for (int i = 0; i < selects.Length; i++) { if ((int)pausetype == i) { select.Draw(); } else { selects[i].Draw(); } } resume.Draw(); retry.Draw(); retur.Draw(); } }