MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / GetCursorPos

Function GetCursorPos

lib/utils/utility.cpp:8–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6namespace advss {
7
8std::pair<int, int> GetCursorPos()
9{
10 auto cursorPos = QCursor::pos();
11 return {cursorPos.x(), cursorPos.y()};
12}
13
14bool ReplaceAll(std::string &str, const std::string &from,
15 const std::string &to)

Callers 4

CheckConditionMethod · 0.85
UpdateCursorPosMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected