MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / verticalShadowTop

Method verticalShadowTop

Telegram/SourceFiles/window/window_controller.cpp:420–426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418}
419
420int Controller::verticalShadowTop() const {
421 return (Platform::NativeTitleRequiresShadow()
422 && Ui::Platform::NativeWindowFrameSupported()
423 && Core::App().settings().nativeWindowFrame())
424 ? st::lineWidth
425 : 0;
426}
427
428void Controller::showToast(Ui::Toast::Config &&config) {
429 Show(this).showToast(std::move(config));

Callers 1

Calls 4

AppClass · 0.85
nativeWindowFrameMethod · 0.80
settingsMethod · 0.80

Tested by

no test coverage detected