MCPcopy Create free account
hub / github.com/DFHack/dfhack / color

Method color

library/include/modules/Screen.h:117–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115 void adjust(int8_t nfg, bool nbold, int8_t nbg) { adjust(nfg, nbold); bg = nbg; }
116
117 Pen color(int8_t nfg) const { Pen cp(*this); cp.adjust(nfg); return cp; }
118 Pen color(int8_t nfg, bool nbold) const { Pen cp(*this); cp.adjust(nfg, nbold); return cp; }
119 Pen color(int8_t nfg, int8_t nbg) const { Pen cp(*this); cp.adjust(nfg, nbg); return cp; }
120 Pen color(int8_t nfg, bool nbold, int8_t nbg) const { Pen cp(*this); cp.adjust(nfg, nbold, nbg); return cp; }

Callers 3

printJobDetailsMethod · 0.45
ColorText.hFile · 0.45
Screen.hFile · 0.45

Calls 1

adjustMethod · 0.80

Tested by

no test coverage detected