mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-31 22:05:10 +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)
|
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->getSurface()->setBlitMode(EImageBlitMode::OPAQUE);
|
||||||
background->colorize(stack->getOwner());
|
background->colorize(stack->getOwner());
|
||||||
|
background2 = std::make_shared<CPicture>(ImagePath::builtin("CHRPOP"));
|
||||||
|
background2->getSurface()->setBlitMode(EImageBlitMode::OPAQUE);
|
||||||
|
background2->colorize(stack->getOwner());
|
||||||
}
|
}
|
||||||
|
|
||||||
initializeData(stack);
|
initializeData(stack);
|
||||||
|
@ -148,6 +148,7 @@ class StackInfoBasicPanel : public CIntObject
|
|||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
std::shared_ptr<CPicture> background;
|
std::shared_ptr<CPicture> background;
|
||||||
|
std::shared_ptr<CPicture> background2;
|
||||||
std::vector<std::shared_ptr<CLabel>> labels;
|
std::vector<std::shared_ptr<CLabel>> labels;
|
||||||
std::vector<std::shared_ptr<CAnimImage>> icons;
|
std::vector<std::shared_ptr<CAnimImage>> icons;
|
||||||
public:
|
public:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user