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,
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;
GtkWidget *drawing_get_widget(Drawing_t *drawing);
GtkWidget *drawing_get_drawing_area(Drawing_t *drawing);
+
+void drawing_data_request(Drawing_t *drawing,
+ gint x, gint y,
+ gint width,
+ gint height);
+
void drawing_draw_line( Drawing_t *drawing,
GdkPixmap *pixmap,
guint x1, guint y1,