mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Always use ResourcePath for referencing images and animations
This commit is contained in:
@@ -155,7 +155,7 @@ void ComboBox::DropDown::setItem(const void * item)
|
||||
GH.windows().popWindows(1);
|
||||
}
|
||||
|
||||
ComboBox::ComboBox(Point position, const std::string & defName, const std::pair<std::string, std::string> & help, const JsonNode & dropDownDescriptor, EShortcut key, bool playerColoredButton):
|
||||
ComboBox::ComboBox(Point position, const AnimationPath & defName, const std::pair<std::string, std::string> & help, const JsonNode & dropDownDescriptor, EShortcut key, bool playerColoredButton):
|
||||
CButton(position, defName, help, 0, key, playerColoredButton)
|
||||
{
|
||||
addCallback([&, dropDownDescriptor]()
|
||||
|
||||
Reference in New Issue
Block a user