Major cleanup.
Moved to namespace Cleanup includes
This commit is contained in:
@@ -9,22 +9,26 @@
|
||||
#include "Nodes/TextNode.h"
|
||||
#include "Font/FontManager.h"
|
||||
#include "../Scripting/ScriptingEngine.h"
|
||||
class InterfaceParser
|
||||
|
||||
namespace Nuake
|
||||
{
|
||||
private:
|
||||
static Ref<Canvas> Root;
|
||||
public:
|
||||
static Ref<Canvas> Parse(const std::string path);
|
||||
class InterfaceParser
|
||||
{
|
||||
private:
|
||||
static Ref<Canvas> Root;
|
||||
public:
|
||||
static Ref<Canvas> Parse(const std::string path);
|
||||
|
||||
static void Iterate(const pugi::xml_node& xml_node, Ref<Node> node, int depth);
|
||||
static void Iterate(const pugi::xml_node& xml_node, Ref<Node> node, int depth);
|
||||
|
||||
static Ref<Node> CreateNode(const pugi::xml_node& xml_node);
|
||||
static Ref<Canvas> CreateCanvas(const pugi::xml_node& xml_node);
|
||||
static Ref<TextNode> CreateTextNode(const pugi::xml_node& xml_node);
|
||||
static Ref<Node> CreateNode(const pugi::xml_node& xml_node);
|
||||
static Ref<Canvas> CreateCanvas(const pugi::xml_node& xml_node);
|
||||
static Ref<TextNode> CreateTextNode(const pugi::xml_node& xml_node);
|
||||
|
||||
static std::vector<std::string> split(std::string const& str, const char delim);
|
||||
static std::vector<std::string> split(std::string const& str, const char delim);
|
||||
|
||||
static Layout::LayoutUnit GetUnit(const std::string& value);
|
||||
static Layout::LayoutVec4 GetVec4Unit(const std::string& value);
|
||||
static Color GetColor(const std::string& value);
|
||||
};
|
||||
static Layout::LayoutUnit GetUnit(const std::string& value);
|
||||
static Layout::LayoutVec4 GetVec4Unit(const std::string& value);
|
||||
static Color GetColor(const std::string& value);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user