thunderbrew/src/ui/LoadXML.hpp
2023-01-04 17:25:03 -06:00

26 lines
686 B
C++

#ifndef UI_LOAD_XML_HPP
#define UI_LOAD_XML_HPP
#include <cstdint>
class CSimpleFontString;
class CSimpleFrame;
class CSimpleTexture;
class CStatus;
class XMLNode;
class CImVector;
int32_t LoadXML_Color(XMLNode* node, CImVector& color);
int32_t LoadXML_Dimensions(XMLNode* node, float& x, float& y, CStatus* status);
int32_t LoadXML_Insets(XMLNode* node, float& left, float& right, float& top, float& bottom, CStatus* status);
CSimpleFontString* LoadXML_String(XMLNode* node, CSimpleFrame* frame, CStatus* status);
CSimpleTexture* LoadXML_Texture(XMLNode* node, CSimpleFrame* frame, CStatus* status);
int32_t LoadXML_Value(XMLNode* node, float& value, CStatus* status);
#endif