shithub: scripts

ref: 2ebee720a8af84e6f1a4d4e390f723526553b5e0
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