Search found 19 matches

by syngen101
Wed Nov 05, 2008 13:22
Forum: Help
Topic: Image Buttons
Replies: 20
Views: 11338

I solved my problem, In my .layout file i had TarahezLook/imageButton for type, in the TarahezLook files there is no such mention of this type so I changed it to be TarahezLook/Button and it worked.

Thank you for all of your help
by syngen101
Wed Nov 05, 2008 13:05
Forum: Help
Topic: Image Buttons
Replies: 20
Views: 11338

Just realised another stupid error of mine. I had =100" in the imageset file on one of the buttons. Now my program compiles and with the following code: try{ CEGUI::ImagesetManager::getSingleton().createImageset("NinjaButton.imageset" ); CEGUI::Imageset *m_pImageS...
by syngen101
Wed Nov 05, 2008 08:07
Forum: Help
Topic: Image Buttons
Replies: 20
Views: 11338

Hi thanks for that but I am still getting the same error.
by syngen101
Wed Nov 05, 2008 06:38
Forum: Help
Topic: Image Buttons
Replies: 20
Views: 11338

I changed the .layout file to have </window> call as shown below: <?xml version="1.0" encoding="UTF-8" ?> <GUILayout> <Window Type="TaharezLook/ImageButton" Name="NinjaButton"> <Property Name="UnifiedPosition" Value="{{0,0},{...
by syngen101
Tue Nov 04, 2008 22:59
Forum: Help
Topic: Image Buttons
Replies: 20
Views: 11338

Sorry just realised that in my .layout file I have set the type to TarahezLook/ImageButton. I have not changed the TarahezLook files at all so i guess it doesnt include the ImageButton type. What needs to be done if this is the problem. Sorry about all the noobish questions im new to OGRE, CEGUI and...
by syngen101
Tue Nov 04, 2008 10:47
Forum: Help
Topic: Image Buttons
Replies: 20
Views: 11338

To be more precise with my question I put a try and catch around the line of code in question and got the following error: CEGUI Error: ExpatParser::ParseXMLFile - XML Parsing error 'not well-formed <invalid token>' at line 4CEGUI Error: Imageset::getImageset - No Imageset named 'NinjaButton' is pre...
by syngen101
Tue Nov 04, 2008 10:38
Forum: Help
Topic: Image Buttons
Replies: 20
Views: 11338

Thank you very much, i dont believe that was a spelling mistake >< One more question tho (hopefully) When I changed the spelling I am getting a CEGUI::UnknownObjectException at this line: CEGUI::Imageset *m_pImageSet = CEGUI::ImagesetManager::getSingleton().getImageset( "NinjaButton...
by syngen101
Tue Nov 04, 2008 01:40
Forum: Help
Topic: Image Buttons
Replies: 20
Views: 11338

the error i get when putting a try and catch statment around CEGUI::ImagesetManager::getSingleton().createImageset("NinjaButton.imageset" ); is: CEGUI Error: Imageset::xmlHandler::startElement - an unexpected error occured while creating a Texture object from file ''Texture...
by syngen101
Sun Nov 02, 2008 06:56
Forum: Help
Topic: Image Buttons
Replies: 20
Views: 11338

Also i have done nothing with the original TarahezLook files from the ogre tutorials. Do i have to add something to these files to incorporate my imageButtons?
by syngen101
Sun Nov 02, 2008 06:51
Forum: Help
Topic: Image Buttons
Replies: 20
Views: 11338

Image Buttons

Hi, I am having trouble implementing image buttons. I read the tutorial on http://www.cegui.org.uk/wiki/index.php/Create_ImageButtons to figure out how to make image buttons this is my code: CEGUI::OgreCEGUIRenderer* mGUIRenderer = new CEGUI::OgreCEGUIRenderer(mWindow,Ogre::RENDER_QUEUE_OVERLAY,...
by syngen101
Sun Oct 12, 2008 07:40
Forum: Help
Topic: how to use TaharezLook/StaticImage
Replies: 6
Views: 3902

thanks
by syngen101
Tue Oct 07, 2008 02:55
Forum: Help
Topic: problem introducing CEGUI to an Ogre APP
Replies: 4
Views: 2846

I found my problem, i forgot to add a couple of dll files. cheers for help anyway
by syngen101
Tue Oct 07, 2008 02:48
Forum: Help
Topic: problem introducing CEGUI to an Ogre APP
Replies: 4
Views: 2846

Hi, Yes the scheme file has its name attribute set to "TaharezLook", i have tried commenting out certain sections of the code to see what line it seems to be throwing the exception CEGUI::OgreCEGUIRenderer* mGUIRenderer = new CEGUI::OgreCEGUIRenderer(mWindow,Ogre::RENDER_QUEUE_OVERLAY,...
by syngen101
Mon Oct 06, 2008 04:38
Forum: Help
Topic: how to use TaharezLook/StaticImage
Replies: 6
Views: 3902

Thanks for that I dont believe I didnt find that page on the website from my searches ><. I was also wondering what programs can be used to make the image file (whether it be .png or .tga), I am currently trying to use Gimp but am finding it hard to add more then one item to a file with a 'empty' (n...
by syngen101
Mon Oct 06, 2008 04:34
Forum: Help
Topic: problem introducing CEGUI to an Ogre APP
Replies: 4
Views: 2846

problem introducing CEGUI to an Ogre APP

Hi, I am having a problem adding a mouse cursor using the following code: CEGUI::OgreCEGUIRenderer* mGUIRenderer = new CEGUI::OgreCEGUIRenderer(mWindow,Ogre::RENDER_QUEUE_OVERLAY,false,3000,mSceneManager); CEGUI::System* mGUISystem = new CEGUI::System(mGUIRenderer); CEGUI::SchemeMana...

Go to advanced search