MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / get_total_height

Method get_total_height

DSView/pv/view/viewport.cpp:126–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126int Viewport::get_total_height()
127{
128 int h = 0;
129 std::vector<Trace*> traces;
130 _view.get_traces(_type, traces);
131
132 for(auto t : traces) {
133 h += (int)(t->get_totalHeight());
134 }
135 h += 2 * View::SignalMargin;
136
137 return h;
138}
139
140QPoint Viewport::get_mouse_point()
141{

Callers

nothing calls this directly

Calls 2

get_tracesMethod · 0.80
get_totalHeightMethod · 0.80

Tested by

no test coverage detected