Home
last modified time | relevance | path

Searched refs:sWindowRect (Results 1 – 1 of 1) sorted by relevance

/haiku/src/apps/stylededit/
H A DStyledEditApp.cpp35 static BRect sWindowRect(7, 26, 507, 426); variable
47 float left = sWindowRect.left + sCascadeOffset; in cascade()
48 if (left + sWindowRect.Width() > screenBorder.right) in cascade()
51 float top = sWindowRect.top + sCascadeOffset; in cascade()
52 if (top + sWindowRect.Height() > screenBorder.bottom) in cascade()
55 sWindowRect.OffsetTo(BPoint(left, top)); in cascade()
65 float left = sWindowRect.left - sCascadeOffset; in uncascade()
67 left = screenBorder.right - sWindowRect.Width() - sTopLeft.x; in uncascade()
71 float top = sWindowRect.top - sCascadeOffset; in uncascade()
73 top = screenBorder.bottom - sWindowRect.Height() - sTopLeft.y; in uncascade()
[all …]