X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Fcontrolflow%2Fdrawing.h;h=9f2b936003bc5584d1de53073da3934e00849760;hb=6cec4cd266bde25f87dad0a059fd98c7381eb8c2;hp=5a4dc820a27f48f407a2f9111eca7e3f7b1eef16;hpb=2eef04b5f3234a4e303bd6162eb20d055b7d44cf;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.h b/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.h index 5a4dc820..9f2b9360 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.h +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.h @@ -94,12 +94,14 @@ struct _Drawing_t { GtkWidget *ruler_hbox; GtkWidget *ruler; GtkWidget *padding; - GdkPixmap *pixmap; + //GdkPixmap *pixmap; ControlFlowData *control_flow_data; PangoLayout *pango_layout; gint height, width, depth; + /* height and width of allocated buffer pixmap */ + gint alloc_height, alloc_width; /* X coordinate of damaged region */ gint damage_begin, damage_end; /* damaged region to be exposed, @@ -107,6 +109,8 @@ struct _Drawing_t { LttTime last_start; GdkGC *dotted_gc; GdkGC *gc; + GdkGC *ruler_gc_butt; + GdkGC *ruler_gc_round; /* Position of the horizontal selector, -1 for none */ gint horizontal_sel; @@ -120,7 +124,6 @@ GtkWidget *drawing_get_drawing_area(Drawing_t *drawing); void drawing_data_request(Drawing_t *drawing, - GdkPixmap **pixmap, gint x, gint y, gint width, gint height);