diff Core/ImageFormats/Font.cpp @ 1611:5e9b2aac8b89

fix for visual studio
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 04 Sep 2015 16:30:42 +0200
parents 2dff2bdffdb8
children
line wrap: on
line diff
--- a/Core/ImageFormats/Font.cpp	Fri Sep 04 13:44:21 2015 +0200
+++ b/Core/ImageFormats/Font.cpp	Fri Sep 04 16:30:42 2015 +0200
@@ -272,24 +272,24 @@
   }
 
 
-  void Font::DrawText(ImageAccessor& target,
-                      const std::string& utf8,
-                      int x,
-                      int y,
-                      uint8_t grayscale) const
+  void Font::Draw(ImageAccessor& target,
+                  const std::string& utf8,
+                  int x,
+                  int y,
+                  uint8_t grayscale) const
   {
     uint8_t color[4] = { grayscale, grayscale, grayscale, 255 };
     DrawInternal(target, utf8, x, y, color);
   }
 
 
-  void Font::DrawText(ImageAccessor& target,
-                      const std::string& utf8,
-                      int x,
-                      int y,
-                      uint8_t r,
-                      uint8_t g,
-                      uint8_t b) const
+  void Font::Draw(ImageAccessor& target,
+                  const std::string& utf8,
+                  int x,
+                  int y,
+                  uint8_t r,
+                  uint8_t g,
+                  uint8_t b) const
   {
     uint8_t color[4] = { r, g, b, 255 };
     DrawInternal(target, utf8, x, y, color);