MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / exec

Method exec

source/src/scriptinterpreter.cpp:1159–1166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1157 if (!IsWindow(wnd)) return false;
1158 bool top = args.size() > 1 ? args[1].toBool() : true;
1159 if (top) return static_cast<bool>(SetWindowPos(wnd, HWND_TOP, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE) && SetWindowPos(wnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE));
1160 return static_cast<bool>(SetWindowPos(wnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE));
1161 }
1162};
1163/*
1164ptr handle
1165int opacity: 0~255
1166
1167bool return
1168*/
1169struct QiFunc_wnd_opacity : public QiFunc

Callers

nothing calls this directly

Calls 3

toPointerMethod · 0.80
sizeMethod · 0.45
toBoolMethod · 0.45

Tested by

no test coverage detected