mr.Zog
20-10-2007 19:16:55
Hi!
I want to use multiple sheets:
one for the ingame HUD and one for the ingame Menu / server stats.
Now when I write
followed by some other code creating labels...
and later on I want to access the sheets:
It doesn't seem to be able to find the sheet.
Am I understanding something wrong here?
I'm using the current svn-version of quickgui.
Are sheets thought to be used this way?
Or should I use two GUIManagers instead?
Thanks in advance!
Chris
I want to use multiple sheets:
one for the ingame HUD and one for the ingame Menu / server stats.
Now when I write
this->ingameMenuSheet = GUIManager->createSheet();
this->ingameMenuSheet->setName( "ingameMenuSheet" );
this->hudSheet = GUIManager->createSheet();
this->hudSheet->setName( "hudSheet" );
followed by some other code creating labels...
and later on I want to access the sheets:
this->GUIManager->getSheet( "hudSheet" )
It doesn't seem to be able to find the sheet.
Am I understanding something wrong here?
I'm using the current svn-version of quickgui.
Are sheets thought to be used this way?
Or should I use two GUIManagers instead?
Thanks in advance!
Chris