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

Method ImageBaseAboutWindow

dgl/src/ImageBaseWidgets.cpp:42–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41template <class ImageType>
42ImageBaseAboutWindow<ImageType>::ImageBaseAboutWindow(TopLevelWidget* const topLevelWidget, const ImageType& image)
43 : StandaloneWindow(topLevelWidget->getApp(), topLevelWidget->getWindow()),
44 img(image)
45{
46 setResizable(false);
47 setTitle("About");
48
49 if (image.isValid())
50 {
51 setSize(image.getSize());
52 setGeometryConstraints(image.getWidth(), image.getHeight(), true, true);
53 }
54
55 done();
56}
57
58template <class ImageType>
59void ImageBaseAboutWindow<ImageType>::setImage(const ImageType& image)

Callers

nothing calls this directly

Calls 8

setTitleFunction · 0.85
doneFunction · 0.85
setSizeFunction · 0.50
setGeometryConstraintsFunction · 0.50
isValidMethod · 0.45
getSizeMethod · 0.45
getWidthMethod · 0.45
getHeightMethod · 0.45

Tested by

no test coverage detected