mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-11 13:18:13 +03:00
26 lines
534 B
C++
26 lines
534 B
C++
/*
|
|
SPDX-FileCopyrightText: 2021 Michail Vourlakos <mvourlakos@gmail.com>
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef GENERICVIEWTOOLS_H
|
|
#define GENERICVIEWTOOLS_H
|
|
|
|
// local
|
|
#include "../../data/viewdata.h"
|
|
|
|
// Qt
|
|
#include <QPainter>
|
|
#include <QPalette>
|
|
#include <QRect>
|
|
#include <QStyleOption>
|
|
#include <QStyleOptionViewItem>
|
|
|
|
namespace Latte {
|
|
|
|
void drawView(QPainter *painter, const QStyleOption &option, const Latte::Data::View &view, const QRect &availableScreenRect, const float brushOpacity = 1.0);
|
|
|
|
}
|
|
|
|
#endif
|