1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-04-09 07:13:54 +02:00

Fix build

This commit is contained in:
Ivan Savenko 2023-06-02 21:54:52 +03:00
parent 8ea0ecaec1
commit 8e8601f39d
2 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ void Canvas::drawLineDashed(const Point & from, const Point & dest, const ColorR
CSDL_Ext::drawLineDashed(surface, renderArea.topLeft() + from, renderArea.topLeft() + dest, CSDL_Ext::toSDL(color));
}
void Canvas::drawBorder(const Rect & target, const SDL_Color & color, uint width)
void Canvas::drawBorder(const Rect & target, const SDL_Color & color, int width)
{
Rect realTarget = target + renderArea.topLeft();

View File

@ -83,7 +83,7 @@ public:
void drawLineDashed(const Point & from, const Point & dest, const ColorRGBA & color);
/// renders rectangular, solid-color border in specified location
void drawBorder(const Rect & target, const SDL_Color & color, uint width = 1);
void drawBorder(const Rect & target, const SDL_Color & color, int width = 1);
/// renders rectangular, dashed border in specified location
void drawBorderDashed(const Rect & target, const ColorRGBA & color);