Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
SurfaceThemeResolve.h File Reference
#include <PhosphorSurface/phosphorsurface_export.h>
#include <QColor>
#include <QVariantMap>

Go to the source code of this file.

Classes

struct  PhosphorSurfaceShaders::SurfaceThemeColors
 Theme colours a host supplies to resolveThemeParamColors(). More...

Namespaces

namespace  PhosphorSurfaceShaders

Functions

PHOSPHORSURFACE_EXPORT void PhosphorSurfaceShaders::resolveThemeParamColors (const SurfaceShaderEffect &effect, QVariantMap &friendlyParams, const SurfaceThemeColors &theme)
 Synthesise theme-derived colours into a pack's friendly param map, in place, honouring the host-consumed flags a surface pack may declare.