Two attribute type fixes by CuteAlien.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@951 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
b8eb707b79
commit
faecfd46e3
|
@ -819,7 +819,7 @@ public:
|
|||
setEnabled(in->getAttributeAsBool("Enabled"));
|
||||
IsTabStop = in->getAttributeAsBool("TabStop");
|
||||
IsTabGroup = in->getAttributeAsBool("TabGroup");
|
||||
TabOrder = in->getAttributeAsBool("TabOrder");
|
||||
TabOrder = in->getAttributeAsInt("TabOrder");
|
||||
|
||||
core::position2di p = in->getAttributeAsPosition2d("MaxSize");
|
||||
setMaxSize(core::dimension2di(p.X,p.Y));
|
||||
|
|
|
@ -431,8 +431,8 @@ void CGUIStaticText::deserializeAttributes(io::IAttributes* in, io::SAttributeRe
|
|||
|
||||
IGUIStaticText::deserializeAttributes(in,options);
|
||||
|
||||
Border = in->getAttributeAsBool ("Border");
|
||||
OverrideColor = in->getAttributeAsBool("OverrideColor");
|
||||
Border = in->getAttributeAsBool("Border");
|
||||
OverrideColor = in->getAttributeAsColor("OverrideColor");
|
||||
|
||||
enableOverrideColor(in->getAttributeAsBool("OverrideColorEnabled"));
|
||||
setWordWrap(in->getAttributeAsBool("WordWrap"));
|
||||
|
@ -449,3 +449,4 @@ void CGUIStaticText::deserializeAttributes(io::IAttributes* in, io::SAttributeRe
|
|||
} // end namespace irr
|
||||
|
||||
#endif // _IRR_COMPILE_WITH_GUI_
|
||||
|
||||
|
|
Loading…
Reference in New Issue