2 #include "oxygine-include.h" 4 #include "pugixml/pugixml.hpp" 5 #include "core/Object.h" 14 const std::string& path,
16 bool load,
bool alpha,
17 pugi::xml_node xml, pugi::xml_node meta);
19 bool empty()
const {
return _root.empty();}
21 const std::string& getCurrentFolder()
const {
return _path; }
22 const std::string& getXmlFolder()
const {
return *_xmlFolder; }
23 std::string getPath(
const char* attrName)
const;
24 pugi::xml_node getNode()
const {
return _root;}
25 pugi::xml_node getMeta()
const {
return _rootMeta;}
26 float getScaleFactor()
const {
return _scaleFactor;}
27 bool getLoad()
const {
return _load;}
28 bool getAlphaHitTest()
const {
return _alphaHitTest; }
29 const char* getType()
const {
return _root.name();}
31 void checkSetAttributes();
32 void setXmlFolder(
const std::string* ptr) { _xmlFolder = ptr; }
36 pugi::xml_node nextMeta();
39 void _checkSetAttributes(pugi::xml_node node);
40 std::string connectPath(
const char* currentPath,
const char* str);
42 const std::string* _xmlFolder;
48 pugi::xml_node _rootMeta;
49 pugi::xml_node _lastMeta;
64 walker(0,
"", 1.0f,
true,
false, pugi::xml_node(), pugi::xml_node())
71 const std::string* xml_name;
72 const std::string* prebuilt_folder;
76 DECLARE_SMART(
Image, spImage);
103 virtual bool isNeedProceed(spNativeTexture t) = 0;
111 bool isNeedProceed(spNativeTexture t)
override;
119 bool isNeedProceed(spNativeTexture t)
override;
127 bool isNeedProceed(spNativeTexture t)
override;
Definition: CreateResourceContext.h:114
Definition: CreateResourceContext.h:94
Definition: Resources.h:19
Definition: CreateResourceContext.h:80
–oxgl-end–!
Definition: Actor.h:14
Definition: CreateResourceContext.h:10
Definition: CreateResourceContext.h:106
Definition: CreateResourceContext.h:60
Definition: CreateResourceContext.h:122
Definition: Resources.h:43
Definition: NativeTexture.h:10