state update hooks are added by the main window
[lttv.git] / ltt / branches / poly / lttv / modules / guiControlFlow / Drawing.h
index 6ae2f19192159e6ca0581198a9d0d413479106d7..d2aa0a6ab137aa72d2297dea5b58b6c61e983cd3 100644 (file)
@@ -8,6 +8,9 @@
 #include "CFV.h"
 #include "Draw_Item.h"
 
+
+#define SAFETY 50      // safety pixels at right and bottom of pixmap buffer
+
 /* This part of the viewer does :
  * Draw horizontal lines, getting graphic context as arg.
  * Copy region of the screen into another.
@@ -36,9 +39,11 @@ struct _Drawing_t {
        GtkWidget       *Drawing_Area_V;
        GdkPixmap       *Pixmap;
        ControlFlowData *Control_Flow_Data;
+       
+       PangoLayout *pango_layout;
 
        gint            height, width, depth;
-
+       
 };
 
 Drawing_t *drawing_construct(ControlFlowData *Control_Flow_Data);
@@ -85,7 +90,7 @@ void convert_time_to_pixels(
                LttTime window_time_begin,
                LttTime window_time_end,
                LttTime time,
-               int width,
+               gint width,
                guint *x);
 
 #endif // _DRAWING_H
This page took 0.024379 seconds and 4 git commands to generate.