|
Stardew Engine
|
#include "TextWidget.h"#include "XMLUIGameLayer.h"#include "Widget.h"#include "Atlas.h"#include "AssertLib.h"#include <stdio.h>#include <string.h>#include "WidgetVertexOutputHelpers.h"#include "DataNode.h"#include "Scripting.h"#include "RootWidget.h"#include "Log.h"
Functions | |
| void | TextWidget_Destroy (struct TextWidgetData *pData) |
| void * | TextWidget_OutputVerts (float left, float top, const struct WidgetPadding *padding, struct TextWidgetData *pData, VECTOR(WidgetVertex) pOutVerts) |
| void * | TextWidget_OutputAtLetter (float left, float top, const struct WidgetPadding *padding, struct TextWidgetData *pData, char charOverlay, int letterOverlay, VECTOR(WidgetVertex) pOutVerts) |
| overlay a charcter at a given letter in the string | |
| void | TextWidget_FromXML (struct UIWidget *pWidget, struct TextWidgetData *pData, struct DataNode *pXMLNode, struct XMLUIData *pUILayerData) |
| HWidget | TextWidgetNew (HWidget hParent, struct DataNode *pDataNode, struct XMLUIData *pUILayerData) |
| void TextWidget_Destroy | ( | struct TextWidgetData * | pData | ) |
| void TextWidget_FromXML | ( | struct UIWidget * | pWidget, |
| struct TextWidgetData * | pData, | ||
| struct DataNode * | pXMLNode, | ||
| struct XMLUIData * | pUILayerData | ||
| ) |
| void * TextWidget_OutputAtLetter | ( | float | left, |
| float | top, | ||
| const struct WidgetPadding * | padding, | ||
| struct TextWidgetData * | pData, | ||
| char | charOverlay, | ||
| int | letterOverlay, | ||
| VECTOR(WidgetVertex) | pOutVerts | ||
| ) |
overlay a charcter at a given letter in the string
| left | |
| top | |
| padding | |
| pData | |
| charOverlay | |
| letterOverlay | |
| pOutVerts |
| void * TextWidget_OutputVerts | ( | float | left, |
| float | top, | ||
| const struct WidgetPadding * | padding, | ||
| struct TextWidgetData * | pData, | ||
| VECTOR(WidgetVertex) | pOutVerts | ||
| ) |