24 std::filesystem::path pathToImage;
26 std::string resourceModuleName;
29 uint32_t imageResource;
43 ImageButton(
const std::wstring& buttonName, uint32_t imageResources,
drawingType dType,
imageType iType, uint16_t imageWidth, uint16_t imageHeight,
const utility::ComponentSettings& settings,
BaseComposite* parent,
const std::string& functionName,
const std::string& moduleName,
const std::string& resourceModuleName =
"");
47 void setImage(uint32_t imageResource,
drawingType dType,
imageType iType, uint16_t imageWidth, uint16_t imageHeight,
const std::string& resourceModuleName);
49 const std::filesystem::path& getPathToImage()
const;
51 uint16_t getImageWidth()
const;
53 uint16_t getImageHeight()
const;
59 size_t getHash()
const override;
61 json::JSONBuilder getStructure()
const override;