Преглед изворни кода

restore pen position (did break it for debug previously)

Jeremie Roy пре 12 година
родитељ
комит
8ddda84cd7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      examples/common/font/text_buffer_manager.cpp

+ 1 - 1
examples/common/font/text_buffer_manager.cpp

@@ -112,7 +112,7 @@ public:
 	void setUnderlineColor(uint32_t rgba = 0x000000FF) { m_underlineColor = toABGR(rgba); }
 	void setUnderlineColor(uint32_t rgba = 0x000000FF) { m_underlineColor = toABGR(rgba); }
 	void setStrikeThroughColor(uint32_t rgba = 0x000000FF) { m_strikeThroughColor = 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 
 	/// return the size of the text 
 	//Rectangle measureText(FontHandle fontHandle, const char * _string);
 	//Rectangle measureText(FontHandle fontHandle, const char * _string);