#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.
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);
//void Drawing_Resize(Drawing_t *Drawing, guint h, guint w);
void convert_pixels_to_time(
- Drawing_t *Drawing,
+ gint width,
guint x,
LttTime *window_time_begin,
LttTime *window_time_end,
- LttTime *begin);
+ LttTime *time);
void convert_time_to_pixels(
LttTime window_time_begin,
LttTime window_time_end,
LttTime time,
- Drawing_t *Drawing,
+ gint width,
guint *x);
#endif // _DRAWING_H