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

Method adjust

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

Source from the content-addressed store, hash-verified

110 {}
111
112 void adjust(int8_t nfg) { fg = nfg&7; bold = !!(nfg&8); }
113 void adjust(int8_t nfg, bool nbold) { fg = nfg; bold = nbold; }
114 void adjust(int8_t nfg, int8_t nbg) { adjust(nfg); bg = nbg; }
115 void adjust(int8_t nfg, bool nbold, int8_t nbg) { adjust(nfg, nbold); bg = nbg; }

Callers 2

colorMethod · 0.80
Screen.hFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected