このコミットが含まれているのは:
2023-06-15 22:49:00 +09:00
コミット 8e68637043
+19 -9
ファイルの表示
@@ -60,12 +60,14 @@
If IsWindowVisible (hWindow) { If IsWindowVisible (hWindow) {
If StrLen (buf) != 0 { If StrLen (buf) != 0 {
If hWindow != hWnd {
hWindows.windowCnt = hWindow hWindows.windowCnt = hWindow
GetWindowRect hWindow, VarPtr (windowRects.0.windowCnt) GetWindowRect hWindow, VarPtr (windowRects.0.windowCnt)
windowCnt++ windowCnt++
} }
} }
}
hWindowBefore = hWindow hWindowBefore = hWindow
Loop Loop
@@ -101,15 +103,23 @@
base = gInfo_dispY base = gInfo_dispY
Repeat windowCnt Repeat windowCnt
If windowRects.LEFT.cnt <= nizikaX + (NIZIKA_WIDTH - NIZIKA_LEFT) { If windowRects.LEFT.cnt > nizikaX + (NIZIKA_WIDTH - NIZIKA_LEFT) {
If nizikaX + NIZIKA_LEFT < windowRects.RIGHT.cnt { Continue
If nizikaY + NIZIKA_BASE <= windowRects.TOP.cnt { }
If windowRects.TOP.cnt < base {
If nizikaX + NIZIKA_LEFT >= windowRects.RIGHT.cnt {
Continue
}
If nizikaY + NIZIKA_BASE > windowRects.TOP.cnt {
Continue
}
If windowRects.TOP.cnt >= base {
Continue
}
base = windowRects.TOP.cnt base = windowRects.TOP.cnt
}
}
}
}
Loop Loop
} }
@@ -118,7 +128,7 @@
BoxF BoxF
Pos nizikaX, nizikaY Pos nizikaX, nizikaY
GCopy SCREEN_NIZIKA, IIf (direction < 0, NIZIKA_WIDTH, 0), NIZIKA_HEIGHT * (frame \ 24), NIZIKA_WIDTH, NIZIKA_HEIGHT GCopy SCREEN_NIZIKA, IIf (direction < 0, NIZIKA_WIDTH, 0), NIZIKA_HEIGHT * (frame * IIf (moving, 3, 1) \ 24), NIZIKA_WIDTH, NIZIKA_HEIGHT
ReDraw True ReDraw True
nizikaX += direction * 4 nizikaX += direction * 4