projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
show text : running state
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
modules
/
guiControlFlow
/
Drawing.h
diff --git
a/ltt/branches/poly/lttv/modules/guiControlFlow/Drawing.h
b/ltt/branches/poly/lttv/modules/guiControlFlow/Drawing.h
index dda39fb39b08637f0dcd5e02ab1b1d9974221f89..d2aa0a6ab137aa72d2297dea5b58b6c61e983cd3 100644
(file)
--- a/
ltt/branches/poly/lttv/modules/guiControlFlow/Drawing.h
+++ b/
ltt/branches/poly/lttv/modules/guiControlFlow/Drawing.h
@@
-6,6
+6,10
@@
#include <gtk/gtk.h>
#include <ltt/ltt.h>
#include "CFV.h"
#include <gtk/gtk.h>
#include <ltt/ltt.h>
#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.
/* This part of the viewer does :
* Draw horizontal lines, getting graphic context as arg.
@@
-31,18
+35,17
@@
typedef struct _Drawing_t Drawing_t;
typedef struct _Drawing_t Drawing_t;
-
-//FIXME : TEMPORARILY PLACED HERE FOR GC !!
struct _Drawing_t {
GtkWidget *Drawing_Area_V;
GdkPixmap *Pixmap;
ControlFlowData *Control_Flow_Data;
struct _Drawing_t {
GtkWidget *Drawing_Area_V;
GdkPixmap *Pixmap;
ControlFlowData *Control_Flow_Data;
+
+ PangoLayout *pango_layout;
gint height, width, depth;
gint height, width, depth;
-
+
};
};
-
Drawing_t *drawing_construct(ControlFlowData *Control_Flow_Data);
void drawing_destroy(Drawing_t *Drawing);
Drawing_t *drawing_construct(ControlFlowData *Control_Flow_Data);
void drawing_destroy(Drawing_t *Drawing);
@@
-77,17
+80,17
@@
void drawing_remove_square(Drawing_t *Drawing,
//void Drawing_Resize(Drawing_t *Drawing, guint h, guint w);
void convert_pixels_to_time(
//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,
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,
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
guint *x);
#endif // _DRAWING_H
This page took
0.023917 seconds
and
4
git commands to generate.