File indexing completed on 2024-12-08 04:58:15

0001 /*
0002     SPDX-FileCopyrightText: 2021 Michail Vourlakos <mvourlakos@gmail.com>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef GENERICVIEWTOOLS_H
0007 #define GENERICVIEWTOOLS_H
0008 
0009 // local
0010 #include "../../data/viewdata.h"
0011 
0012 // Qt
0013 #include <QPainter>
0014 #include <QPalette>
0015 #include <QRect>
0016 #include <QStyleOption>
0017 #include <QStyleOptionViewItem>
0018 
0019 namespace Latte {
0020 
0021 void drawView(QPainter *painter, const QStyleOption &option, const Latte::Data::View &view, const QRect &availableScreenRect, const float brushOpacity = 1.0);
0022 
0023 }
0024 
0025 #endif