/dports/graphics/opendx/dx-4.4.4/src/uipp/widgets/ |
H A D | ControlField.c | 155 if(field->line[0]->erase_gc ==NULL) in ExposeCallback() 156 field->line[0]->erase_gc = in ExposeCallback() 161 if(field->line[1]->erase_gc ==NULL) in ExposeCallback() 162 field->line[1]->erase_gc = in ExposeCallback() 167 if(field->line[2]->erase_gc ==NULL) in ExposeCallback() 168 field->line[2]->erase_gc = in ExposeCallback() 197 if( field->map[i]->erase_gc == NULL ) in ExposeCallback() 198 field->map[i]->erase_gc = in ExposeCallback() 209 if( field->line[i]->erase_gc == NULL ) in ExposeCallback() 210 field->line[i]->erase_gc = in ExposeCallback()
|
H A D | ColorRGB.c | 26 DrawLine(field->line[0], field->line[0]->erase_gc); in SetRGBLines() 27 DrawLine(field->line[1], field->line[1]->erase_gc); in SetRGBLines() 28 DrawLine(field->line[2], field->line[2]->erase_gc); in SetRGBLines()
|
H A D | ControlPoint.c | 87 map->erase_gc = NULL; in CreateControlMap() 117 DrawControlBoxes(field->map[0], field->map[0]->erase_gc); in CMEAddControlPoint() 303 DrawControlBoxes(field->map[0], field->map[0]->erase_gc); in RemoveSelectedControlPoints() 721 DrawControlBoxes(map, map->erase_gc); in MapInput() 741 DrawControlBoxes(map, map->erase_gc); in MapInput() 742 DrawLine(map->line, map->line->erase_gc); in MapInput() 1001 DrawControlBoxes(map, map->erase_gc); in MapInput() 1002 DrawLine(map->line, map->line->erase_gc); in MapInput() 1143 XtWindow(map->field->w), map->erase_gc, box, 1); in DrawMultiPointGrabBoxes() 1637 cmew->color_map_editor.g.field[i]->map[0]->erase_gc); in LoadHardCodeDefaults() [all …]
|
H A D | ControlField.h | 74 GC erase_gc; /* GC for drawing lines */ member 107 GC erase_gc; /* GC for drawing lines */ member
|
/dports/x11/beforelight/beforelight-1.0.5/ |
H A D | b4light.c | 66 static GC gc, black_gc, erase_gc; variable 179 XSetForeground (display, erase_gc, black_pixel ^ old_pixels[history_tail]); in Erase() 180 XCopyPlane (display, old_pixmaps[history_tail], saver, erase_gc, in Erase() 380 erase_gc = XCreateGC (display, root, 0, NULL); in main() 381 XSetBackground (display, erase_gc, 0); in main() 382 XSetFunction (display, erase_gc, GXxor); in main() 383 XSetGraphicsExposures (display, erase_gc, False); in main()
|
/dports/x11/xlockmore/xlockmore-5.67/modes/ |
H A D | deluxe.c | 118 GC erase_gc; member 219 if (dlp->erase_gc != None) in free_deluxe_screen() 221 XFreeGC (dpy, dlp->erase_gc); in free_deluxe_screen() 222 dlp->erase_gc = None; in free_deluxe_screen() 439 dlp->erase_gc = 0; in init_deluxe() 528 dlp->erase_gc = XCreateGC (dpy, dlp->b, GCForeground, &gcv); in init_deluxe() 530 if ( dlp->ba) XFillRectangle (dpy, dlp->ba, dlp->erase_gc, 0, 0, in init_deluxe() 532 if ( dlp->bb) XFillRectangle (dpy, dlp->bb, dlp->erase_gc, 0, 0, in init_deluxe() 552 XFillRectangle (dpy, dlp->b, dlp->erase_gc, 0, 0, dlp->xgwa.width, in draw_deluxe() 574 XCopyArea (dpy, dlp->b, window, dlp->erase_gc, 0, 0, in draw_deluxe()
|
H A D | xcl.c | 161 GC erase_gc; member 294 if (dp->erase_gc != None) { in free_xcl_screen() 295 XFreeGC(display, dp->erase_gc); in free_xcl_screen() 296 dp->erase_gc = None; in free_xcl_screen() 392 if(dp->erase_gc == None) in init_xcl() 393 if (!get_GC(display, MI_WINDOW(mi), &(dp->erase_gc),dp->bg)) { in init_xcl() 459 if (dp->erase_gc == None) in draw_xcl() 478 XDrawSegments(MI_DISPLAY(mi),MI_WINDOW(mi),dp->erase_gc, in draw_xcl() 505 XDrawSegments(MI_DISPLAY(mi),MI_WINDOW(mi),dp->erase_gc, in draw_xcl()
|
/dports/x11/xscreensaver/xscreensaver-5.44/hacks/ |
H A D | squiral.c | 42 GC draw_gc, erase_gc; member 156 st->erase_gc = XCreateGC (st->dpy, st->window, GCForeground, &gcv); in squiral_init() 204 XDrawLine(st->dpy, st->window, st->erase_gc, 0, st->inclear, st->width-1, st->inclear); in squiral_draw() 206 XDrawLine(st->dpy, st->window, st->erase_gc, 0, st->height-st->inclear-1, st->width-1, in squiral_draw() 210 XDrawLine(st->dpy, st->window, st->erase_gc, 0, st->inclear, st->width-1, st->inclear); in squiral_draw() 213 XDrawLine(st->dpy, st->window, st->erase_gc, 0, st->height-st->inclear-1, st->width-1, in squiral_draw() 261 XFreeGC (dpy, st->erase_gc); in squiral_free()
|
H A D | penetrate.c | 97 GC draw_gc, erase_gc, level_gc; member 456 XFillRectangle(st->dpy, st->window, st->erase_gc, in DrawScore() 463 XFillRectangle(st->dpy, st->window, st->erase_gc, in DrawScore() 565 XSetLineAttributes(st->dpy, st->erase_gc, 4, 0,0,0); in LoopMissiles() 595 XDrawLine(st->dpy, st->window, st->erase_gc, in LoopLasers() 648 XDrawLine(st->dpy, st->window, st->erase_gc, in LoopLasers() 745 XFillRectangle(st->dpy, st->window, st->erase_gc, in NewLevel() 767 XFillRectangle(st->dpy, st->window, st->erase_gc, in NewLevel() 822 XFillRectangle(st->dpy, st->window, st->erase_gc, in NewLevel() 848 XFillRectangle(st->dpy, st->window, st->erase_gc, in NewLevel() [all …]
|
H A D | halo.c | 45 GC draw_gc, erase_gc, copy_gc, merge_gc; member 184 st->erase_gc = XCreateGC (st->dpy, st->pixmap, GCForeground, &gcv); in halo_init() 191 jwxyz_XSetAntiAliasing (dpy, st->erase_gc, False); in halo_init() 214 if (st->buffer) XFillRectangle (st->dpy, st->buffer, st->erase_gc, 0, 0, st->width, st->height); in halo_init() 227 XFillRectangle (st->dpy, st->pixmap, st->erase_gc, 0, 0, st->width, st->height); in halo_draw() 355 XFillRectangle (st->dpy, st->buffer, st->erase_gc, 0, 0, st->width, st->height); in halo_draw() 388 … if (st->buffer) XFillRectangle (st->dpy, st->buffer, st->erase_gc, 0,0,st->width,st->height); in halo_draw() 443 XFreeGC (dpy, st->erase_gc); in halo_free()
|
H A D | coral.c | 22 GC draw_gc, erase_gc; member 77 if (st->erase_gc) XFreeGC (st->dpy, st->erase_gc); in init_coral() 78 st->erase_gc = XCreateGC (st->dpy, st->window, GCForeground, &gcv); in init_coral() 289 XFreeGC (dpy, st->erase_gc); in coral_free()
|
H A D | attraction.c | 146 GC draw_gc, erase_gc; member 345 jwxyz_XSetAntiAliasing (dpy, st->erase_gc, False); in attraction_init() 521 XDrawRectangle(dpy,window,st->erase_gc,x1+(h+2)/2,y,w1,h); in draw_meter_x() 573 XDrawRectangle(dpy,window,st->erase_gc,x,y1+(w+2)/2,w,h1); in draw_meter_y() 606 XDrawRectangle(dpy,window,st->erase_gc,x1,y,w1,h); in draw_meter_speed() 838 XFillArc (dpy, window, st->erase_gc, (int) old_x, (int) old_y, in attraction_draw() 878 XDrawLines (dpy, window, st->erase_gc, st->point_stack + st->point_stack_fp, in attraction_draw() 885 XFillPolygon (dpy, window, st->erase_gc, st->point_stack + st->point_stack_fp, in attraction_draw() 903 XDrawLine (dpy, window, st->erase_gc, in attraction_draw() 912 XDrawLine (dpy, window, st->erase_gc, in attraction_draw() [all …]
|
H A D | qix.c | 42 GC draw_gc, erase_gc; member 307 st->draw_gc = st->erase_gc = XCreateGC(st->dpy,st->window,GCForeground|GCFunction,&gcv); in qix_init() 317 st->erase_gc = XCreateGC (st->dpy, st->window, GCForeground, &gcv); in qix_init() 334 jwxyz_XSetAntiAliasing (st->dpy, st->erase_gc, False); in qix_init() 365 : st->erase_gc), in free_qline() 382 : st->erase_gc), in free_qline() 588 if (st->erase_gc && st->draw_gc != st->erase_gc) in qix_free() 589 free (st->erase_gc); in qix_free()
|
H A D | fps.c | 59 st->erase_gc = XCreateGC (dpy, window, GCFont|GCForeground, &gcv); in fps_init() 88 if (st->erase_gc) XFreeGC (st->dpy, st->erase_gc); in fps_free() 276 XFillRectangle (st->dpy, st->window, st->erase_gc, in fps_draw()
|
H A D | moire2.c | 26 GC copy_gc, erase_gc, window_gc; member 164 if (st->erase_gc) XFreeGC(st->dpy, st->erase_gc); in reset_moire2() 165 st->erase_gc = XCreateGC (st->dpy, st->p0, GCForeground, &gcv); in reset_moire2() 206 XFillRectangle(st->dpy, st->p0, st->erase_gc, 0, 0, st->width, st->height); in moire2() 325 XFreeGC (dpy, st->erase_gc); in moire2_free()
|
H A D | pyro.c | 41 GC draw_gc, erase_gc; member 201 st->erase_gc = XCreateGC (st->dpy, st->window, GCForeground, &gcv); in pyro_init() 257 XDrawPoint (st->dpy, st->window, st->erase_gc, old_x, old_y); in pyro_draw() 259 XFillRectangle (st->dpy, st->window, st->erase_gc, old_x, old_y, in pyro_draw() 344 XFreeGC (dpy, st->erase_gc); in pyro_free()
|
H A D | deluxe.c | 36 GC erase_gc; member 359 st->erase_gc = XCreateGC (st->dpy, st->b, GCForeground, &gcv); in deluxe_init() 361 if (st->ba) XFillRectangle (st->dpy, st->ba, st->erase_gc, 0, 0, st->xgwa.width, st->xgwa.height); in deluxe_init() 362 if (st->bb) XFillRectangle (st->dpy, st->bb, st->erase_gc, 0, 0, st->xgwa.width, st->xgwa.height); in deluxe_init() 375 XFillRectangle (st->dpy, st->b, st->erase_gc, 0, 0, st->xgwa.width, st->xgwa.height); in deluxe_draw() 394 XCopyArea (st->dpy, st->b, st->window, st->erase_gc, 0, 0, in deluxe_draw() 428 XFreeGC (dpy, st->erase_gc); in deluxe_free()
|
H A D | fluidballs.c | 49 GC erase_gc; member 96 XFillRectangle (state->dpy, state->b, state->erase_gc, in draw_fps_string() 147 XFillRectangle (state->dpy, state->ba, state->erase_gc, 0, 0, in check_window_moved() 158 XFillRectangle (state->dpy, state->b, state->erase_gc, in check_window_moved() 280 state->erase_gc = XCreateGC (state->dpy, state->b, in fluidballs_init() 285 XFillRectangle (state->dpy, state->ba, state->erase_gc, 0, 0, in fluidballs_init() 531 gc = state->erase_gc; in repaint_balls() 581 XCopyArea (state->dpy, state->b, state->window, state->erase_gc, in repaint_balls() 805 XFreeGC (dpy, state->erase_gc); in fluidballs_free()
|
H A D | bubbles.c | 128 GC draw_gc, erase_gc; member 560 XDrawArc(st->dpy, st->window, st->erase_gc, (bb->x - bb->radius), in hide_bubble() 566 XSetClipOrigin(st->dpy, st->step_pixmaps[bb->step]->erase_gc, in hide_bubble() 569 XFillRectangle(st->dpy, st->window, st->step_pixmaps[bb->step]->erase_gc, in hide_bubble() 1203 bl->erase_gc = XCreateGC (st->dpy, st->window, GCForeground, &gcv); in make_pixmap_from_default() 1204 XSetClipMask(st->dpy, bl->erase_gc, bl->shape_mask); in make_pixmap_from_default() 1396 st->erase_gc = XCreateGC (st->dpy, st->window, GCForeground, &gcv); in bubbles_init() 1441 if (b->erase_gc) XFreeGC (dpy, b->erase_gc); in free_bubble() 1463 if (st->erase_gc) XFreeGC (dpy, st->erase_gc); in bubbles_free()
|
H A D | rocks.c | 56 GC erase_gc; member 164 ? (st->threed ? st->erase_gc : st->draw_gcs[rock->color]) in rock_draw() 165 : st->erase_gc); in rock_draw() 450 st->erase_gc = XCreateGC (st->dpy, st->window, GCForeground|GCBackground, &gcv); in rocks_init() 478 XSetGraphicsExposures (st->dpy, st->erase_gc, False); in rocks_init() 514 XFreeGC (dpy, st->erase_gc); in rocks_free()
|
H A D | kaleidescope.c | 69 GC erase_gc; member 284 …XDrawSegments(g->dpy, g->window, g->erase_gc, ((Ksegment *)obj->cur)->next->xsegments, g->symmetry… in draw_ksegment() 434 g->erase_gc = XCreateGC (g->dpy, g->window, GCForeground|GCLineWidth|GCCapStyle,&gcv); in init_g() 438 jwxyz_XSetAntiAliasing (g->dpy, g->erase_gc, False); in init_g() 501 XFreeGC (dpy, g->erase_gc); in kaleidescope_free()
|
H A D | hyperball.c | 338 GC erase_gc; in hyperball_draw() local 357 erase_gc = hs->hs_color_gcs[0][0]; in hyperball_draw() 366 erase_gc = hs->black_gc; in hyperball_draw() 370 if (!redraw && erase_gc) in hyperball_draw() 376 XDrawLine (dpy, win, erase_gc, p_x, p_y, q_x, q_y); in hyperball_draw()
|
H A D | fpsI.h | 31 GC draw_gc, erase_gc; member
|
H A D | hypercube.c | 355 GC erase_gc; in hypercube_draw() local 376 erase_gc = hs->hs_color_gcs[0]; in hypercube_draw() 381 erase_gc = hs->black_gc; in hypercube_draw() 391 XDrawLine (dpy, win, erase_gc, p_x, p_y, q_x, q_y); in hypercube_draw()
|
H A D | memscroller.c | 41 GC draw_gc, erase_gc, text_gc; member 121 st->erase_gc = XCreateGC (st->dpy, st->window, in memscroller_init() 478 XFillRectangle (st->dpy, st->window, st->erase_gc, in draw_string() 566 XFreeGC (dpy, st->erase_gc); in memscroller_free()
|