Expand description
The Download scene’s tree view, mirroring pacenotes_installer::tree::Tree;
each item’s lParam is its node index in the model.
Structs§
- NmTv
Item 🔒Change NMTVITEMCHANGE, which windows-sys does not declare.
Constants§
- STATE_
IMAGE_ 🔒CHECKED - STATE_
IMAGE_ 🔒PARTIAL - STATE_
IMAGE_ 🔒SHIFT - The state image lives in bits 12-15: 1 unchecked, 2 checked, 3 partial.
- STATE_
IMAGE_ 🔒UNCHECKED - TVI_
LAST 🔒 - TVI_
ROOT 🔒 - TVM_
DELETEITEM 🔒 - TVM_
INSERTITEMW 🔒 - TVM_
SETEXTENDEDSTYLE 🔒 - TVM_
SETITEMW 🔒 - TVN_
ITEMCHANGEDW TVN_FIRST - 17, which windows-sys does not declare.- WM_
SYNC_ CHECKS - Posted to the page to push the model’s checkboxes into the control.
Functions§
- enable_
partial_ ⚠checkboxes - Partial checkboxes are an extended style, which a template cannot request,
and the checkbox images are built when
TVS_CHECKBOXESarrives: given in the template, it came first, there was no partial image, and a category with only some items ticked drew no box at all. - insert_
node 🔒 ⚠ - on_
item_ ⚠changed - Takes a toggled checkbox into the model, which propagates it through the subtree, then pushes the whole model back.
- populate⚠
- Replaces the control’s items with the model’s.
- refresh_
checks ⚠ - Pushes every node’s checkbox from the model into the control.
- row_
label 🔒 - The model’s label plus the localized state suffix the model leaves out, where being in the game folder outranks being in the cache.
- tree_
control 🔒 ⚠