TTKMusicPlayer
4.1.3.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
TTKThirdParty
TTKqmmp
qmmp
visualpalette.h
Go to the documentation of this file.
1
/***************************************************************************
2
* This file is part of the TTK qmmp plugin project
3
* Copyright (C) 2015 - 2024 Greedysky Studio
4
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 3 of the License, or
8
* (at your option) any later version.
9
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
15
* You should have received a copy of the GNU General Public License along
16
* with this program; If not, see <http://www.gnu.org/licenses/>.
17
***************************************************************************/
18
19
#ifndef VISUALPALETTE_H
20
#define VISUALPALETTE_H
21
22
#include "
qmmp_export.h
"
23
24
namespace
VisualPalette
{
25
enum
Palette
26
{
27
PALETTE_SPECTRUM
,
28
PALETTE_PERCEPTUAL
,
29
PALETTE_RAINBOW
,
30
PALETTE_SOX
,
31
PALETTE_MONO
,
32
PALETTE_COUNT
,
33
PALETTE_DEFAULT
=
PALETTE_PERCEPTUAL
,
34
};
35
39
QMMP_EXPORT
uint32_t
renderPalette
(
Palette
palette,
double
level);
40
41
}
42
43
#endif
VisualPalette::PALETTE_COUNT
Definition:
visualpalette.h:32
VisualPalette::PALETTE_DEFAULT
Definition:
visualpalette.h:33
VisualPalette::PALETTE_RAINBOW
Definition:
visualpalette.h:29
VisualPalette::PALETTE_MONO
Definition:
visualpalette.h:31
VisualPalette::PALETTE_PERCEPTUAL
Definition:
visualpalette.h:28
VisualPalette
Definition:
visualpalette.h:24
VisualPalette::PALETTE_SOX
Definition:
visualpalette.h:30
qmmp_export.h
QMMP_EXPORT
#define QMMP_EXPORT
Definition:
qmmp_export.h:29
VisualPalette::renderPalette
QMMP_EXPORT uint32_t renderPalette(Palette palette, double level)
VisualPalette::PALETTE_SPECTRUM
Definition:
visualpalette.h:27
VisualPalette::Palette
Palette
Definition:
visualpalette.h:25
Generated on Tue Jan 21 2025 21:07:15 for TTKMusicPlayer by
1.8.8