| 967 | } |
| 968 | |
| 969 | static Boolean |
| 970 | in_topl_mode(void) |
| 971 | { |
| 972 | Rect rect; |
| 973 | |
| 974 | GetWindowBounds(theWindows[WIN_MESSAGE].its_window, kWindowContentRgn, |
| 975 | &rect); |
| 976 | OffsetRect(&rect, -rect.left, -rect.top); |
| 977 | return (WIN_MESSAGE != WIN_ERR && top_line |
| 978 | && (*top_line)->viewRect.left < rect.right); |
| 979 | } |
| 980 | |
| 981 | #define BTN_IND 2 |
| 982 | #define BTN_W 40 |
no outgoing calls
no test coverage detected