-
- // Trigger the initial event manually. The default device has signals
- // which were created before this object came into being
- on_signals_changed();
-}
-
-int Viewport::get_total_height() const
-{
- int h = 0;
- const vector< shared_ptr<Trace> > traces(_view.get_traces());
- for (const shared_ptr<Trace> t : traces) {
- assert(t);
- h = max(t->get_v_offset() + View::SignalHeight, h);
- }
-
- return h;