Subversion Repositories tpanel

Rev

Rev 446 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 446 Rev 486
Line 115... Line 115...
115
    ct.blue = (pd.color & 0x0000ff00) >> 8;
115
    ct.blue = (pd.color & 0x0000ff00) >> 8;
116
    ct.alpha = (pd.color & 0x000000ff);
116
    ct.alpha = (pd.color & 0x000000ff);
117
    return ct;
117
    return ct;
118
}
118
}
119
 
119
 
120
SkColor TColor::getSkiaColor(const std::string& color)
120
SkColor TColor::getSkiaColor(const string& color)
121
{
121
{
122
    DECL_TRACER("TColor::getSkiaColor(const std::string& color)");
122
    DECL_TRACER("TColor::getSkiaColor(const string& color)");
123
 
123
 
124
    COLOR_T col = getAMXColor(color);
124
    COLOR_T col = getAMXColor(color);
125
 
125
 
126
    if (col.alpha == 0)
126
    if (col.alpha == 0)
127
        return SK_ColorTRANSPARENT;
127
        return SK_ColorTRANSPARENT;