MCPcopy Create free account
hub / github.com/WallBreaker2/op / Format

Function Format

libop/input/mouse/CursorShape.cpp:206–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206std::wstring Format(const CursorShapeInfo &info) {
207 std::wstringstream ss;
208 ss << (info.visible ? 1 : 0) << L"," << std::uppercase << std::hex << std::setw(16) << std::setfill(L'0')
209 << info.hash << std::dec << L"," << info.width << L"," << info.height << L"," << info.hot_x << L","
210 << info.hot_y;
211 return ss.str();
212}
213
214} // namespace cursor_shape

Callers 2

GetCursorShapeMethod · 0.85
GetCursorShapeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected