Re: [AD] allegro5 gui

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sat, Mar 1, 2008 at 8:50 PM, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
On March 2, 2008, Guillermo Martínez Jiménez wrote:
> IIRC at Allegro.cc forums somebody said that Allegro 5 will not have a
> GUI system. I think it was the right decision.

It won't ever be in the core, we've learned a smaller core is better for
everyone.

--
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
https://lists.sourceforge.net/lists/listinfo/alleg-developers

The goal is to make something nice that people will use. I'm not thinking about anything like GTK/QT/Win32. Mostly just buttons and a text-input. Fancy buttons of any shape (just throw some bitmaps at it).

On a related note I've thrown all the buttons/widgets in a thread of their own.
But i have a problem...

al_get_pixel segfaults if i call it from the gui thread. I use get_pixel to find the bitmap's alpha value (after mapping to rgba) at the mouse coordinate. Weird shaped buttons use alpha=0 to avoid collision. Right now it works perfectly fine if i call it from the main thread. I guess it is easy enough to put al_gui_update() under the three mouse events (or a gui timer event).

--ryan



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/