MCPcopy Create free account
hub / github.com/ZDoom/Raze / GetPreferredHeight

Method GetPreferredHeight

libraries/ZWidget/src/widgets/imagebox/imagebox.cpp:8–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6}
7
8double ImageBox::GetPreferredHeight() const
9{
10 if (image)
11 return (double)image->GetHeight();
12 else
13 return 0.0;
14}
15
16void ImageBox::SetImage(std::shared_ptr<Image> newImage)
17{

Callers

nothing calls this directly

Calls 1

GetHeightMethod · 0.45

Tested by

no test coverage detected