projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
resourceview: make resource accessing api more generic
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
modules
/
gui
/
controlflow
/
drawing.h
diff --git
a/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.h
b/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.h
index 05114beea86e95cb4b50dbf4d60d24e6962b911e..58f562a2a6380e4be299b805e68807f1aaf29365 100644
(file)
--- a/
ltt/branches/poly/lttv/modules/gui/controlflow/drawing.h
+++ b/
ltt/branches/poly/lttv/modules/gui/controlflow/drawing.h
@@
-39,7
+39,8
@@
typedef enum _draw_color {
COL_RUN_USER_MODE,/* green */
COL_RUN_SYSCALL, /* pale blue */
COL_RUN_TRAP, /* yellow */
COL_RUN_USER_MODE,/* green */
COL_RUN_SYSCALL, /* pale blue */
COL_RUN_TRAP, /* yellow */
- COL_RUN_IRQ, /* red */
+ COL_RUN_IRQ, /* orange */
+ COL_RUN_SOFT_IRQ, /* red */
COL_WAIT, /* dark red */
COL_WAIT_CPU, /* dark yellow */
COL_ZOMBIE, /* dark purple */
COL_WAIT, /* dark red */
COL_WAIT_CPU, /* dark yellow */
COL_ZOMBIE, /* dark purple */
@@
-94,12
+95,14
@@
struct _Drawing_t {
GtkWidget *ruler_hbox;
GtkWidget *ruler;
GtkWidget *padding;
GtkWidget *ruler_hbox;
GtkWidget *ruler;
GtkWidget *padding;
- GdkPixmap *pixmap;
+
//
GdkPixmap *pixmap;
ControlFlowData *control_flow_data;
PangoLayout *pango_layout;
gint height, width, depth;
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,
/* X coordinate of damaged region */
gint damage_begin, damage_end; /* damaged region to be exposed,
@@
-107,6
+110,8
@@
struct _Drawing_t {
LttTime last_start;
GdkGC *dotted_gc;
GdkGC *gc;
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;
/* Position of the horizontal selector, -1 for none */
gint horizontal_sel;
@@
-118,6
+123,12
@@
void drawing_destroy(Drawing_t *drawing);
GtkWidget *drawing_get_widget(Drawing_t *drawing);
GtkWidget *drawing_get_drawing_area(Drawing_t *drawing);
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,
void drawing_draw_line( Drawing_t *drawing,
GdkPixmap *pixmap,
guint x1, guint y1,
This page took
0.024653 seconds
and
4
git commands to generate.