/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/irqchip/ |
H A D | irq-atmel-aic5.c | 96 irq_gc_lock(bgc); in aic5_mask() 100 irq_gc_unlock(bgc); in aic5_mask() 113 irq_gc_lock(bgc); in aic5_unmask() 117 irq_gc_unlock(bgc); in aic5_unmask() 126 irq_gc_lock(bgc); in aic5_retrigger() 129 irq_gc_unlock(bgc); in aic5_retrigger() 141 irq_gc_lock(bgc); in aic5_set_type() 170 irq_gc_lock(bgc); in aic5_suspend() 194 irq_gc_lock(bgc); in aic5_resume() 229 irq_gc_lock(bgc); in aic5_pm_shutdown() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/irqchip/ |
H A D | irq-atmel-aic5.c | 96 irq_gc_lock(bgc); in aic5_mask() 100 irq_gc_unlock(bgc); in aic5_mask() 113 irq_gc_lock(bgc); in aic5_unmask() 117 irq_gc_unlock(bgc); in aic5_unmask() 126 irq_gc_lock(bgc); in aic5_retrigger() 129 irq_gc_unlock(bgc); in aic5_retrigger() 141 irq_gc_lock(bgc); in aic5_set_type() 170 irq_gc_lock(bgc); in aic5_suspend() 194 irq_gc_lock(bgc); in aic5_resume() 229 irq_gc_lock(bgc); in aic5_pm_shutdown() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/irqchip/ |
H A D | irq-atmel-aic5.c | 96 irq_gc_lock(bgc); in aic5_mask() 100 irq_gc_unlock(bgc); in aic5_mask() 113 irq_gc_lock(bgc); in aic5_unmask() 117 irq_gc_unlock(bgc); in aic5_unmask() 126 irq_gc_lock(bgc); in aic5_retrigger() 129 irq_gc_unlock(bgc); in aic5_retrigger() 141 irq_gc_lock(bgc); in aic5_set_type() 170 irq_gc_lock(bgc); in aic5_suspend() 194 irq_gc_lock(bgc); in aic5_resume() 229 irq_gc_lock(bgc); in aic5_pm_shutdown() [all …]
|
/dports/chinese/tintin++/tt/src/ |
H A D | log.c | 361 int vtc, fgc, bgc, cnt; in vt102_to_html() local 366 bgc = ses->bgc; in vt102_to_html() 453 bgc = 0; in vt102_to_html() 506 bgc = 0; in vt102_to_html() 554 bgc = ses->bgc = cnt; in vt102_to_html() 557 if (bgc != ses->bgc || fgc != ses->fgc || vtc != ses->vtc) in vt102_to_html() 562 if (bgc != ses->bgc) in vt102_to_html() 566 if (bgc < 16) in vt102_to_html() 572 …span><span style='background-color: #%c%c%c'>", xtc[(bgc-16) / 36], xtc[(bgc-16) % 36 / 6], xtc[(b… in vt102_to_html() 627 bgc = ses->bgc = cnt; in vt102_to_html() [all …]
|
/dports/net/tintin++/tt/src/ |
H A D | log.c | 361 int vtc, fgc, bgc, cnt; in vt102_to_html() local 366 bgc = ses->bgc; in vt102_to_html() 453 bgc = 0; in vt102_to_html() 506 bgc = 0; in vt102_to_html() 554 bgc = ses->bgc = cnt; in vt102_to_html() 557 if (bgc != ses->bgc || fgc != ses->fgc || vtc != ses->vtc) in vt102_to_html() 562 if (bgc != ses->bgc) in vt102_to_html() 566 if (bgc < 16) in vt102_to_html() 572 …span><span style='background-color: #%c%c%c'>", xtc[(bgc-16) / 36], xtc[(bgc-16) % 36 / 6], xtc[(b… in vt102_to_html() 627 bgc = ses->bgc = cnt; in vt102_to_html() [all …]
|
/dports/graphics/grx/grx249/test/ |
H A D | scroltst.c | 36 GrColor bgc = GrAllocColor(0,0,128); in TESTFUNC() local 45 GrClearScreen(bgc); in TESTFUNC() 46 drawing(0,0,vw,vh,fgc,bgc); in TESTFUNC() 47 sprintf(buff,l1,wdt,hgt); GrTextXY(x,y,buff,txc,bgc); y += txh; in TESTFUNC() 48 sprintf(buff,l2,vw, vh ); GrTextXY(x,y,buff,txc,bgc); y += txh; in TESTFUNC() 53 sprintf(buff,l3,vx,vy); GrTextXY(x,yy,buff,txc,bgc); yy += txh; in TESTFUNC() 54 GrTextXY(x,yy,l4,txc,bgc); yy += txh; in TESTFUNC() 55 GrTextXY(x,yy,l5,txc,bgc); yy += txh; in TESTFUNC() 56 GrTextXY(x,yy,l6,txc,bgc); yy += txh; in TESTFUNC()
|
H A D | mousetst.c | 28 GrColor bgc = GrAllocColor(0,0,128); in TESTFUNC() local 38 GrClearScreen(bgc); in TESTFUNC() 45 bgc in TESTFUNC() 49 drawing(ii,ii,(GrSizeX() - 20),(GrSizeY() - 20),((fgc ^ bgc) | GrXOR),GrNOCOLOR); in TESTFUNC() 75 GrTextXY(10,(GrScreenY() - 40),msg,GrWhite(),bgc); in TESTFUNC() 85 GrMouseSetCursorMode(GR_M_CUR_RUBBER,evt.x,evt.y,GrWhite() ^ bgc); in TESTFUNC() 88 GrMouseSetCursorMode(GR_M_CUR_LINE,evt.x,evt.y,GrWhite() ^ bgc); in TESTFUNC() 91 GrMouseSetCursorMode(GR_M_CUR_BOX,-20,-10,20,10,GrWhite() ^ bgc); in TESTFUNC() 103 GrClearScreen(bgc); in TESTFUNC() 110 bgc in TESTFUNC()
|
/dports/graphics/aloadimage/arcan-0.6.1/tests/frameservers/tui_test/ |
H A D | tui_test.c | 30 int fgc, bgc; in redraw() member 36 .bgc = TUI_COL_SECONDARY, in redraw() 41 .bgc = TUI_COL_BG in redraw() 50 .bgc = TUI_COL_CURSOR in redraw() 55 .bgc = TUI_COL_ALTCURSOR in redraw() 60 .bgc = TUI_COL_HIGHLIGHT, in redraw() 65 .bgc = TUI_COL_LABEL, in redraw() 70 .bgc = TUI_COL_WARNING, in redraw() 75 .bgc = TUI_COL_ERROR, in redraw() 80 .bgc = TUI_COL_ALERT, in redraw() [all …]
|
/dports/sysutils/acfgfs/arcan-0.6.1/tests/frameservers/tui_test/ |
H A D | tui_test.c | 30 int fgc, bgc; in redraw() member 36 .bgc = TUI_COL_SECONDARY, in redraw() 41 .bgc = TUI_COL_BG in redraw() 50 .bgc = TUI_COL_CURSOR in redraw() 55 .bgc = TUI_COL_ALTCURSOR in redraw() 60 .bgc = TUI_COL_HIGHLIGHT, in redraw() 65 .bgc = TUI_COL_LABEL, in redraw() 70 .bgc = TUI_COL_WARNING, in redraw() 75 .bgc = TUI_COL_ERROR, in redraw() 80 .bgc = TUI_COL_ALERT, in redraw() [all …]
|
/dports/x11/aclip/arcan-0.6.1/tests/frameservers/tui_test/ |
H A D | tui_test.c | 30 int fgc, bgc; in query_label() 36 .bgc = TUI_COL_SECONDARY, 41 .bgc = TUI_COL_BG in fill() 50 .bgc = TUI_COL_CURSOR in on_label() 55 .bgc = TUI_COL_ALTCURSOR 60 .bgc = TUI_COL_HIGHLIGHT, in on_mouse() 65 .bgc = TUI_COL_LABEL, in on_key() 70 .bgc = TUI_COL_WARNING, in on_key() 75 .bgc = TUI_COL_ERROR, 80 .bgc = TUI_COL_ALERT, in on_misc() [all …]
|
/dports/x11/arcan-trayicon/arcan-0.6.1/tests/frameservers/tui_test/ |
H A D | tui_test.c | 30 int fgc, bgc; in redraw() member 36 .bgc = TUI_COL_SECONDARY, in redraw() 41 .bgc = TUI_COL_BG in redraw() 50 .bgc = TUI_COL_CURSOR in redraw() 55 .bgc = TUI_COL_ALTCURSOR in redraw() 60 .bgc = TUI_COL_HIGHLIGHT, in redraw() 65 .bgc = TUI_COL_LABEL, in redraw() 70 .bgc = TUI_COL_WARNING, in redraw() 75 .bgc = TUI_COL_ERROR, in redraw() 80 .bgc = TUI_COL_ALERT, in redraw() [all …]
|
/dports/x11-wm/durden/durden-0.6.1/durden/shaders/simple/ |
H A D | crop.lua | 1 local bgc = gconfig_get("term_bgcol"); 12 default = {bgc[1], bgc[2], bgc[3], gconfig_get("term_opa")}
|
/dports/print/fontforge/fontforge-20201107/tests/ |
H A D | test1014.py | 38 bgc = fontforge.contour(False) variable 39 bgc.closed = True 40 bgc[:] = ((1,1),) 41 assert glyph.background[0] == bgc, 'Background contour matches expected contour' 42 assert list(glyph.background[0]) == list(bgc), 'Foreground contour points matches expected contour …
|
/dports/x11/xscreensaver/xscreensaver-5.44/hacks/ |
H A D | greynetic.c | 190 XColor fgc, bgc; in greynetic_draw() local 193 fgc.flags = bgc.flags = DoRed|DoGreen|DoBlue; in greynetic_draw() 198 bgc.red = random (); in greynetic_draw() 199 bgc.green = random (); in greynetic_draw() 200 bgc.blue = random (); in greynetic_draw() 206 bgc.green = bgc.blue = bgc.red; in greynetic_draw() 214 if (! XAllocColor (st->dpy, st->cmap, &bgc)) in greynetic_draw() 216 st->pixels [st->npixels++] = bgc.pixel; in greynetic_draw() 217 gcv.background = bgc.pixel; in greynetic_draw()
|
H A D | moire.c | 46 XColor fgc, bgc; in moire_init_1() local 88 fgc.flags = bgc.flags = DoRed|DoGreen|DoBlue; in moire_init_1() 94 bgc.red = random() & 0xFFFF; in moire_init_1() 95 bgc.green = random() & 0xFFFF; in moire_init_1() 96 bgc.blue = random() & 0xFFFF; in moire_init_1() 101 bgc.pixel = st->bg_pixel; in moire_init_1() 103 XQueryColor (st->dpy, xgwa.colormap, &bgc); in moire_init_1() 106 rgb_to_hsv (bgc.red, bgc.green, bgc.blue, &bgh, &bgs, &bgv); in moire_init_1()
|
H A D | deco.c | 41 GC fgc, bgc; member 168 XSetForeground(dpy, st->bgc, st->colors[st->current_color].pixel); in deco() 170 XFillRectangle (dpy, window, st->bgc, x, y, w, h); in deco() 224 st->bgc = XCreateGC (dpy, window, GCForeground, &gcv); in deco_init() 232 st->fgc = st->bgc; in deco_init() 233 st->bgc = tmp; in deco_init() 268 XFillRectangle (dpy, window, st->bgc, 0, 0, st->xgwa.width, st->xgwa.height); in deco_draw() 301 XFreeGC (dpy, st->bgc); in deco_free()
|
/dports/graphics/aloadimage/arcan-0.6.1/src/shmif/tui/widgets/ |
H A D | copywnd.c | 35 uint8_t bgc[3]; member 177 ctx->bgc[0] = color_palette[ctx->color_index][0]; in copywnd_color() 178 ctx->bgc[1] = color_palette[ctx->color_index][1]; in copywnd_color() 179 ctx->bgc[2] = color_palette[ctx->color_index][2]; in copywnd_color() 180 c->colors[TUI_COL_CURSOR].rgb[0] = ctx->bgc[0]; in copywnd_color() 181 c->colors[TUI_COL_CURSOR].rgb[1] = ctx->bgc[1]; in copywnd_color() 182 c->colors[TUI_COL_CURSOR].rgb[2] = ctx->bgc[2]; in copywnd_color() 256 ctx->bgc[0] = attr.bc[0]; in copywnd_key() 257 ctx->bgc[1] = attr.bc[1]; in copywnd_key() 258 ctx->bgc[2] = attr.bc[2]; in copywnd_key() [all …]
|
/dports/sysutils/acfgfs/arcan-0.6.1/src/shmif/tui/widgets/ |
H A D | copywnd.c | 35 uint8_t bgc[3]; member 177 ctx->bgc[0] = color_palette[ctx->color_index][0]; in copywnd_color() 178 ctx->bgc[1] = color_palette[ctx->color_index][1]; in copywnd_color() 179 ctx->bgc[2] = color_palette[ctx->color_index][2]; in copywnd_color() 180 c->colors[TUI_COL_CURSOR].rgb[0] = ctx->bgc[0]; in copywnd_color() 181 c->colors[TUI_COL_CURSOR].rgb[1] = ctx->bgc[1]; in copywnd_color() 182 c->colors[TUI_COL_CURSOR].rgb[2] = ctx->bgc[2]; in copywnd_color() 256 ctx->bgc[0] = attr.bc[0]; in copywnd_key() 257 ctx->bgc[1] = attr.bc[1]; in copywnd_key() 258 ctx->bgc[2] = attr.bc[2]; in copywnd_key() [all …]
|
/dports/x11/arcan-trayicon/arcan-0.6.1/src/shmif/tui/widgets/ |
H A D | copywnd.c | 35 uint8_t bgc[3]; member 177 ctx->bgc[0] = color_palette[ctx->color_index][0]; in copywnd_color() 178 ctx->bgc[1] = color_palette[ctx->color_index][1]; in copywnd_color() 179 ctx->bgc[2] = color_palette[ctx->color_index][2]; in copywnd_color() 180 c->colors[TUI_COL_CURSOR].rgb[0] = ctx->bgc[0]; in copywnd_color() 181 c->colors[TUI_COL_CURSOR].rgb[1] = ctx->bgc[1]; in copywnd_color() 182 c->colors[TUI_COL_CURSOR].rgb[2] = ctx->bgc[2]; in copywnd_color() 256 ctx->bgc[0] = attr.bc[0]; in copywnd_key() 257 ctx->bgc[1] = attr.bc[1]; in copywnd_key() 258 ctx->bgc[2] = attr.bc[2]; in copywnd_key() [all …]
|
/dports/x11/aclip/arcan-0.6.1/src/shmif/tui/widgets/ |
H A D | copywnd.c | 35 uint8_t bgc[3]; member 177 ctx->bgc[0] = color_palette[ctx->color_index][0]; in copywnd_color() 178 ctx->bgc[1] = color_palette[ctx->color_index][1]; in copywnd_color() 179 ctx->bgc[2] = color_palette[ctx->color_index][2]; in copywnd_color() 180 c->colors[TUI_COL_CURSOR].rgb[0] = ctx->bgc[0]; in copywnd_color() 181 c->colors[TUI_COL_CURSOR].rgb[1] = ctx->bgc[1]; in copywnd_color() 182 c->colors[TUI_COL_CURSOR].rgb[2] = ctx->bgc[2]; in copywnd_color() 256 ctx->bgc[0] = attr.bc[0]; in copywnd_key() 257 ctx->bgc[1] = attr.bc[1]; in copywnd_key() 258 ctx->bgc[2] = attr.bc[2]; in copywnd_key() [all …]
|
/dports/audio/mixxx/mixxx-2.3.0/src/widget/ |
H A D | wcoverart.cpp | 66 QColor bgc(255,255,255); in setup() local 69 bgc.setNamedColor(bgColorStr); in setup() 73 pal.setBrush(backgroundRole(), WSkinColor::getCorrectColor(bgc)); in setup() 81 bgc = WSkinColor::getCorrectColor(bgc); in setup() 82 m_fgc = QColor(255 - bgc.red(), 255 - bgc.green(), 255 - bgc.blue()); in setup()
|
/dports/irc/irssi-scripts/irssi-scripts/scripts/ |
H A D | log2ansi.pl | 66 $attr->{fgc} = $attr->{bgc} = -1; 143 $attr{bgc} = $mc[$1 % 16]; 146 $attr{bgc} = -1; 187 $attr{bgc} = $ic[$b]; 222 $a{bgc} = $code - 40; 233 if ($a{bgc} >= 0 && $a{blink}) {
|
/dports/audio/py-zita-jacktools/zita-jacktools-1.5.3/examples/JackMatrix/ |
H A D | globdef.py | 54 bgc = QtGui.QColor (60, 60, 60) 59 pal.setColor(pal.Window, bgc) 60 pal.setColor(pal.Button, bgc) 61 pal.setColor(pal.Base, bgc)
|
/dports/games/xcheckers/xcheckers-2.2.3/xcheckers.src/ |
H A D | status.c | 26 GC bgc; /* foreground and background reversed */ variable 35 XFillRectangle(dpy, spix, bgc, 0, 0, board_width, status_height); in drawStatus() 62 bgc = XCreateGC(dpy, swin, 0, NULL); in initStatus() 63 XSetForeground(dpy, bgc, paper); in initStatus() 64 XSetBackground(dpy, bgc, pen); in initStatus()
|
/dports/irc/konversation/konversation-21.12.3/src/viewer/ |
H A D | irccolorchooser.cpp | 53 QColor bgc; in updatePreview() local 57 bgc = Preferences::self()->ircColorCode(m_ui.m_bgColorCBox->currentIndex() - 1); in updatePreview() 61 bgc = Preferences::self()->color(Preferences::TextViewBackground); in updatePreview() 65 p.setColor(backgroundRole(), bgc); in updatePreview()
|