[NTDLL]
[reactos.git] / base / applications / network / telnet / src / tmouse.h
1 #pragma once
2
3 #include "tnclip.h"
4 #include <windows.h>
5
6 class TMouse {
7 private:
8 int normal, inverse;
9 HANDLE hConsole, hStdout;
10 CHAR_INFO *chiBuffer;
11 CONSOLE_SCREEN_BUFFER_INFO ConsoleInfo;
12 Tnclip &Clipboard;
13
14 void get_coords(COORD *start_coords, COORD *end_coords,
15 COORD *first_coords, COORD *last_coords);
16 void doMouse_init();
17 void doMouse_cleanup();
18 void move_mouse(COORD start_coords, COORD end_coords);
19 void doClip(COORD start_coords, COORD end_coords);
20
21 public:
22 void doMouse();
23 void scrollMouse();
24 TMouse(Tnclip &RefClipboard);
25 ~TMouse();
26 };