scrollablepane in Ogre how to ?

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

gabdab
Just popping in
Just popping in
Posts: 5
Joined: Mon Mar 22, 2010 10:59

scrollablepane in Ogre how to ?

Postby gabdab » Mon Mar 22, 2010 11:02

Hello,
I was trying to use the scrollable pane sample inside the ogre engine, but I am encountering some errors .
Anyone pointing me to some code or infos ?

Jamarr
CEGUI MVP
CEGUI MVP
Posts: 812
Joined: Tue Jun 03, 2008 23:59
Location: USA

Re: scrollablepane in Ogre how to ?

Postby Jamarr » Mon Mar 22, 2010 16:22

You need to describe what the error is, and how you are producing it. You need to post your CEGUI.log file, as specified in the Forum Guidlines, along with any other debug information pertinent to the problem. We cannot help you if you do not provide sufficient information.

In regards to code and information on using a Scrollable Pane, have you looked at the samples and sample code provided with the sdk? Have you tried searching for relevant information on the wiki and forums?
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!

gabdab
Just popping in
Just popping in
Posts: 5
Joined: Mon Mar 22, 2010 10:59

Re: scrollablepane in Ogre how to ?

Postby gabdab » Mon Mar 22, 2010 17:05

I pasted the code here:
http://pastebin.org/120429
To be correct it outputs no errors ,but shows a blank screen where I expected to see a framewindow at least.
I did all the searching possible but no luck yet.

Jamarr
CEGUI MVP
CEGUI MVP
Posts: 812
Joined: Tue Jun 03, 2008 23:59
Location: USA

Re: scrollablepane in Ogre how to ?

Postby Jamarr » Mon Mar 22, 2010 18:15

It looks like you are using CEGUI v0.6 but I can't be certain. Can you post your CEGUI.log file? And can you also post the .layout file you are using?
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!

gabdab
Just popping in
Just popping in
Posts: 5
Joined: Mon Mar 22, 2010 10:59

Re: scrollablepane in Ogre how to ?

Postby gabdab » Tue Mar 23, 2010 15:16

Hello,
thanks for helping.
This is cegui log file :
http://pastebin.org/121129
I am not loading a layout at the moment and have commented out that part ,but basically this is the one I am using (unsuccesfully):
http://pastebin.com/WmLXwhym

As for cegui version it is 0.6.2 .

I evince from my own words that I should try latest cegui version and ogre..

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: scrollablepane in Ogre how to ?

Postby CrazyEddie » Thu Mar 25, 2010 09:54

Hi,

Do you see the mouse cursor at all? Or is the screen entirely free from CEGUI rendering? Does the FrameWindow appear correctly if you do not have the scrollable pane attached?

CE.

gabdab
Just popping in
Just popping in
Posts: 5
Joined: Mon Mar 22, 2010 10:59

Re: scrollablepane in Ogre how to ?

Postby gabdab » Fri Mar 26, 2010 16:33

Hi,
I can see the mouse cursor ,yes ,so CEGUI renders no problem.
Commenting the scrollablepane out is just the same .. mouse cursor only showing.
I might have to dig into scrollable panel properties or else ?

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: scrollablepane in Ogre how to ?

Postby CrazyEddie » Fri Mar 26, 2010 19:11

I've re-examined your posted code; I see the FrameWindow is actually the root, and that you don't set a size - perhaps setting a size for the frame window will encourage it to show up? Also you may need to inform the OgreCEGUIRenderer of the display size via OgreCEGUIRenderer:: setDisplaySize - which takes a CEGUI::Size object describing the window or screen size in pixels.

CE.

gabdab
Just popping in
Just popping in
Posts: 5
Joined: Mon Mar 22, 2010 10:59

Re: scrollablepane in Ogre how to ?

Postby gabdab » Sat Mar 27, 2010 09:18

..yes , working now !
Many thanks for helping :)


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 8 guests