| 384 | } |
| 385 | |
| 386 | void ChildFrame::RedrawEvent(const detail::Hd4Block &hd, const wxTreeItemId &root) { |
| 387 | if (hd.Ev4().empty()) { |
| 388 | return; |
| 389 | } |
| 390 | auto ev_root = left_->AppendItem(root, "Event", TREE_EV_ROOT, TREE_EV_ROOT, |
| 391 | new BlockAddress(kEventPosition)); |
| 392 | for (const auto& ev4 : hd.Ev4()) { |
| 393 | if (!ev4) { |
| 394 | continue; |
| 395 | } |
| 396 | left_->AppendItem(ev_root, CreateBlockText(*ev4), |
| 397 | TREE_EV, TREE_EV, new BlockAddress(ev4->FilePosition())); |
| 398 | } |
| 399 | } |
| 400 | |
| 401 | |
| 402 | void ChildFrame::RedrawDataList(const mdf::detail::DataListBlock& dg, const wxTreeItemId& root) { |
nothing calls this directly
no test coverage detected