MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / go_vDialPre

Method go_vDialPre

DSView/pv/view/mathtrace.cpp:107–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107void MathTrace::go_vDialPre()
108{
109 if (enabled() && !_vDial->isMin()) {
110 if (_view->session().is_running_status())
111 _view->session().refresh(DsoSignal::RefreshShort);
112 const double pre_vdiv = _vDial->get_value();
113 _vDial->set_sel(_vDial->get_sel() - 1);
114
115 if (_view->session().is_stopped_status())
116 _scale *= pre_vdiv/_vDial->get_value();
117
118 _view->set_update(_viewport, true);
119 _view->update();
120 }
121}
122
123void MathTrace::go_vDialNext()
124{

Callers

nothing calls this directly

Calls 10

isMinMethod · 0.80
is_running_statusMethod · 0.80
sessionMethod · 0.80
refreshMethod · 0.80
set_selMethod · 0.80
get_selMethod · 0.80
is_stopped_statusMethod · 0.80
set_updateMethod · 0.80
get_valueMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected