adonthell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Adonthell-devel] Re: Layout: widget or not?


From: Kai Sterker
Subject: [Adonthell-devel] Re: Layout: widget or not?
Date: Sat, 28 Aug 2010 22:44:58 +0200

On Tue, Aug 24, 2010 at 7:25 PM, Kai Sterker <address@hidden> wrote:

> To work around the overlay issue, I think I'll have to add another
> parameter to the decoration data file, that will be used to adjust the
> brightness of a focused element. That's the way it was done in v0.3,
> although there the brightness value was fixed. We could have the
> brightness alone or together with an overlay.

Completed and checked in. Now it's possible to specify a value between
-127 and +127 to darken or brighten a focused widget after the overlay
has been applied. I also added code to support overlays that are
larger than the actual widget, to allow for a border or halo effect. I
haven't tested how well that works, however.

In order to get the overlay working at all, I had to change the
underlying gfx code a bit, but I could only test the SDL1.3 backend.
So somebody should try latest guitest with SDL 1.2 and check if it
looks like the attached screenshot.


> So the next steps will be getting the focusing done, adding scrolling
> to containers, migrating the dialogue window to Python, so that the
> gui module no longer depends on the rpg module and finishing the API
> documentation for the gui module.

Okay, on to scrolling ...

Kai

Attachment: adonthell-gui.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]