diff options
-rw-r--r-- | dw/fltkpreview.cc | 2 | ||||
-rw-r--r-- | dw/fltkpreview.hh | 2 | ||||
-rw-r--r-- | dw/fltkviewbase.cc | 2 | ||||
-rw-r--r-- | dw/fltkviewbase.hh | 2 | ||||
-rw-r--r-- | dw/image.cc | 3 | ||||
-rw-r--r-- | dw/view.hh | 2 |
6 files changed, 6 insertions, 7 deletions
diff --git a/dw/fltkpreview.cc b/dw/fltkpreview.cc index 907e129c..ecb96f22 100644 --- a/dw/fltkpreview.cc +++ b/dw/fltkpreview.cc @@ -150,7 +150,7 @@ void FltkPreview::drawSimpleWrappedText (core::style::Font *font, core::style::Color *color, core::style::Color::Shading shading, int x, int y, int w, int h, - const char *text, int len) + const char *text) { } diff --git a/dw/fltkpreview.hh b/dw/fltkpreview.hh index 9e0f4eb1..2382b861 100644 --- a/dw/fltkpreview.hh +++ b/dw/fltkpreview.hh @@ -46,7 +46,7 @@ public: core::style::Color *color, core::style::Color::Shading shading, int x, int y, int w, int h, - const char *text, int len); + const char *text); void drawImage (core::Imgbuf *imgbuf, int xRoot, int yRoot, int x, int y, int width, int height); diff --git a/dw/fltkviewbase.cc b/dw/fltkviewbase.cc index 70f271fb..bf3aba22 100644 --- a/dw/fltkviewbase.cc +++ b/dw/fltkviewbase.cc @@ -590,7 +590,7 @@ void FltkWidgetView::drawSimpleWrappedText (core::style::Font *font, core::style::Color *color, core::style::Color::Shading shading, int X, int Y, int W, int H, - const char *text, int len) + const char *text) { FltkFont *ff = (FltkFont*)font; fl_font(ff->font, ff->size); diff --git a/dw/fltkviewbase.hh b/dw/fltkviewbase.hh index b8d1e874..2b248803 100644 --- a/dw/fltkviewbase.hh +++ b/dw/fltkviewbase.hh @@ -121,7 +121,7 @@ public: core::style::Color *color, core::style::Color::Shading shading, int x, int y, int w, int h, - const char *text, int len); + const char *text); void drawImage (core::Imgbuf *imgbuf, int xRoot, int yRoot, int x, int y, int width, int height); diff --git a/dw/image.cc b/dw/image.cc index 50083151..1cb9ce39 100644 --- a/dw/image.cc +++ b/dw/image.cc @@ -388,8 +388,7 @@ void Image::draw (core::View *view, core::Rectangle *area) core::style::Color::SHADING_NORMAL, allocation.x + getStyle()->boxOffsetX (), allocation.y + getStyle()->boxOffsetY (), - getContentWidth(), getContentHeight(), - altText, strlen(altText)); + getContentWidth(), getContentHeight(), altText); if (clippingView) view->mergeClippingView (clippingView); @@ -182,7 +182,7 @@ public: virtual void drawSimpleWrappedText (style::Font *font, style::Color *color, style::Color::Shading shading, int x, int y, int w, int h, - const char *text, int len) = 0; + const char *text) = 0; virtual void drawImage (Imgbuf *imgbuf, int xRoot, int yRoot, int x, int y, int width, int height) = 0; |