Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
theme_manager.cpp File Reference
#include "theme_manager.h"
#include "../../client/settings/cache_settings.h"
#include <QApplication>
#include <QColor>
#include <QDebug>
#include <QLibraryInfo>
#include <QPixmapCache>
#include <QStandardPaths>
Include dependency graph for theme_manager.cpp:

Macros

#define NONE_THEME_NAME   "Default"
#define STYLE_CSS_NAME   "style.css"
#define HANDZONE_BG_NAME   "handzone"
#define PLAYERZONE_BG_NAME   "playerzone"
#define STACKZONE_BG_NAME   "stackzone"
#define TABLEZONE_BG_NAME   "tablezone"

Functions

static QString roleBgName (ThemeManager::Role role)

Variables

static const QColor HANDZONE_BG_DEFAULT = QColor(80, 100, 50)
static const QColor TABLEZONE_BG_DEFAULT = QColor(70, 50, 100)
static const QColor PLAYERZONE_BG_DEFAULT = QColor(200, 200, 200)
static const QColor STACKZONE_BG_DEFAULT = QColor(113, 43, 43)
static const QStringList DEFAULT_RESOURCE_PATHS = {":/resources"}

Macro Definition Documentation

◆ HANDZONE_BG_NAME

#define HANDZONE_BG_NAME   "handzone"

◆ NONE_THEME_NAME

#define NONE_THEME_NAME   "Default"

◆ PLAYERZONE_BG_NAME

#define PLAYERZONE_BG_NAME   "playerzone"

◆ STACKZONE_BG_NAME

#define STACKZONE_BG_NAME   "stackzone"

◆ STYLE_CSS_NAME

#define STYLE_CSS_NAME   "style.css"

◆ TABLEZONE_BG_NAME

#define TABLEZONE_BG_NAME   "tablezone"

Function Documentation

◆ roleBgName()

QString roleBgName ( ThemeManager::Role role)
static
Here is the caller graph for this function:

Variable Documentation

◆ DEFAULT_RESOURCE_PATHS

const QStringList DEFAULT_RESOURCE_PATHS = {":/resources"}
static

◆ HANDZONE_BG_DEFAULT

const QColor HANDZONE_BG_DEFAULT = QColor(80, 100, 50)
static

◆ PLAYERZONE_BG_DEFAULT

const QColor PLAYERZONE_BG_DEFAULT = QColor(200, 200, 200)
static

◆ STACKZONE_BG_DEFAULT

const QColor STACKZONE_BG_DEFAULT = QColor(113, 43, 43)
static

◆ TABLEZONE_BG_DEFAULT

const QColor TABLEZONE_BG_DEFAULT = QColor(70, 50, 100)
static