mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Refactoring & deduplication of infowindow code
This commit is contained in:
@@ -232,7 +232,7 @@ void CWindowObject::showAll(Canvas & to)
|
||||
|
||||
CIntObject::showAll(to);
|
||||
if ((options & BORDERED) && (pos.dimensions() != GH.screenDimensions()))
|
||||
CMessage::drawBorder(color, to.getInternalSurface(), pos.w+28, pos.h+29, pos.x-14, pos.y-15);
|
||||
CMessage::drawBorder(color, to, pos.w+28, pos.h+29, pos.x-14, pos.y-15);
|
||||
}
|
||||
|
||||
bool CWindowObject::isPopupWindow() const
|
||||
|
||||
Reference in New Issue
Block a user