struct CCL::StyleFlags

StyleFlags.

#include <styleflags.h>

struct StyleFlags
{
    // fields

    int common;
    int custom;

    // construction

    StyleFlags (int common = 0, int custom = 0);

    // methods

    bool isEmpty () const;
    bool isCommonStyle (int which) const;
    bool isCustomStyle (int which) const;
    void setCommonStyle (int which, bool state = true);
    void setCustomStyle (int which, bool state = true);
    bool isHorizontal () const;
    bool isVertical () const;
    bool isTransparent () const;
    bool isOpaque () const;
    bool isBorder () const;
    bool isDirectUpdate () const;
    bool isComposited () const;
    bool isTranslucent () const;
    bool isTrigger () const;
    bool isSmall () const;
    int64 toLargeInt () const;
    StyleFlags& fromLargeInt (int64 value);
    bool operator == (const StyleFlags& flags) const;
    bool operator != (const StyleFlags& flags) const;
};