function to load guieditor files?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Johan
Posts: 32
Joined: Thu Jun 12, 2008 7:51 pm
Location: south africa

function to load guieditor files?

Post by Johan »

hi .would just want to know if theres a function to load the file saved by the guieditor ,or should i code my own .if theres a function already can someone point it out for me and does it create the gui objects itself or should i do it.. im sorry if this was asked before but i couldnt find related info with the search .
compulsive compiler
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

check the API...?

i don't know what this GUI editor is but there's a function in IGUIEnvironment to load an XML file describing a GUI, similar to smgr->loadScene.
Image Image Image
Johan
Posts: 32
Joined: Thu Jun 12, 2008 7:51 pm
Location: south africa

Post by Johan »

Thanx jp.i shall look into it as u said .the guieditor is a gui editor tool ,source code is in the irrlicht tools folder and the prebuild executable is in the irrlicht bin folder or samples bin folder i think.. and yes it saves to xml format .dont know if comes with all versions of irrlicht .is there someone that has used it before ,in a app?
compulsive compiler
Johan
Posts: 32
Joined: Thu Jun 12, 2008 7:51 pm
Location: south africa

Post by Johan »

Darn! i feel like such a idiot ! why didnt i think to look into the source code ,i tell you to much work is a brainkiller.
compulsive compiler
Johan
Posts: 32
Joined: Thu Jun 12, 2008 7:51 pm
Location: south africa

Post by Johan »

Got it , loadgui(filename,0); ..Works fine ,loads guieditor file and creates windows .
compulsive compiler
Post Reply