MCPcopy Create free account
hub / github.com/DISTRHO/DPF / ImageBaseSwitch

Method ImageBaseSwitch

dgl/src/ImageBaseWidgets.cpp:892–897  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

890
891template <class ImageType>
892ImageBaseSwitch<ImageType>::ImageBaseSwitch(Widget* const parentWidget, const ImageType& imageNormal, const ImageType& imageDown) noexcept
893 : SubWidget(parentWidget),
894 pData(new PrivateData(imageNormal, imageDown))
895{
896 setSize(imageNormal.getSize());
897}
898
899template <class ImageType>
900ImageBaseSwitch<ImageType>::ImageBaseSwitch(const ImageBaseSwitch<ImageType>& imageSwitch) noexcept

Callers

nothing calls this directly

Calls 3

getParentWidgetMethod · 0.80
setSizeFunction · 0.50
getSizeMethod · 0.45

Tested by

no test coverage detected