Parsing it isn't the problem. The difficult part is to size the elements right, and support word-wrapping properly without losing performance. I'm not really working on it right now, so don't be holding your breath.mooreaa wrote:Hmm sorry to hear about the HTML version giving u problems. Have you looked at using an external parser like TinyXML?
Looks really cool, can't wait for the next version. Keep us updated!
CGUIExtendedText (colored text and images)
Updated for Irrlicht version 1.4. Download.
I get this error when running on Irr 1.4. I just got thrown from the aplication to this code:
From irrAlocator.h
HAppens when this code is executed from the CColorTextTag::addDefaultColors() method.
Also the modifyed dates are strange, they say 16th of januari 2007 up to march. Not december when you posted for 1.4
From irrAlocator.h
Code: Select all
virtual void* internal_new(size_t cnt)
{
return operator new(cnt);
}
Code: Select all
void CColorTextTag::addColor( const wchar_t* name, video::SColor color )
{
core::stringw str = name;
ColorMap.insert( str, color );
}
Compete or join in irrlichts monthly screenshot competition!
Blog/site: http://rex.4vandorp.eu
Company: http://www.islandworks.eu/, InCourse
Twitter: @strong99
Blog/site: http://rex.4vandorp.eu
Company: http://www.islandworks.eu/, InCourse
Twitter: @strong99
Well you said you had it working for Ir 1.4 ^^
But it seems a problem with the irr::core::map allocatar when adding the colors.
Second is that your example isn't working :S it says no windows exe
But it seems a problem with the irr::core::map allocatar when adding the colors.
Second is that your example isn't working :S it says no windows exe
Compete or join in irrlichts monthly screenshot competition!
Blog/site: http://rex.4vandorp.eu
Company: http://www.islandworks.eu/, InCourse
Twitter: @strong99
Blog/site: http://rex.4vandorp.eu
Company: http://www.islandworks.eu/, InCourse
Twitter: @strong99
well he got one of the problems i got:
I use this code and it goes wrong at the color->addDefaultColors();etcaptor wrote:Thanks fo reply Klasker
Yes, I use your precompiled file in msvc folder only. It's crashes on my home and job PC /XP geForce 6600 and geForce 8600/. Only 1.2 version runs well.
Code: Select all
irr::gui::CColorTextTag* color = new irr::gui::CColorTextTag();
color->addDefaultColors();
Compete or join in irrlichts monthly screenshot competition!
Blog/site: http://rex.4vandorp.eu
Company: http://www.islandworks.eu/, InCourse
Twitter: @strong99
Blog/site: http://rex.4vandorp.eu
Company: http://www.islandworks.eu/, InCourse
Twitter: @strong99
Looks like compiling under VC 2008 works and 2005 version doesn't
Compete or join in irrlichts monthly screenshot competition!
Blog/site: http://rex.4vandorp.eu
Company: http://www.islandworks.eu/, InCourse
Twitter: @strong99
Blog/site: http://rex.4vandorp.eu
Company: http://www.islandworks.eu/, InCourse
Twitter: @strong99
hi guys !
I prevent you I'm french, unfortunately not as well languist as programmer, so my vocabulary might be strange
So, I have a probleme to : when the gui is displayed, my computer begin to do a "biiiiiip", not strong and it apear only when y display gui.
I use xp, in the OS manager (I mean ctrl+alt+supr), I notice the application grow at ~50ko/s in memory space while I display GUI. Is linked to the color->addDefaultColors(); ?
But I tryed without instanciating an irr::gui::CColorTextTag : the text is not displayed but the memory is always "eated"
I prevent you I'm french, unfortunately not as well languist as programmer, so my vocabulary might be strange
So, I have a probleme to : when the gui is displayed, my computer begin to do a "biiiiiip", not strong and it apear only when y display gui.
I use xp, in the OS manager (I mean ctrl+alt+supr), I notice the application grow at ~50ko/s in memory space while I display GUI. Is linked to the color->addDefaultColors(); ?
But I tryed without instanciating an irr::gui::CColorTextTag : the text is not displayed but the memory is always "eated"
-
- Posts: 1638
- Joined: Mon Apr 30, 2007 3:24 am
- Location: Montreal, CANADA
- Contact:
Re: CGUIExtendedText (colored text and images)
Hi everyone!
Does someone have access to sources? I would try to install it on my program.
The link seems to be broken. =X
Does someone have access to sources? I would try to install it on my program.
The link seems to be broken. =X
Re: CGUIExtendedText (colored text and images)
hi,
it is part of irrExt.
but not sure if the source is up to date
http://irrext.svn.sourceforge.net/viewv ... endedText/
it is part of irrExt.
but not sure if the source is up to date
http://irrext.svn.sourceforge.net/viewv ... endedText/
Re: CGUIExtendedText (colored text and images)
great idea:)
Junior Irrlicht Developer.
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me