格式整理

This commit is contained in:
EmsiaetKadosh
2025-03-19 17:08:28 +08:00
parent c344588924
commit 28cc82bcd7
14 changed files with 302 additions and 89 deletions
+4 -2
View File
@@ -84,10 +84,12 @@ public:
floatWindow->onResize();
}
void passEvent(const MouseActionCode action, const MouseButtonCode value, const int x, const int y) const noexcept {
caption->passEvent(action, value, x, y);
int passEvent(const MouseActionCode action, const MouseButtonCode value, const int x, const int y) const noexcept {
int ret = 0;
ret = caption->passEvent(action, value, x, y);
if (Window* const window = getWindow()) window->passEvent(action, value, x, y);
floatWindow->passEvent(action, value, x, y);
return ret;
}
};