void MoveCircleDesktop(bool draw = false) { static RECT circ, rec1; static int posx = 1,…
- User
void MoveCircleDesktop(bool draw = false) { static RECT circ, rec1; static int pos_x = 1, pos_y = -1; if (draw) { circ.left = 50, circ.right = 200, circ.top = 50, circ.bottom = 200; GetWindowRect(GetDesktopWindow(), &rec1); } if (rec1.right - rec1.left - circ.right <= 0) pos_x = -15; if (circ.left <= 0) pos_x = 15; if (circ.top <= 0) pos_y = 15; if (rec1.bottom - rec1.top - circ.bottom <= 0) pos_y = -15; move(GetDesktopWindow(), circ, pos_x, pos_y);
Убери след от рисунка в это функции
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.