mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-29 21:56:54 +02:00
spell area
This commit is contained in:
parent
0b4cf14a3d
commit
8c14509d72
@ -456,9 +456,13 @@ StackInfoBasicPanel::StackInfoBasicPanel(const CStack * stack, Point * position,
|
||||
|
||||
if(initializeBackground)
|
||||
{
|
||||
background = std::make_shared<CPicture>(ImagePath::builtin("CHRPOP"));
|
||||
background = std::make_shared<CPicture>(ImagePath::builtin("CCRPOP"));
|
||||
background->pos.y += 37;
|
||||
background->getSurface()->setBlitMode(EImageBlitMode::OPAQUE);
|
||||
background->colorize(stack->getOwner());
|
||||
background2 = std::make_shared<CPicture>(ImagePath::builtin("CHRPOP"));
|
||||
background2->getSurface()->setBlitMode(EImageBlitMode::OPAQUE);
|
||||
background2->colorize(stack->getOwner());
|
||||
}
|
||||
|
||||
initializeData(stack);
|
||||
|
@ -148,6 +148,7 @@ class StackInfoBasicPanel : public CIntObject
|
||||
{
|
||||
private:
|
||||
std::shared_ptr<CPicture> background;
|
||||
std::shared_ptr<CPicture> background2;
|
||||
std::vector<std::shared_ptr<CLabel>> labels;
|
||||
std::vector<std::shared_ptr<CAnimImage>> icons;
|
||||
public:
|
||||
|
Loading…
x
Reference in New Issue
Block a user