diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-10-06 13:29:36 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-10-06 13:29:36 +0100 |
| commit | 4ada3e7583dfdc658dbebca3c3603be1e3477c12 (patch) | |
| tree | 0516fdd142b79e7083ed3d455fe45fffce26a9a8 /src/vertical_position.h | |
| parent | 86440b2afe0a2b83a7e810f37b1f65dbddee90e8 (diff) | |
Template-ize collect so that any container can be used.
Add new vertical reference of TOP_OF_SUBTITLE, and use references
with line numbers as well as proportional specifiers.
Add a couple of methods to MetricTime.
Diffstat (limited to 'src/vertical_position.h')
| -rw-r--r-- | src/vertical_position.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vertical_position.h b/src/vertical_position.h index 6a0fff4..1d0b939 100644 --- a/src/vertical_position.h +++ b/src/vertical_position.h @@ -33,10 +33,10 @@ class VerticalPosition public: /** as a proportion of screen height offset from some reference point */ boost::optional<float> proportional; - /** reference position for proportional */ - boost::optional<VerticalReference> reference; - /** line number from the top of the screen */ + /** line number offset from some reference point */ boost::optional<int> line; + /** reference point */ + boost::optional<VerticalReference> reference; bool operator== (VerticalPosition const & other) const; |
