diff --git a/src/apps/showimage/ShowImageView.cpp b/src/apps/showimage/ShowImageView.cpp index 78f086c285..5791d2d2f6 100644 --- a/src/apps/showimage/ShowImageView.cpp +++ b/src/apps/showimage/ShowImageView.cpp @@ -558,14 +558,14 @@ ShowImageView::DrawCaption() pos.y = bounds.bottom - fontHeight.descent - 5; // background rectangle - rect.Set(0, 0, (width-1)+2, (height-1)+2+1); // 2 for border and 1 for text shadow + rect.Set(0, 0, (width-1)+4, (height-1)+4+1); // 2 for border and 1 for text shadow rect.OffsetTo(pos); - rect.OffsetBy(-1, -1-fontHeight.ascent); // -1 for border + rect.OffsetBy(-3, -2-fontHeight.ascent); // -2 for border PushState(); // draw background SetDrawingMode(B_OP_ALPHA); - SetHighColor(0, 0, 255, 128); + SetHighColor(192, 192, 192, 160); FillRect(rect); // draw text SetDrawingMode(B_OP_OVER); @@ -573,12 +573,12 @@ ShowImageView::DrawCaption() SetLowColor(B_TRANSPARENT_COLOR); // text shadow pos += BPoint(1, 1); - SetHighColor(0, 0, 0); + SetHighColor(0, 0, 0, 128); SetPenSize(1); DrawString(fCaption.String(), pos); // text pos -= BPoint(1, 1); - SetHighColor(255, 255, 0); + SetHighColor(255, 255, 255, 255); DrawString(fCaption.String(), pos); PopState(); } diff --git a/src/apps/showimage/ShowImageWindow.cpp b/src/apps/showimage/ShowImageWindow.cpp index 061dde85af..8546baf826 100644 --- a/src/apps/showimage/ShowImageWindow.cpp +++ b/src/apps/showimage/ShowImageWindow.cpp @@ -45,6 +45,7 @@ #include #include #include +#include #include "ShowImageApp.h" #include "ShowImageConstants.h"