struct axl::gui::ColorAttr

#include <axl_gui_ColorAttr.h>

struct ColorAttr
{
    // fields

    uint_t m_foreColor;
    uint_t m_backColor;

    // construction

    ColorAttr();

    ColorAttr(
        uint_t foreColor,
        uint_t backColor = -1
        );

    // 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);
};