1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-22 00:27:58 +02:00

CPicture now uses IImage internally

This commit is contained in:
Ivan Savenko
2023-01-30 17:18:59 +02:00
parent e35a669eeb
commit 87218c63c4
11 changed files with 73 additions and 88 deletions

View File

@@ -496,7 +496,7 @@ CTextInput::CTextInput(const Rect & Pos, const Point & bgOffset, const std::stri
#endif
}
CTextInput::CTextInput(const Rect & Pos, SDL_Surface * srf)
CTextInput::CTextInput(const Rect & Pos, std::shared_ptr<IImage> srf)
:CFocusable(std::make_shared<CKeyboardFocusListener>(this))
{
pos += Pos.topLeft();