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

Method color

library/ColorText.cpp:82–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void color_ostream::color(color_value c)
83{
84 if (c == cur_color)
85 return;
86
87 flush_buffer(false);
88 cur_color = c;
89}
90
91void color_ostream::reset_color(void)
92{

Callers 15

decodeMethod · 0.45
plugMethod · 0.45
lua_dfhack_colorFunction · 0.45
print_constraintFunction · 0.45
print_jobFunction · 0.45
applyCategoryFiltersFunction · 0.45
printCategoryListHeaderFunction · 0.45
printCategoryListEntryFunction · 0.45
printFilterListEntryFunction · 0.45
listFiltersFunction · 0.45
applyFilterIdsFunction · 0.45
listHeaderSettingFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected