mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fix build
This commit is contained in:
@@ -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));
|
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();
|
Rect realTarget = target + renderArea.topLeft();
|
||||||
|
|
||||||
|
@@ -83,7 +83,7 @@ public:
|
|||||||
void drawLineDashed(const Point & from, const Point & dest, const ColorRGBA & color);
|
void drawLineDashed(const Point & from, const Point & dest, const ColorRGBA & color);
|
||||||
|
|
||||||
/// renders rectangular, solid-color border in specified location
|
/// 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
|
/// renders rectangular, dashed border in specified location
|
||||||
void drawBorderDashed(const Rect & target, const ColorRGBA & color);
|
void drawBorderDashed(const Rect & target, const ColorRGBA & color);
|
||||||
|
Reference in New Issue
Block a user