lib_ui/ui/platform/mac/ui_utility_mac.h
2019-09-26 09:53:57 +03:00

26 lines
564 B
C++

// This file is part of Desktop App Toolkit,
// a set of libraries for developing nice desktop applications.
//
// For license and copyright information please follow this link:
// https://github.com/desktop-app/legal/blob/master/LEGAL
//
#pragma once
#include <QtCore/QPoint>
namespace Ui {
namespace Platform {
inline bool TranslucentWindowsSupported(QPoint globalPosition) {
return true;
}
inline void UpdateOverlayed(not_null<QWidget*> widget) {
}
inline constexpr bool UseMainQueueGeneric() {
return false;
}
} // namespace Platform
} // namespace Ui