/*! \brief gets called to redraw the entire display manually \param chart (MtxStripChart *) pointer to the chart object */ void mtx_stripchart_redraw (MtxStripChart *chart) { if (!GTK_WIDGET(chart)->window) return; update_stripchart_position(chart); render_marker(chart); gdk_window_clear(GTK_WIDGET(chart)->window); }
/*! \brief gets called to redraw the entire display manually \param chart is the pointer to the chart object */ void mtx_stripchart_redraw (MtxStripChart *chart) { GdkWindow *window = gtk_widget_get_window(GTK_WIDGET(chart)); if (!window) return; update_stripchart_position(chart); render_marker(chart); gdk_window_clear(window); }