[Scummvm-git-logs] scummvm master -> c48273d9134b8739fa57e5b29c48aa23bdac3d28

stevenhoefel stevenhoefel at hotmail.com
Mon Feb 6 02:48:21 CET 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
c48273d913 GRAPHICS: Return line count of formatted MacText.


Commit: c48273d9134b8739fa57e5b29c48aa23bdac3d28
    https://github.com/scummvm/scummvm/commit/c48273d9134b8739fa57e5b29c48aa23bdac3d28
Author: stevenhoefel (stevenhoefel at hotmail.com)
Date: 2017-02-06T12:47:41+11:00

Commit Message:
GRAPHICS: Return line count of formatted MacText.

Changed paths:
    graphics/macgui/mactext.h


diff --git a/graphics/macgui/mactext.h b/graphics/macgui/mactext.h
index 2ce0c30..08fa9eb 100644
--- a/graphics/macgui/mactext.h
+++ b/graphics/macgui/mactext.h
@@ -96,6 +96,7 @@ public:
 	void draw(ManagedSurface *g, int x, int y, int w, int h, int xoff, int yoff);
 	void appendText(Common::String str);
 	void replaceLastLine(Common::String str);
+	int getLineCount() { return _text.size(); }
 
 	void render();
 	Graphics::ManagedSurface *getSurface() { return _surface; }





More information about the Scummvm-git-logs mailing list