Subversion Repositories freemyipod

Rev

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

Rev 820 Rev 832
Line 166... Line 166...
166
            io = 255;
166
            io = 255;
167
            if (iparams->text && iparams->text_color)
167
            if (iparams->text && iparams->text_color)
168
            {
168
            {
169
                tx = params->text_pos.x - strlen(iparams->text) * get_font_width() / 2;
169
                tx = params->text_pos.x - strlen(iparams->text) * get_font_width() / 2;
170
                ty = params->text_pos.y;
170
                ty = params->text_pos.y;
171
                rendertext(buf, tx, ty, stride, iparams->text_color, 0, iparams->text);
171
                rendertext(buf, tx, ty, stride, iparams->text_color, iparams->text_bgcolor, iparams->text);
172
           }
172
           }
173
        }
173
        }
174
        if (icon->loc.buf.addr && io && ix >= x && iy >= y
174
        if (icon->loc.buf.addr && io && ix >= x && iy >= y
175
         && ix + icon->size.x <= x + w && iy + icon->size.y <= y + h)
175
         && ix + icon->size.x <= x + w && iy + icon->size.y <= y + h)
176
            blenda(icon->size.x, icon->size.y, io, buf, ix, iy, stride, buf, ix, iy, stride,
176
            blenda(icon->size.x, icon->size.y, io, buf, ix, iy, stride, buf, ix, iy, stride,