*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
- * MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include <gdk/gdk.h>
#include <string.h>
-#include <ltt/trace.h>
-
#include <lttv/lttv.h>
-#include <lttv/tracecontext.h>
#include <lttvwindow/lttvwindow.h>
#include <lttv/state.h>
#include <lttv/hook.h>
}
-void histo_drawing_data_request_begin(EventsRequest *events_request, LttvTracesetState *tss)
+void histo_drawing_data_request_begin(EventsRequest *events_request, LttvTraceset *traceset)
{
g_debug("Begin of data request");
HistoControlFlowData *cfd = events_request->viewer_data;
}
-void histo_drawing_chunk_begin(EventsRequest *events_request, LttvTracesetState *tss)
+void histo_drawing_chunk_begin(EventsRequest *events_request, LttvTraceset *traceset)
{
g_debug("Begin of chunk");
HistoControlFlowData *cfd = events_request->viewer_data;
void histo_drawing_request_expose(EventsRequest *events_request,
- LttvTracesetState *tss,
+ LttvTraceset *traceset,
LttTime end_time)
{
HistoControlFlowData *cfd = events_request->viewer_data;
void histo_drawing_update_ruler(histoDrawing_t *drawing, TimeWindow *time_window)
{
- GtkRequisition req;
- GdkRectangle rect;
-
- req.width = drawing->ruler->allocation.width;
- req.height = drawing->ruler->allocation.height;
-
-
- rect.x = 0;
- rect.y = 0;
- rect.width = req.width;
- rect.height = req.height;
-
gtk_widget_queue_draw(drawing->ruler);
- //gtk_widget_draw( drawing->ruler, &rect);
}
/* Redraw the ruler */
void histo_drawing_update_vertical_ruler(histoDrawing_t *drawing)//, TimeWindow *time_window)
{
- GtkRequisition req;
- GdkRectangle rect;
-
- req.width = drawing->vertical_ruler->allocation.width;
- req.height = drawing->vertical_ruler->allocation.height;
-
- rect.x = 0;
- rect.y = 0;
- rect.width = req.width;
- rect.height = req.height;
-
gtk_widget_queue_draw(drawing->vertical_ruler);
- //gtk_widget_draw( drawing->ruler, &rect);
}
/* notify mouse on ruler */