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.
11
namespace
PaletteGenerator
12
{
13
PaletteConfig
fromAccent
(
const
QColor &accent,
int
intensity,
const
QString &scheme);
14
}
// namespace PaletteGenerator
15
16
#endif
// COCKATRICE_PALETTE_GENERATOR_H
PaletteGenerator
Definition
palette_generator.cpp:28
PaletteGenerator::fromAccent
PaletteConfig fromAccent(const QColor &accent, int intensity, const QString &scheme)
Definition
palette_generator.cpp:30
theme_config.h
cockatrice
src
interface
palette_editor
palette_generator.h
Generated by
1.16.1