Subversion Repositories tpanel

Rev

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

Rev 184 Rev 240
Line 116... Line 116...
116
    return true;
116
    return true;
117
}
117
}
118
 
118
 
119
bool TImgCache::getBitmap(const string& name, SkBitmap *bm, _IMGCACHE_BMTYPE bmType, int *width, int *height)
119
bool TImgCache::getBitmap(const string& name, SkBitmap *bm, _IMGCACHE_BMTYPE bmType, int *width, int *height)
120
{
120
{
121
    DECL_TRACER("TImgCache::getBitmap(const string& name, _IMGCACHE_BMTYPE bmType, int *width, int *height)");
121
    DECL_TRACER("TImgCache::getBitmap(const string& name, SkBitmap *bm, _IMGCACHE_BMTYPE bmType, int *width, int *height)");
122
 
122
 
123
    if (mImgCache.size() == 0 || !bm)
123
    if (mImgCache.size() == 0 || !bm)
124
        return false;
124
        return false;
125
 
125
 
126
    vector<_IMGCACHE>::iterator iter;
126
    vector<_IMGCACHE>::iterator iter;