// 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 "ui/platform/ui_platform_utility.h" #include class QPainter; class QPaintEvent; namespace Ui { namespace Platform { inline bool TranslucentWindowsSupported() { return true; } inline void InitOnTopPanel(not_null panel) { } inline void DeInitOnTopPanel(not_null panel) { } inline void ReInitOnTopPanel(not_null panel) { } inline void ShowOverAll(not_null widget, bool canFocus) { } inline void AcceptAllMouseInput(not_null widget) { } inline void ClearTransientParent(not_null widget) { } inline void DisableSystemWindowResize(not_null widget, QSize ratio) { } inline constexpr bool UseMainQueueGeneric() { return true; } inline bool WindowMarginsSupported() { return false; } inline void SetWindowMargins(not_null widget, const QMargins &margins) { } inline void UnsetWindowMargins(not_null widget) { } } // namespace Platform } // namespace Ui