public SpawnViewer() { refmarker = this; this.Icon = FiddlerControls.Options.GetFiddlerIcon(); InitializeComponent(); SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer | ControlStyles.UserPaint, true); clientcursor = new ClientObject(this); clientcursor.Visible = false; }
public ClientObject(SpawnViewer refer) { refmarker = refer; Visible = true; Selected = false; if (DrawPen == null) { DrawPen = new Pen(new SolidBrush(Color.Yellow)); } }
public Region(SpawnViewer refer) { group = new List <Group>(); refmarker = refer; Visible = true; Selected = false; if (RegionPen == null) { RegionBrush = new SolidBrush(Color.FromArgb(80, Color.Blue)); RegionPen = new Pen(new SolidBrush(Color.Blue)); } if (SelectedPen == null) { SelectedBrush = new SolidBrush(Color.FromArgb(80, Color.Red)); SelectedPen = new Pen(new SolidBrush(Color.Red)); } }
public Rune(SpawnViewer refer) { refmarker = refer; Visible = true; Selected = false; if (NPCPen == null) { NPCPen = new Pen(new SolidBrush(Color.Gray)); } if (ItemPen == null) { ItemPen = new Pen(new SolidBrush(Color.Gold)); } if (ContainerPen == null) { ContainerPen = new Pen(new SolidBrush(Color.Green)); } if (SelectedPen == null) { SelectedPen = new Pen(new SolidBrush(Color.Red)); } }