diff options
Diffstat (limited to 'src/font_size.h')
| -rw-r--r-- | src/font_size.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/font_size.h b/src/font_size.h index 6f4f8a5..6439c8f 100644 --- a/src/font_size.h +++ b/src/font_size.h @@ -36,7 +36,7 @@ public: void set_proportional (float p) { _proportional = p; } - + void set_points (int p) { _points = p; } @@ -44,20 +44,20 @@ public: boost::optional<float> proportional () const { return _proportional; } - + boost::optional<int> points () const { return _points; } - + float proportional (int screen_height_in_points) const; int points (int screen_height_in_points) const; - -private: + +private: /** as a proportion of screen height */ boost::optional<float> _proportional; /** in points */ boost::optional<int> _points; - + }; } |
