[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: alpha icons
From:       Rik Hemsley <rik () kde ! org>
Date:       2000-10-30 22:38:41
[Download RAW message or body]

On Mon, 30 Oct 2000 22:04:26 +0100
Stephan Kulow <coolo@kde.org> wrote:

> > Opinions ? Anyone objecting me to change each icon in a kiconview
> > to be stored as a QImage instead of a QPixmap ?
> Isn't that special slow? Wouldn't this result in a image to pixmap
> conversion on every paint? Or it would take twice as much memory
> which doesn't sound good as well. Whatever you do: it shouldn't use
> more resources when alpha blending is disabled

Currently there's a QImage->QPixmap conversion done when loadIcon() is
used. Using loadIconImage() and then converting to QPixmap just before
painting is 1 conversion too, though as Dirk says in the next mail,
getting QPixmap to store the image is the best idea.

Rik

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic