QtCraft API C++ classes QML types Handbook

QcGamepadGlyphs::Glyph Struct

struct QcGamepadGlyphs::Glyph

A glyph: its shape, the text in it, its colour role and the lit direction. More...

Header: #include <clientcore/input/QcGamepadGlyphs.h>

Public Variables

QString colour
QString direction
QString label
QcGamepadGlyphs::Shape shape

Detailed Description

Member Variable Documentation

QString Glyph::colour

"green", "red", "blue", "yellow", "pink" or empty for the theme's text colour.

QString Glyph::direction

"up", "down", "left" or "right" for the d-pad and the position shape, else empty.

QString Glyph::label

Drawn in the shape (empty for the PlayStation shapes, the position and the d-pad).

QcGamepadGlyphs::Shape Glyph::shape

The shape.