MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / isTranslucent

Method isTranslucent

src/OpenLoco/src/Ui/Window.cpp:94–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92 }
93
94 bool Window::isTranslucent()
95 {
96 const bool isTransparent = this->hasFlags(WindowFlags::transparent);
97 const bool isMainWindow = type == WindowType::main;
98 const bool hasTransparentFrame = Config::get().windowFrameStyle == Config::WindowFrameStyle::transparent;
99 return !isMainWindow && (hasTransparentFrame || isTransparent);
100 }
101
102 bool Window::isEnabled(WidgetIndex_t widgetIndex)
103 {

Callers 13

drawMethod · 0.95
viewportShiftPixelsFunction · 0.45
windowDrawFunction · 0.45
windowDrawSplitFunction · 0.45
renderFunction · 0.45
drawFunction · 0.45
openFunction · 0.45
setColourAndInputFlagsFunction · 0.45
showBelowFunction · 0.45
drawTabBackgroundFunction · 0.45
sub_4CADE8Function · 0.45
drawImageFunction · 0.45

Calls 2

hasFlagsMethod · 0.95
getFunction · 0.70

Tested by

no test coverage detected