Couple of quick easy questions to start the day off. Is there anyway to change the output directory of the CEGUI.log file? I have a logs folder Ogre and everything else outputs to, and I would like CEGUI to spew all its unhappy logs into that directory if possible.
Also, I just finished the Menu tutorial. Code version worked perfect, and I got XML mostly working but had a couple of questions.
What is NativeHorzRes/NativeVertRes in the imageset? I changed them around to various amounts but they didn't seem to have any influence on the actual display.
There is also a white border around my render window (despite it being fullscreen) and I am just wondering if there is a border option somewhere I forgot to turn off. It is coming from CEGUI as using pure Ogre code to display a background image was fine.
Thanks!
Change Log Output Path
Moderators: CEGUI MVP, CEGUI Team
Re: Change Log Output Path
NativeHorzRes/NativeVertRes are there to determine the X/Yscaling factor if you set AutoScaled="true" in an imageset xml.
Re: Change Log Output Path
CrimsonGT wrote:Couple of quick easy questions to start the day off. Is there anyway to change the output directory of the CEGUI.log file? I have a logs folder Ogre and everything else outputs to, and I would like CEGUI to spew all its unhappy logs into that directory if possible.
You should call CEGUI::Logger::getSingleton().setLogFilename() before initializing CEGUI.
There is also a white border around my render window (despite it being fullscreen) and I am just wondering if there is a border option somewhere I forgot to turn off. It is coming from CEGUI as using pure Ogre code to display a background image was fine.
What does "render window" mean? Are you talking about a frame window? your gui-sheet? This is too vague. Do you have a screen shot?
If somebody helps you by replying to your thread, upvote him/her as a thanks! Make sure to include your CEGUI.log and everything you tried when posting! And remember that we are not magicians!
Re: Change Log Output Path
As far as the log file goes, is there anyway to make all of the logs go into a custom folder? I noticed when setting setLogFilename() it split the CEGUI output between cegui.log and the one I specified.
As far as the border issues goes, I solved it. I had not used the looknfeel files but the one I was using (taharez or whatever) had borders set to true.
As far as the border issues goes, I solved it. I had not used the looknfeel files but the one I was using (taharez or whatever) had borders set to true.
Re: Change Log Output Path
...before initializing CEGUI.
If somebody helps you by replying to your thread, upvote him/her as a thanks! Make sure to include your CEGUI.log and everything you tried when posting! And remember that we are not magicians!
Who is online
Users browsing this forum: No registered users and 11 guests