Add set_h_position.
authorCarl Hetherington <cth@carlh.net>
Wed, 3 Jun 2015 22:54:36 +0000 (23:54 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 3 Jun 2015 22:54:36 +0000 (23:54 +0100)
src/subtitle_string.h

index bb76839787f1d99ee75c748f84952f606a096112..20cc1fe3fb0f2716fcfabbc0d06b9ceeed04cc7a 100644 (file)
@@ -130,6 +130,10 @@ public:
                return _aspect_adjust;
        }
 
+       void set_h_position (float p) {
+               _h_position = p;
+       }
+
        /** @param p New vertical position as a proportion of the screen height
         *  from the top (between 0 and 1)
         */