You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
|