diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fl_font_mac.cxx | 4 | ||||
| -rw-r--r-- | src/fl_font_win32.cxx | 2 | ||||
| -rw-r--r-- | src/fl_font_x.cxx | 2 | ||||
| -rw-r--r-- | src/fl_font_xft.cxx | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/fl_font_mac.cxx b/src/fl_font_mac.cxx index cb6887827..1a67bf558 100644 --- a/src/fl_font_mac.cxx +++ b/src/fl_font_mac.cxx @@ -488,8 +488,8 @@ void Fl_Graphics_Driver::draw(int angle, const char *str, int n, int x, int y) { CGContextRestoreGState(fl_gc); } -void fl_rtl_draw(const char* c, int n, int x, int y) { - fl_draw(c, n, x - fl_width(c, n), y); //to check; +void Fl_Graphics_Driver::rtl_draw(const char* c, int n, int x, int y) { + draw(c, n, x - fl_width(c, n), y); } // diff --git a/src/fl_font_win32.cxx b/src/fl_font_win32.cxx index 7220eb3b9..b6079444a 100644 --- a/src/fl_font_win32.cxx +++ b/src/fl_font_win32.cxx @@ -386,7 +386,7 @@ void Fl_Graphics_Driver::draw(int angle, const char* str, int n, int x, int y) { fl_font(fl_font_, fl_size_); } -void fl_rtl_draw(const char* c, int n, int x, int y) { +void Fl_Graphics_Driver::rtl_draw(const char* c, int n, int x, int y) { int wn; int i = 0; int lx = 0; diff --git a/src/fl_font_x.cxx b/src/fl_font_x.cxx index e6ccea79c..2f56e39ef 100644 --- a/src/fl_font_x.cxx +++ b/src/fl_font_x.cxx @@ -335,7 +335,7 @@ void Fl_Graphics_Driver::draw(int angle, const char *str, int n, int x, int y) { // fl_draw(str, n, (int)x, (int)y); //} -void fl_rtl_draw(const char* c, int n, int x, int y) { +void Fl_Graphics_Driver::rtl_draw(const char* c, int n, int x, int y) { if (font_gc != fl_gc) { if (!current_font) fl_font(FL_HELVETICA, 12); font_gc = fl_gc; diff --git a/src/fl_font_xft.cxx b/src/fl_font_xft.cxx index bf2ca3ee8..c249bc52a 100644 --- a/src/fl_font_xft.cxx +++ b/src/fl_font_xft.cxx @@ -584,7 +584,7 @@ static void fl_drawUCS4(const FcChar32 *str, int n, int x, int y) { } -void fl_rtl_draw(const char* c, int n, int x, int y) { +void Fl_Graphics_Driver::rtl_draw(const char* c, int n, int x, int y) { #if defined(__GNUC__) #warning Need to improve this XFT right to left draw function |
