struct axl::gui::TextAttr

#include <axl_gui_TextAttr.h>

struct TextAttr: public axl::gui::ColorAttr
{
    // fields

    uint_t m_fontFlags;

    // construction

    TextAttr();

    TextAttr(
        uint_t foreColor,
        uint_t backColor = -1,
        uint_t fontFlags = -1
        );

    TextAttr(
        const ColorAttr& colorAttr,
        uint_t fontFlags = -1
        );

    // methods

    int
    cmp(const TextAttr& attr);

    void
    clear();

    void
    setup(
        uint_t foreColor,
        uint_t backColor,
        uint_t fontFlags
        );

    void
    setup(
        const ColorAttr& colorAttr,
        uint_t fontFlags
        );

    void
    overlay(
        const TextAttr& baseAttr,
        const TextAttr& overlayAttr
        );

    void
    overlay(const TextAttr& overlayAttr);
};

Inherited Members

public:
    // fields

    uint_t m_foreColor;
    uint_t m_backColor;

    // methods

    int
    cmp(const ColorAttr& attr);

    void
    clear();

    void
    setup(
        uint_t foreColor,
        uint_t backColor = -1
        );

    void
    overlay(
        const ColorAttr& baseAttr,
        const ColorAttr& overlayAttr
        );

    void
    overlay(const ColorAttr& overlayAttr);