aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/graph_analysis.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-08-12 12:32:18 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-08-12 12:32:18 +0000
commitdc681c67a083a33a7a442ce79c9d1ce0b1770b87 (patch)
tree02f4ca7f66b8ef5b4d6d1928ce331ef1798b2dec /gtk/graph_analysis.h
parent47977a8039f3ecca4ea81632351d0ecea9391e6e (diff)
- Use cairo_surface_t
- rename variables refering to the surface. svn path=/trunk/; revision=38495
Diffstat (limited to 'gtk/graph_analysis.h')
-rw-r--r--gtk/graph_analysis.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/gtk/graph_analysis.h b/gtk/graph_analysis.h
index 046f3a8176..529c5000db 100644
--- a/gtk/graph_analysis.h
+++ b/gtk/graph_analysis.h
@@ -87,16 +87,23 @@ typedef struct _graph_analysis_dialog_data_t {
GtkWidget *draw_area_time;
GtkWidget *draw_area;
GtkWidget *draw_area_comments;
+#if GTK_CHECK_VERSION(2,22,0)
+ cairo_surface_t *surface_time;
+ cairo_surface_t *surface_main;
+ cairo_surface_t *surface_comments;
+ cairo_surface_t *surface_tile_select;
+#else
GdkPixmap *pixmap_time;
GdkPixmap *pixmap_main;
GdkPixmap *pixmap_comments;
GdkPixmap *pixmap_tile_select;
+#endif
GtkWidget *scroll_window;
GtkWidget *v_scrollbar;
GtkAdjustment *v_scrollbar_adjustment;
GtkWidget *hpane;
- int pixmap_width;
- int pixmap_height;
+ int surface_width;
+ int surface_height;
guint16 first_node; /* the first node on the left to show in the screen */
guint32 first_item; /* the first item (row) to show from the top */
guint32 selected_item; /* the selected item */