mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-22 17:45:09 -07:00
* [App/Theme] Palette Editor Took 1 minute Took 1 hour 47 minutes Took 6 seconds Took 3 minutes Took 5 minutes Took 3 minutes * Add oracle, add palette files and configs. Took 10 minutes * Fix a stupid include mistake, thanks IDE Took 3 minutes Took 20 seconds * Includes. Took 4 minutes * Fix ampersand not displaying correctly. Took 14 minutes * Longer variable names. Took 10 minutes Took 5 seconds * Change ampersand everywhere Took 23 seconds * Doxygen properly. Took 1 minute * Remove namespace, fold I/O into structs. Took 12 minutes * Remove namespace, fold I/O into structs. Took 33 seconds * Alphabetize. Took 35 seconds * Lint. Took 49 seconds * Add a combo box to quick switch settings. Took 19 minutes --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
16 lines
No EOL
474 B
C++
16 lines
No EOL
474 B
C++
#ifndef COCKATRICE_PALETTE_GENERATOR_H
|
|
#define COCKATRICE_PALETTE_GENERATOR_H
|
|
|
|
#include "../theme_config.h"
|
|
|
|
#include <QColor>
|
|
#include <QString>
|
|
|
|
// All QPalette roles are derived from a single accent color and an
|
|
// intensity value (0-100). See the .cpp for the full band breakdown.
|
|
namespace PaletteGenerator
|
|
{
|
|
PaletteConfig fromAccent(const QColor &accent, int intensity, const QString &scheme);
|
|
} // namespace PaletteGenerator
|
|
|
|
#endif // COCKATRICE_PALETTE_GENERATOR_H
|