Menu

#10 ImageLabel eyecandy

open
nobody
None
5
2005-08-19
2005-08-19
No

The attached patch adds a new property to the
ImageLabel class. Now ImageLabel can be marked
as a background effect. In this state the content of
the ImageLabel will be created on fly. Content is
grabbed from the render buffer, thus creating sort
of pseudotransparency. With content I mean
R,G,B channels, alpha is left untouched so that
one can create shapes by using the alpha
channel. This is useful if you wan't to apply some
effect to already rendered pixels
(such as background).

Patch also adds a new effect, parametrizable blur.

It's kind of hard to explain what all this looks like so
I attached a screenshot along with the example
theme using background effects (found in the
tarball).

-- Jani Huhtanen
jani _dot_ huhtanen _at_ tut _dot_ fi

Discussion

  • Jani Huhtanen

    Jani Huhtanen - 2005-08-19

    Patch for ImageLabel update, example of use and a screenshot

     
  • Jani Huhtanen

    Jani Huhtanen - 2005-08-19

    Logged In: YES
    user_id=1234120

    minor "bug" in the example theme. The last description
    of the blur effects shoud read something like:
    "Horizontal and vertical randomized blur"

    -- Jani Huhtanen

     
  • Ryan Nickell

    Ryan Nickell - 2005-08-21

    Logged In: YES
    user_id=797632

    This patch looks pretty clean and unintrusive to the rest of the code
    so I don't see why we can't add it. I've not tested it yet, but will do
    so tomorrow before a commit to SVN.
    Thanks for the contribution!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.