2023-08-09 23:45:58 +03:00
|
|
|
#ifndef _SLDRTEXTPROPERTIES
|
|
|
|
|
#define _SLDRTEXTPROPERTIES
|
|
|
|
|
|
|
|
|
|
#include "Kyoto/Graphics/CColor.hpp"
|
|
|
|
|
#include "Kyoto/SObjectTag.hpp"
|
|
|
|
|
#include "Kyoto/Streams/CInputStream.hpp"
|
|
|
|
|
|
|
|
|
|
struct SLdrTextProperties {
|
|
|
|
|
SLdrTextProperties();
|
|
|
|
|
~SLdrTextProperties();
|
|
|
|
|
|
2023-08-11 22:35:54 +03:00
|
|
|
int textBoundingWidth;
|
|
|
|
|
int textBoundingHeight;
|
|
|
|
|
float lineSpacing;
|
|
|
|
|
int lineExtraSpace;
|
|
|
|
|
int characterExtraSpace;
|
|
|
|
|
CColor foregroundColor;
|
|
|
|
|
CColor outlineColor;
|
|
|
|
|
CColor geometryColor;
|
|
|
|
|
CAssetId defaultFont;
|
2023-08-09 23:45:58 +03:00
|
|
|
int unknown_0x18dd95cd;
|
|
|
|
|
int unknown_0x42091548;
|
2023-08-11 22:35:54 +03:00
|
|
|
bool wrapText;
|
2023-08-09 23:45:58 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
void LoadTypedefSLdrTextProperties(SLdrTextProperties&, CInputStream&);
|
|
|
|
|
|
|
|
|
|
#endif // _SLDRTEXTPROPERTIES
|