shithub: scripts

ref: 3519f1d58ff78407227adb5a3a202d7a4e626a93
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