aboutsummaryrefslogtreecommitdiff
path: root/src/sc_editor.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-11-30 22:40:51 +0100
committerThomas White <taw@physics.org>2017-11-30 22:40:51 +0100
commit52f53606c801a6e9f3e3725bf5f6a4f68e8a9aa6 (patch)
tree97b215d8c71171dda428ba76176f3ddf6bd3b21e /src/sc_editor.h
parent8a37f2dc1a8421ba47e8f2d6332c5e5910d2249d (diff)
SCEditor scaled view fixes
Diffstat (limited to 'src/sc_editor.h')
-rw-r--r--src/sc_editor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sc_editor.h b/src/sc_editor.h
index 7efc03f..b2fd6a5 100644
--- a/src/sc_editor.h
+++ b/src/sc_editor.h
@@ -110,7 +110,8 @@ struct _sceditor
int visible_height;
int visible_width;
int flow;
- int scale;
+ int scale; /* Whether the SCEditor should scale to fit */
+ double view_scale; /* The scale factor, if scale=1 */
/* Pointers to the frame currently being edited */
struct frame *selection;