paragui-users
[Top][All Lists]
Advanced

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

[paragui-users] Problem with invisible buttons


From: STenyaK (Bruno González)
Subject: [paragui-users] Problem with invisible buttons
Date: Wed, 03 Mar 2004 17:27:37 -0000
User-agent: Opera7.23/Linux M2 build 518

Hi all!

I'm trying to get some menues working with paragui. I've taken some examples 
and integrated 2 simple menues into a program. The problem is that sometimes 
(generally the 3rd time the menuFunction is called inside the program), the 
buttons can't be seen on screen, although they can be clicked (if you know 
where they are of course).

The code is here (guiEngine.cpp): 
http://cvs.sourceforge.net/viewcvs.py/motorsport/src/gui/guiEngine.cpp?rev=1.2&view=auto
First, we call the gui.start(...) function.
After that, we call the gui.step() function, which calls either mainMenu() 
function or optionsMenu() function, depending on the button clicked before. The 
gui.step function is called several times in the main program; once every time 
the user goes to a new menu.
And finally (when we're about to close the whole program) we call the 
gui.stop() function.

You can see how these functions are called here (main.cpp): 
http://cvs.sourceforge.net/viewcvs.py/motorsport/src/main.cpp?rev=1.11&view=auto

You can anonymously download the cvs code and compile it to see the error for 
yourselves. I can't see anything wrong with the code, it's basically a 
copy&paste$customize of existing examples, but well... who knows (I haven't 
found any step-by-step guide on how to use paragui, a simple tutorial or some 
documentation appart from the doxygen-generated one).

Do you have any idea what's wrong?
Thanks in advance for the help

--
Saludos,
     STenyaK

-----------------------------------
MAIL= stenyak@@iespana.es
ICQ#= 153709484
SITE= http://kwh.iespana.es
Motorsport - For Simracers, by Simracers - http://motorsport.sourceforge.net




reply via email to

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