| 983 | #define BTN_H (SBARHEIGHT - 3) |
| 984 | |
| 985 | static void |
| 986 | topl_resp_rect(int resp_idx, Rect *r) |
| 987 | { |
| 988 | Rect rect; |
| 989 | |
| 990 | GetWindowBounds(theWindows[WIN_MESSAGE].its_window, kWindowContentRgn, |
| 991 | &rect); |
| 992 | OffsetRect(&rect, -rect.left, -rect.top); |
| 993 | r->left = (BTN_IND + BTN_W) * resp_idx + BTN_IND; |
| 994 | r->right = r->left + BTN_W; |
| 995 | r->bottom = rect.bottom - 1; |
| 996 | r->top = r->bottom - BTN_H; |
| 997 | return; |
| 998 | } |
| 999 | |
| 1000 | void |
| 1001 | enter_topl_mode(char *query) |
no outgoing calls
no test coverage detected