44 lines
912 B
C++
44 lines
912 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>
|
|
|
|
class QPainter;
|
|
class QPaintEvent;
|
|
|
|
namespace Ui {
|
|
namespace Platform {
|
|
|
|
inline bool TranslucentWindowsSupported(QPoint globalPosition) {
|
|
return true;
|
|
}
|
|
|
|
inline void InitOnTopPanel(not_null<QWidget*> panel) {
|
|
}
|
|
|
|
inline void DeInitOnTopPanel(not_null<QWidget*> panel) {
|
|
}
|
|
|
|
inline void ReInitOnTopPanel(not_null<QWidget*> panel) {
|
|
}
|
|
|
|
inline void StartTranslucentPaint(QPainter &p, QPaintEvent *e) {
|
|
}
|
|
|
|
inline void ShowOverAll(not_null<QWidget*> widget, bool canFocus) {
|
|
}
|
|
|
|
inline void BringToBack(not_null<QWidget*> widget) {
|
|
}
|
|
|
|
inline constexpr bool UseMainQueueGeneric() {
|
|
return true;
|
|
}
|
|
|
|
} // namespace Platform
|
|
} // namespace Ui
|