Lines Matching +refs:region +refs:active +refs:p

346   Timeout** p = &first_timeout;  in repeat_timeout()  local
347 while (*p && (*p)->time <= time) p = &((*p)->next); in repeat_timeout()
348 t->next = *p; in repeat_timeout()
349 *p = t; in repeat_timeout()
369 for (Timeout** p = &first_timeout; *p;) { in remove_timeout() local
370 Timeout* t = *p; in remove_timeout()
372 *p = t->next; in remove_timeout()
376 p = &(t->next); in remove_timeout()
445 for (Check** p = &first_check; *p;) { in remove_check() local
446 Check* t = *p; in remove_check()
449 *p = t->next; in remove_check()
453 p = &(t->next); in remove_check()
462 for (Check** p = &first_check; *p;) { in has_check() local
463 Check* t = *p; in has_check()
467 p = &(t->next); in has_check()
810 if (i->region) {XDestroyRegion(i->region); i->region = 0;} in flush()
875 handler_link *l, *p; in remove_handler() local
878 for (l = handlers, p = 0; l && l->handle != ha; p = l, l = l->next) {/*empty*/} in remove_handler()
882 if (p) p->next = l->next; in remove_handler()
951 system_handler_link *l, *p; in remove_system_handler() local
954 for (l = sys_handlers, p = 0; l && l->handle != ha; p = l, l = l->next); in remove_system_handler()
958 if (p) p->next = l->next; in remove_system_handler()
994 Fl_Widget *p = focus_; in focus() local
995 if (o != p) { in focus()
1026 for (; p; p = p->parent()) { in focus()
1027 p->handle(FL_UNFOCUS); in focus()
1028 fl_oldfocus = p; in focus()
1052 Fl_Widget *p = belowmouse_; in belowmouse() local
1053 if (o != p) { in belowmouse()
1057 for (; p && !p->contains(o); p = p->parent()) { in belowmouse()
1058 p->handle(e_number); in belowmouse()
1194 if (wi->active()) { in find_active()
1639 if (ip->region) XDestroyRegion(ip->region); in hide()
1649 HWND p = GetForegroundWindow(); in hide() local
1650 if (p==GetParent(ip->xid)) { in hide()
1652 ShowWindow(p, SW_SHOWNA); in hide()
1714 Fl_Widget* p = parent(); for (;p->visible();p = p->parent()) {} in handle() local
1715 if (p->type() >= FL_WINDOW) break; // don't do the unmap in handle()
1855 if (i->region) {XDestroyRegion(i->region); i->region = 0;} in damage()
1888 if (i->region) { in damage()
1892 XUnionRectWithRegion(&R, i->region, i->region); in damage()
1895 CombineRgn(i->region, i->region, R, RGN_OR); in damage()
1900 for(j = 0; j < i->region->count; j++) { in damage()
1901 if(CGRectContainsRect(i->region->rects[j], arg)) break; in damage()
1903 if( j >= i->region->count) { in damage()
1904 … i->region->rects = (CGRect*)realloc(i->region->rects, (++(i->region->count)) * sizeof(CGRect)); in damage()
1905 i->region->rects[i->region->count - 1] = arg; in damage()
1914 if (i->region) XDestroyRegion(i->region); in damage()
1915 i->region = XRectangleRegion(X,Y,W,H); in damage()
1924 fl_clip_region(i->region); i->region = 0; in flush()