2023-01-02 13:17:18 -06:00
|
|
|
#ifndef UI_LOAD_XML_HPP
|
|
|
|
|
#define UI_LOAD_XML_HPP
|
|
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
|
|
|
|
|
|
class CSimpleFontString;
|
|
|
|
|
class CSimpleFrame;
|
|
|
|
|
class CSimpleTexture;
|
|
|
|
|
class CStatus;
|
|
|
|
|
class XMLNode;
|
|
|
|
|
class CImVector;
|
|
|
|
|
|
2023-01-04 17:25:03 -06:00
|
|
|
int32_t LoadXML_Color(XMLNode* node, CImVector& color);
|
2023-01-02 13:17:18 -06:00
|
|
|
|
2023-01-04 17:25:03 -06:00
|
|
|
int32_t LoadXML_Dimensions(XMLNode* node, float& x, float& y, CStatus* status);
|
2023-01-02 13:17:18 -06:00
|
|
|
|
2023-01-04 17:25:03 -06:00
|
|
|
int32_t LoadXML_Insets(XMLNode* node, float& left, float& right, float& top, float& bottom, CStatus* status);
|
2023-01-02 13:17:18 -06:00
|
|
|
|
2023-01-04 17:25:03 -06:00
|
|
|
CSimpleFontString* LoadXML_String(XMLNode* node, CSimpleFrame* frame, CStatus* status);
|
2023-01-02 13:17:18 -06:00
|
|
|
|
2023-01-04 17:25:03 -06:00
|
|
|
CSimpleTexture* LoadXML_Texture(XMLNode* node, CSimpleFrame* frame, CStatus* status);
|
2023-01-02 13:17:18 -06:00
|
|
|
|
2023-01-04 17:25:03 -06:00
|
|
|
int32_t LoadXML_Value(XMLNode* node, float& value, CStatus* status);
|
2023-01-02 13:17:18 -06:00
|
|
|
|
|
|
|
|
#endif
|