aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/gtk/gtknarrativeview.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-02-26 23:21:03 +0100
committerThomas White <taw@bitwiz.me.uk>2019-02-26 23:21:03 +0100
commitfcdd59665b27c3a7a558c5593178c5efe6286831 (patch)
tree0c38f9cfe22afc47b288f50dd95adfb2cbeb86a9 /libstorycode/gtk/gtknarrativeview.h
parent269526b1b6aeadb57033ab0e02d20b900d71a690 (diff)
Tidy up a bit
Diffstat (limited to 'libstorycode/gtk/gtknarrativeview.h')
-rw-r--r--libstorycode/gtk/gtknarrativeview.h30
1 files changed, 0 insertions, 30 deletions
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