MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / FluxViewerWindow

Method FluxViewerWindow

src/gui/fluxviewerwindow.cc:9–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7#include "lib/data/layout.h"
8
9FluxViewerWindow::FluxViewerWindow(
10 wxWindow* parent, std::shared_ptr<const TrackFlux> flux):
11 FluxViewerWindowGen(parent),
12 _flux(flux)
13{
14 fluxviewer->SetScrollbar(scrollbar);
15 fluxviewer->SetFlux(flux);
16 SetTitle(fmt::format("Flux for c{} h{}",
17 flux->trackInfo->physicalCylinder,
18 flux->trackInfo->physicalHead));
19}
20
21void FluxViewerWindow::OnExit(wxCommandEvent& event)
22{

Callers

nothing calls this directly

Calls 2

SetScrollbarMethod · 0.80
SetFluxMethod · 0.80

Tested by

no test coverage detected