[Top][All Lists]

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

Re: [Adonthell-devel] User interface open items

From: Kai Sterker
Subject: Re: [Adonthell-devel] User interface open items
Date: Tue, 3 Jan 2012 09:43:52 +0100

On Tue, Jan 3, 2012 at 1:16 AM, StyxD <address@hidden> wrote:

> I didn't have time to work on adonthell from October through now
> because of a combination of university and an unexpectedly acquired
> half-time job, but I'm back at it.


> But I'm hitting a bit of a brick wall now. I managed to make the
> speech balloon appear in a little test application, but when I tried
> to run it under worldtest to test positioning, I've come to a point
> where adonthell crashes with no helpful stack trace ("PC: @0x10
> (Unknown)" - that's all). I can't debug it either, because the
> debugger causes it to crash in a different place, although it seems
> that it passes the point of adding the layout to window_manager.
> It seems that whatever it is, it's somehow related to adding something
> to window_manager.

Sounds like something is messing up the stack. Could be tricky to
find, but I'll take a look, hopefully tonight.

> To replicate, run this python script in-game (I've appended it to the
> "I wonder what's in this barrel" script):
> l = gui.layout(400, 400)
> la = gui.label(300, 300)
> la.set_string ('foo')
> l.add_child(la, 0, 0)
> gui.window_manager.add(0,0,l)

Will do.

> PS I just now accidentally discovered that pressing ctrl-d in
> adonthell completely wrecks the program for some reason.

Hm ... have to try that. Good catch!


reply via email to

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