Beispiel #1
0
    // Token: 0x06000105 RID: 261 RVA: 0x00006234 File Offset: 0x00004434
    protected virtual void OnPaint(PaintEventArgs e)
    {
        Bitmap   bitmap   = GClass1.smethod_32(GClass1.smethod_30(this), GClass1.smethod_31(this));
        Graphics graphics = GClass1.smethod_33(bitmap);

        this.int_0 = GClass1.smethod_30(this);
        this.int_1 = GClass1.smethod_31(this);
        Rectangle    rectangle_    = new Rectangle(0, 0, this.int_0, this.int_1);
        Rectangle    rectangle_2   = new Rectangle(GClass1.smethod_34(this.int_0 - 40), 0, this.int_0, this.int_1);
        GraphicsPath graphicsPath_ = GClass1.smethod_35();

        GClass1.smethod_35();
        GClass1.smethod_36(graphics, Color.FromArgb(45, 45, 48));
        GClass1.smethod_7(graphics, SmoothingMode.HighQuality);
        GClass1.smethod_8(graphics, PixelOffsetMode.HighQuality);
        GClass1.smethod_9(graphics, TextRenderingHint.ClearTypeGridFit);
        GClass1.smethod_13(graphics, GClass1.smethod_11(this.color_1), rectangle_);
        GClass1.smethod_37(graphicsPath_);
        GClass1.smethod_38(graphicsPath_, rectangle_2);
        GClass1.smethod_39(graphics, graphicsPath_);
        GClass1.smethod_13(graphics, GClass1.smethod_11(this.color_0), rectangle_2);
        GClass1.smethod_40(graphics);
        GClass1.smethod_42(graphics, GClass1.smethod_41(), this.int_0 - 10, 6, this.int_0 - 30, 6);
        GClass1.smethod_42(graphics, GClass1.smethod_41(), this.int_0 - 10, 12, this.int_0 - 30, 12);
        GClass1.smethod_42(graphics, GClass1.smethod_41(), this.int_0 - 10, 18, this.int_0 - 30, 18);
        graphics.DrawString(GClass1.smethod_43(this), GClass1.smethod_44(this), GClass1.smethod_18(), new Point(4, 6), GClass6.stringFormat_0);
        graphics.Dispose();
        e.Graphics.InterpolationMode = InterpolationMode.HighQualityBicubic;
        e.Graphics.DrawImageUnscaled(bitmap, 0, 0);
        bitmap.Dispose();
    }
 // Token: 0x06000140 RID: 320 RVA: 0x0001C228 File Offset: 0x0001A428
 public void method_9(int int_0)
 {
     if (!base.enabled)
     {
         return;
     }
     this.gclass2_0.string_1 = "offsets";
     this.gclass2_0.string_0 = int_0 + "</color> ";
     GClass1.smethod_11(this.gclass2_0);
 }
Beispiel #3
0
 // Token: 0x06000102 RID: 258 RVA: 0x0000604C File Offset: 0x0000424C
 public void method_0(object sender, DrawItemEventArgs e)
 {
     if (GClass1.smethod_3(e) < 0)
     {
         return;
     }
     GClass1.smethod_4(e);
     GClass1.smethod_5(e);
     GClass1.smethod_7(GClass1.smethod_6(e), SmoothingMode.HighQuality);
     GClass1.smethod_8(GClass1.smethod_6(e), PixelOffsetMode.HighQuality);
     GClass1.smethod_9(GClass1.smethod_6(e), TextRenderingHint.ClearTypeGridFit);
     GClass1.smethod_10(GClass1.smethod_6(e), InterpolationMode.HighQualityBicubic);
     if ((GClass1.smethod_2(e) & DrawItemState.Selected) == DrawItemState.Selected)
     {
         GClass1.smethod_13(GClass1.smethod_6(e), GClass1.smethod_11(this.color_2), GClass1.smethod_12(e));
     }
     else
     {
         GClass1.smethod_13(GClass1.smethod_6(e), GClass1.smethod_11(this.color_0), GClass1.smethod_12(e));
     }
     GClass1.smethod_6(e).DrawString(GClass1.smethod_16(this, GClass1.smethod_15(GClass1.smethod_14(this), GClass1.smethod_3(e))), GClass1.smethod_17("Segoe UI", 8f), GClass1.smethod_18(), new Rectangle(GClass1.smethod_12(e).X + 2, e.Bounds.Y + 2, e.Bounds.Width, e.Bounds.Height));
     e.Graphics.Dispose();
 }
    // Token: 0x06000173 RID: 371 RVA: 0x0001CCAC File Offset: 0x0001AEAC
    public void method_35(bool bool_0, bool bool_1, SongEntry songEntry_0, CHPlayer gclass9_0)
    {
        if (!base.enabled)
        {
            return;
        }
        if (!bool_1)
        {
            string text = gclass9_0.gclass10_0.genum18_0.ToString();
            string str  = gclass9_0.gclass10_0.genum17_0.ToString();
            this.gclass2_0.string_4 = (str + text).ToLower();
            this.gclass2_0.string_5 = str + "Difficulty" + text;
        }
        else
        {
            this.gclass2_0.string_4 = "volume";
            this.gclass2_0.string_5 = "note_animation";
        }
        if (bool_0)
        {
            this.gclass2_0.string_1 = "custom";
        }
        else
        {
            this.gclass2_0.string_1 = songEntry_0.artistName;
        }
        this.gclass2_0.string_0 = songEntry_0.songName;
        string text2 = "No songs were found!" + GlobalVariables.instance.songSpeed.String_1 + "Game Manager";

        if (this.gclass2_0.string_0.Length + text2.Length <= -53)
        {
            GClass1.GClass2 gclass = this.gclass2_0;
            gclass.string_0 += text2;
        }
        this.method_53();
        GClass1.smethod_11(this.gclass2_0);
    }