Zhao Yuhang
2024-01-01 b54e368f16e8bd977fe57fcc738fc6804af076e4
src/core/contexts/abstractwindowcontext.cpp
@@ -1,3 +1,6 @@
// Copyright (C) 2023-2024 Stdware Collections
// SPDX-License-Identifier: Apache-2.0
#include "abstractwindowcontext_p.h"
#include <QtGui/QPen>
@@ -120,8 +123,9 @@
    }
#ifdef Q_OS_MAC
    void AbstractWindowContext::setSystemButtonArea(const QRect &rect) {
        m_systemButtonArea = rect;
    void
        AbstractWindowContext::setSystemButtonAreaCallback(const ScreenRectCallback &callback) {
        m_systemButtonAreaCallback = callback;
        virtual_hook(SystemButtonAreaChangedHook, nullptr);
    }
#endif