Cockatrice 2026-06-01-Development-3.1.0-beta.3
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
palette_generator.h
Go to the documentation of this file.
1#ifndef COCKATRICE_PALETTE_GENERATOR_H
2#define COCKATRICE_PALETTE_GENERATOR_H
3
4#include "../theme_config.h"
5
6#include <QColor>
7#include <QString>
8
9// All QPalette roles are derived from a single accent color and an
10// intensity value (0-100). See the .cpp for the full band breakdown.
11namespace PaletteGenerator
12{
13PaletteConfig fromAccent(const QColor &accent, int intensity, const QString &scheme);
14} // namespace PaletteGenerator
15
16#endif // COCKATRICE_PALETTE_GENERATOR_H
Definition palette_generator.cpp:28
PaletteConfig fromAccent(const QColor &accent, int intensity, const QString &scheme)
Definition palette_generator.cpp:30