paragui-users
[Top][All Lists]
Advanced

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

[paragui-users] tricky bits: widget self termination (?)


From: leiavoia
Subject: [paragui-users] tricky bits: widget self termination (?)
Date: Wed, 23 Jul 2003 17:31:01 -0400
User-agent: KMail/1.5

long story short, i'm programming a game with multiple screens. each screen is 
a customized UIScreen class. All of them are collected by an umbrella class 
called RenderMan

screen A has a button that "links" to screen B. clicking on it calls a 
RenderMan callback function which deletes the current screen and all widgets 
inside and creates a new one. 

problem is this: when a button gets clicked, the callback tries to delete all 
widgets on the screen, including the one that started the function call. this 
always results in a seg fault. 

are there any ways around this or is there a more elegent solution for 
"changing screens"?

thanks for the help

-- 
leiavoia
The AXIS Project
http://www.project-axis.net/




reply via email to

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