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

Method ViewscreenDwarfStats

plugins/dwarfmonitor.cpp:203–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201{
202public:
203 ViewscreenDwarfStats(df::unit *starting_selection) : selected_column(0)
204 {
205 dwarves_column.multiselect = false;
206 dwarves_column.auto_select = true;
207 dwarves_column.setTitle("Dwarves");
208
209 dwarf_activity_column.multiselect = false;
210 dwarf_activity_column.auto_select = true;
211 dwarf_activity_column.setTitle("Dwarf Activity");
212
213 window_days = min_window;
214
215 populateDwarfColumn(starting_selection);
216 }
217
218 void populateDwarfColumn(df::unit *starting_selection = NULL)
219 {

Callers

nothing calls this directly

Calls 1

setTitleMethod · 0.80

Tested by

no test coverage detected