From fcdd59665b27c3a7a558c5593178c5efe6286831 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 26 Feb 2019 23:21:03 +0100 Subject: Tidy up a bit --- libstorycode/gtk/gtknarrativeview.h | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'libstorycode/gtk/gtknarrativeview.h') diff --git a/libstorycode/gtk/gtknarrativeview.h b/libstorycode/gtk/gtknarrativeview.h index ba007e5..1b0802f 100644 --- a/libstorycode/gtk/gtknarrativeview.h +++ b/libstorycode/gtk/gtknarrativeview.h @@ -97,8 +97,6 @@ struct _gtknarrativeview int w; /* Surface size in pixels */ int h; - double log_w; /* Size of surface in "SC units" */ - double log_h; int para_highlight; /* Redraw/scroll stuff */ @@ -110,44 +108,16 @@ struct _gtknarrativeview double h_scroll_pos; int visible_height; int visible_width; - int flow; - int scale; /* Whether the GtkNarrativeView should scale to fit */ - double view_scale; /* The scale factor, if scale=1 */ /* Location of the cursor */ struct edit_pos cpos; - /* Border surrounding actual slide within drawingarea */ - double border_offs_x; - double border_offs_y; - double min_border; - double bgcol[3]; - GdkPixbuf *bg_pixbuf; - /* Rubber band boxes and related stuff */ - double start_corner_x; - double start_corner_y; - double drag_corner_x; - double drag_corner_y; - double diagonal_length; - double box_x; - double box_y; - double box_width; - double box_height; enum drag_reason drag_reason; enum drag_status drag_status; - enum corner drag_corner; int sel_active; struct edit_pos sel_start; /* Where the user dragged from */ struct edit_pos sel_end; - - /* Stuff to do with drag and drop import of "content" */ - int drag_preview_pending; - int have_drag_data; - int drag_highlight; - double import_width; - double import_height; - int import_acceptable; }; struct _gtknarrativeviewclass -- cgit v1.2.3