MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / SetRows

Method SetRows

engine/Poseidon/UI/DisplayUI.hpp:392–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390 // shared with DrawItem so the click target lines up with what is drawn.
391 static constexpr float kCheckboxColumnWidth = 0.07f;
392 void ToggleChecked(int displayIdx)
393 {
394 int a = VisibleRow(displayIdx);
395 if (a >= 0 && a < _modRows.Size())
396 _modRows[a].checked = !_modRows[a].checked;
397 }
398 // Toggle the tick ONLY when the click lands in the small checkbox column of a
399 // REAL row. u,v are the click position within the list (Control3D _u/_v,

Callers 8

InitUIMethod · 0.45
~DisplayMissionMethod · 0.45
OnCreateCtrlMethod · 0.45
SeedTestModsMethod · 0.45
RefreshInstalledStatesFunction · 0.45
MergeWorkshopModsMethod · 0.45
DisplayGetReadyMethod · 0.45
~DisplayGetReadyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected