From 4ada3e7583dfdc658dbebca3c3603be1e3477c12 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 6 Oct 2014 13:29:36 +0100 Subject: 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. --- src/vertical_position.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/vertical_position.h') 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 proportional; - /** reference position for proportional */ - boost::optional reference; - /** line number from the top of the screen */ + /** line number offset from some reference point */ boost::optional line; + /** reference point */ + boost::optional reference; bool operator== (VerticalPosition const & other) const; -- cgit v1.2.3