ネスト
このコミットが含まれているのは:
@@ -58,17 +58,20 @@
|
|||||||
buf = ""
|
buf = ""
|
||||||
GetWindowText hWindow, VarPtr (buf), 256
|
GetWindowText hWindow, VarPtr (buf), 256
|
||||||
|
|
||||||
If (IsWindowVisible (hWindow) != False) And (StrLen (buf) != 0) {
|
If IsWindowVisible (hWindow) {
|
||||||
|
If StrLen (buf) != 0 {
|
||||||
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
|
||||||
|
|
||||||
If GetKey2 (KEY_MOUSE_L) {
|
If GetKey2 (KEY_MOUSE_L) {
|
||||||
|
If gInfo_act = SCREEN_MAIN {
|
||||||
If moving {
|
If moving {
|
||||||
nizikaX = LimitF (mouseX - offsetX, -NIZIKA_LEFT, gInfo_dispX - NIZIKA_RIGHT)
|
nizikaX = LimitF (mouseX - offsetX, -NIZIKA_LEFT, gInfo_dispX - NIZIKA_RIGHT)
|
||||||
nizikaY = LimitF (mouseY - offsetY, Null, gInfo_dispY - NIZIKA_BASE)
|
nizikaY = LimitF (mouseY - offsetY, Null, gInfo_dispY - NIZIKA_BASE)
|
||||||
@@ -80,6 +83,7 @@
|
|||||||
offsetY = Double (mouseY - nizikaY)
|
offsetY = Double (mouseY - nizikaY)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
Else: If moving {
|
Else: If moving {
|
||||||
moving = False
|
moving = False
|
||||||
falling = True
|
falling = True
|
||||||
@@ -97,9 +101,13 @@
|
|||||||
base = gInfo_dispY
|
base = gInfo_dispY
|
||||||
|
|
||||||
Repeat windowCnt
|
Repeat windowCnt
|
||||||
If (windowRects.0.cnt <= nizikaX + (NIZIKA_WIDTH - NIZIKA_LEFT)) And (nizikaX + NIZIKA_LEFT < windowRects.2.cnt) {
|
If windowRects.LEFT.cnt <= nizikaX + (NIZIKA_WIDTH - NIZIKA_LEFT) {
|
||||||
If (nizikaY + NIZIKA_BASE <= windowRects.1.cnt) And (windowRects.1.cnt < base) {
|
If nizikaX + NIZIKA_LEFT < windowRects.RIGHT.cnt {
|
||||||
base = windowRects.1.cnt
|
If nizikaY + NIZIKA_BASE <= windowRects.TOP.cnt {
|
||||||
|
If windowRects.TOP.cnt < base {
|
||||||
|
base = windowRects.TOP.cnt
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loop
|
Loop
|
||||||
|
|||||||
新しい課題から参照
ユーザをブロックする