mirror of
https://github.com/vcmi/vcmi.git
synced 2025-04-09 07:13:54 +02:00
Fix build
This commit is contained in:
parent
8ea0ecaec1
commit
8e8601f39d
@ -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();
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user