summaryrefslogtreecommitdiff
path: root/src/vertical_position.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-07 23:04:15 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-07 23:04:15 +0000
commit74765c0660239f48702ebc6d149d522b85392b63 (patch)
treed548627669b16513d5c2e8c877a7b15eb1879919 /src/vertical_position.h
parentbe2117b1ea71c535e03c02be962387829806b1da (diff)
Sketchy support for total line counts when describing vertical position as a line number.
Diffstat (limited to 'src/vertical_position.h')
-rw-r--r--src/vertical_position.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vertical_position.h b/src/vertical_position.h
index 1d0b939..77b0675 100644
--- a/src/vertical_position.h
+++ b/src/vertical_position.h
@@ -35,11 +35,12 @@ public:
boost::optional<float> proportional;
/** line number offset from some reference point */
boost::optional<int> line;
+ /** number of lines on the whole screen (i.e. height of the screen in lines) */
+ boost::optional<int> lines;
/** reference point */
boost::optional<VerticalReference> reference;
bool operator== (VerticalPosition const & other) const;
-
};
}