Skip to content

Commit

Permalink
Added macro BLACK that switches to a color scheme with a black backgr…
Browse files Browse the repository at this point in the history
…ound.
  • Loading branch information
Michael Knigge committed Oct 20, 2022
1 parent 2b5804f commit f0bfe4d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions macros/black.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
void black(void)
{
SPFService("VPUT", "ZCOLOR.PALETTE.00", "0");
SPFService("VPUT", "ZCOLOR.PALETTE.01", "8421504");
SPFService("VPUT", "ZCOLOR.PALETTE.02", "12632256");
SPFService("VPUT", "ZCOLOR.PALETTE.03", "16777215");
SPFService("VPUT", "ZCOLOR.PALETTE.04", "32768");
SPFService("VPUT", "ZCOLOR.PALETTE.05", "32896");
SPFService("VPUT", "ZCOLOR.PALETTE.06", "65280");
SPFService("VPUT", "ZCOLOR.PALETTE.07", "65535");
SPFService("VPUT", "ZCOLOR.PALETTE.08", "8388608");
SPFService("VPUT", "ZCOLOR.PALETTE.09", "16759662");
SPFService("VPUT", "ZCOLOR.PALETTE.10", "16711680");
SPFService("VPUT", "ZCOLOR.PALETTE.11", "16776960");
SPFService("VPUT", "ZCOLOR.PALETTE.12", "128");
SPFService("VPUT", "ZCOLOR.PALETTE.13", "8388736");
SPFService("VPUT", "ZCOLOR.PALETTE.14", "255");
SPFService("VPUT", "ZCOLOR.PALETTE.15", "16711935");

SPFService("CMD", "RECOLOR");
}

0 comments on commit f0bfe4d

Please sign in to comment.