377
378
379
380
381
382
383
384
385
386
387
388
389
390
|
if( skin_detail_boolean("white-foreground") ){
pikFlags |= 0x02; /* PIKCHR_DARK_MODE */
}
zPikVar = skin_detail("pikchr-foreground");
if( zPikVar && zPikVar[0] ){
blob_appendf(&bSrc, "fgcolor = %s\n", zPikVar);
}
zPikVar = skin_detail("pikchr-scale");
if( zPikVar
&& (rPikVar = atof(zPikVar))>=0.1
&& rPikVar<10.0
){
blob_appendf(&bSrc, "scale = %.13g\n", rPikVar);
}
|
>
>
>
>
|
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
|
if( skin_detail_boolean("white-foreground") ){
pikFlags |= 0x02; /* PIKCHR_DARK_MODE */
}
zPikVar = skin_detail("pikchr-foreground");
if( zPikVar && zPikVar[0] ){
blob_appendf(&bSrc, "fgcolor = %s\n", zPikVar);
}
zPikVar = skin_detail("pikchr-background");
if( zPikVar && zPikVar[0] ){
blob_appendf(&bSrc, "bgcolor = %s\n", zPikVar);
}
zPikVar = skin_detail("pikchr-scale");
if( zPikVar
&& (rPikVar = atof(zPikVar))>=0.1
&& rPikVar<10.0
){
blob_appendf(&bSrc, "scale = %.13g\n", rPikVar);
}
|