diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-07 23:04:15 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-07 23:04:15 +0000 |
| commit | 74765c0660239f48702ebc6d149d522b85392b63 (patch) | |
| tree | d548627669b16513d5c2e8c877a7b15eb1879919 /src/vertical_position.h | |
| parent | be2117b1ea71c535e03c02be962387829806b1da (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.h | 3 |
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; - }; } |
