shithub: scripts

ref: 2c27c3c16d0d97e89f2d121f3fa78b9ffe8cd969
dir: /patches/vtg.patch/

View raw version
diff a/main.c b/main.c
326a327,328
> 	ulong MyGreen = 0x00ee1aff;
> 
328c330
< 	green = allocimage(display, Rect(0,0,1,1), screen->chan, 1, DGreen);
---
> 	green = allocimage(display, Rect(0,0,1,1), screen->chan, 1, MyGreen);
338,341c340,343
< 	bgcolor = (blkbg? display->black: display->white);
< 	fgcolor = (blkbg? display->white: display->black);
< 	bgselected = allocimage(display, Rect(0,0,1,1), CMAP8, 1, blkbg ? 0x333333FF : 0xCCCCCCFF);
< 	fgselected = allocimage(display, Rect(0,0,1,1), CMAP8, 1, blkbg ? 0xCCCCCCFF : 0x333333FF);
---
> 	bgcolor = (blkbg? display->black: display->black);
> 	fgcolor = (blkbg? green: green);
> 	bgselected = allocimage(display, Rect(0,0,1,1), CMAP8, 1, blkbg ? MyGreen : MyGreen);
> 	fgselected = allocimage(display, Rect(0,0,1,1), CMAP8, 1, blkbg ? DBlack : DBlack);
diff a/mkfile b/mkfile
3c3
< TARG=vt
---
> TARG=vtg