Documentation improvements (some comment was misplaced and was attributed to the namespace and not the function inside the namespace where it belonged)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5265 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
e6b0b5238d
commit
00683fb0a5
@ -71,6 +71,9 @@ namespace GUIEngine
|
||||
|
||||
/**
|
||||
* \ingroup guiengine
|
||||
* \brief Loads a GUI screen from its XML file.
|
||||
* Builds a hierarchy of Widget objects whose contents are a direct transcription of the XML file,
|
||||
* with little analysis or layout performed on them.
|
||||
*/
|
||||
void parseScreenFileDiv(irr::io::IrrXMLReader* xml, ptr_vector<Widget>& append_to);
|
||||
|
||||
|
@ -34,15 +34,7 @@ using namespace io;
|
||||
using namespace gui;
|
||||
using namespace GUIEngine;
|
||||
|
||||
/**
|
||||
* Loads a GUI screen from its XML file. Builds a hierarchy of Widget objects whose
|
||||
* contents are a direct transcription of the XML file, with little analysis or layout
|
||||
* performed on them.
|
||||
*/
|
||||
namespace GUIEngine
|
||||
{
|
||||
|
||||
void parseScreenFileDiv(irr::io::IrrXMLReader* xml, ptr_vector<Widget>& append_to)
|
||||
void GUIEngine::parseScreenFileDiv(irr::io::IrrXMLReader* xml, ptr_vector<Widget>& append_to)
|
||||
{
|
||||
// parse XML file
|
||||
while(xml && xml->read())
|
||||
@ -223,4 +215,3 @@ if(prop_name != NULL) widget.m_properties[prop_flag] = prop_name; else widget.m_
|
||||
} // end while
|
||||
} // end function
|
||||
|
||||
} // end namespace
|
||||
|
Loading…
Reference in New Issue
Block a user