Lines Matching refs:BW
54 #define QueryInSquare(BW, x, y, square_x, square_y)\
55 ((InBitmapX(BW, x) == (square_x)) &&\
56 (InBitmapY(BW, y) == (square_y)))
66 BitmapWidget BW = (BitmapWidget) w;
76 status->value = Value(BW, event->xbutton.button);
78 status->at_x = InBitmapX(BW, event->xbutton.x);
79 status->at_y = InBitmapY(BW, event->xbutton.y);
89 status->value = Value(BW, event->xbutton.button);
91 status->at_x = InBitmapX(BW, event->xbutton.x);
92 status->at_y = InBitmapY(BW, event->xbutton.y);
101 if (!QueryInSquare(BW, event->xmotion.x, event->xmotion.y,
103 status->at_x = InBitmapX(BW, event->xmotion.x);
104 status->at_y = InBitmapY(BW, event->xmotion.y);
158 BitmapWidget BW = (BitmapWidget) w;
180 status->value = Value(BW, event->xbutton.button);
182 status->at_x = InBitmapX(BW, event->xbutton.x);
183 status->at_y = InBitmapY(BW, event->xbutton.y);
196 status->value = Value(BW, event->xbutton.button);
198 status->at_x = InBitmapX(BW, event->xbutton.x);
199 status->at_y = InBitmapY(BW, event->xbutton.y);
208 if (!QueryInSquare(BW, event->xmotion.x, event->xmotion.y,
213 status->at_x = InBitmapX(BW, event->xmotion.x);
214 status->at_y = InBitmapY(BW, event->xmotion.y);
322 BitmapWidget BW = (BitmapWidget) w;
345 status->value = Value(BW, event->xbutton.button);
347 status->from_x = InBitmapX(BW, event->xbutton.x);
348 status->from_y = InBitmapY(BW, event->xbutton.y);
349 status->to_x = InBitmapX(BW, event->xbutton.x);
350 status->to_y = InBitmapY(BW, event->xbutton.y);
364 status->value = Value(BW, event->xbutton.button);
366 status->to_x = InBitmapX(BW, event->xbutton.x);
367 status->to_y = InBitmapY(BW, event->xbutton.y);
377 if (!QueryInSquare(BW, event->xmotion.x, event->xmotion.y,
383 status->to_x = InBitmapX(BW, event->xmotion.x);
384 status->to_y = InBitmapY(BW, event->xmotion.y);
392 status->to_x = InBitmapX(BW, event->xmotion.x);
393 status->to_y = InBitmapY(BW, event->xmotion.y);
519 BitmapWidget BW = (BitmapWidget) w;
524 BW->bitmap.request_stack[BW->bitmap.current].status;
529 BW->bitmap.request_stack[BW->bitmap.current].request->terminate_client_data;
533 if ((at_x == max(BW->bitmap.mark.from_x, min(at_x, BW->bitmap.mark.to_x)))
535 (at_y == max(BW->bitmap.mark.from_y, min(at_y, BW->bitmap.mark.to_y)))) {
545 BW->bitmap.request_stack[BW->bitmap.current].status;
559 BW->bitmap.request_stack[BW->bitmap.current].status;
575 BitmapWidget BW = (BitmapWidget) w;
587 status->value = Value(BW, event->xbutton.button);
589 status->from_x = InBitmapX(BW, event->xbutton.x);
590 status->from_y = InBitmapY(BW, event->xbutton.y);
591 status->to_x = InBitmapX(BW, event->xbutton.x);
592 status->to_y = InBitmapY(BW, event->xbutton.y);
603 status->value = Value(BW, event->xbutton.button);
607 status->to_x = InBitmapX(BW, event->xbutton.x);
608 status->to_y = InBitmapY(BW, event->xbutton.y);
618 if (!QueryInSquare(BW, event->xmotion.x, event->xmotion.y,
622 status->to_x = InBitmapX(BW, event->xmotion.x);
623 status->to_y = InBitmapY(BW, event->xmotion.y);