Add main menu using imgui

This commit is contained in:
dijunkun
2023-10-08 17:39:28 +08:00
parent 0f2f984286
commit 45ccbe1637
4 changed files with 634 additions and 103 deletions

View File

@@ -119,9 +119,9 @@ void RemoteDeskServer::ReceiveDataBuffer(const char *data, size_t size,
ip.mi.time = 0;
// Set cursor pos
SetCursorPos(ip.mi.dx, ip.mi.dy);
// SetCursorPos(ip.mi.dx, ip.mi.dy);
// Send the press
SendInput(1, &ip, sizeof(INPUT));
// SendInput(1, &ip, sizeof(INPUT));
std::cout << "Receive data from [" << user << "], " << ip.type << " "
<< ip.mi.dwFlags << " " << ip.mi.dx << " " << ip.mi.dy