コード例 #1
0
ファイル: Capturer.cs プロジェクト: arocarlisle/OWG-Aim
 public Capturer(Analyst analyst, MouseMover mouseMover, Point screenSize, double window, string path, int delay)
 {
     this.analyst       = analyst;
     analyst.headOffset = headOffset;
     this.path          = path;
     this.delay         = delay;
     this.mouseMover    = mouseMover;
     this.screenSize    = screenSize;
     this.window        = window;
 }
コード例 #2
0
ファイル: GUI.cs プロジェクト: arocarlisle/OWG-Aim
        private void initialize()
        {
            analyst  = new Analyst();
            mover    = new MouseMover(screenSize, 8.0f);
            capturer = new Capturer(analyst, mover, screenSize, 1200.0, path, 15);
            hooker   = new Hooker(capturer, Keys.C);

            captureThread = new Thread(() => { capturer.run(); }, 1000000000);
            hookerThread  = new Thread(() => { hooker.run(); });

            aimBox.DropDownStyle = ComboBoxStyle.DropDownList;
            aimBox.SelectedIndex = aimBox.Items.IndexOf("C");
        }