From 8ddda84cd71485683d018d485f80d7e4c286ffe9 Mon Sep 17 00:00:00 2001 From: Jeremie Roy Date: Tue, 23 Apr 2013 14:28:31 +0200 Subject: [PATCH] restore pen position (did break it for debug previously) --- examples/common/font/text_buffer_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/common/font/text_buffer_manager.cpp b/examples/common/font/text_buffer_manager.cpp index 7265e2ee..5d3399f9 100644 --- a/examples/common/font/text_buffer_manager.cpp +++ b/examples/common/font/text_buffer_manager.cpp @@ -112,7 +112,7 @@ public: void setUnderlineColor(uint32_t rgba = 0x000000FF) { m_underlineColor = toABGR(rgba); } void setStrikeThroughColor(uint32_t rgba = 0x000000FF) { m_strikeThroughColor = toABGR(rgba); } - void setPenPosition(float x, float /*y*/) { m_penX = x; };// m_penY = y; } + void setPenPosition(float x, float y) { m_penX = x; m_penY = y; } /// return the size of the text //Rectangle measureText(FontHandle fontHandle, const char * _string);