Stardew Engine
Loading...
Searching...
No Matches
BackgroundBoxWidget.h
Go to the documentation of this file.
1#ifndef BACKGROUNDBOXWIDGET_H
2#define BACKGROUNDBOXWIDGET_H
3
4#include "HandleDefs.h"
5#include "Widget.h"
6
14
15struct XMLUIData;
16struct DataNode;
17
18void BackgroundBoxWidget_fromXML(struct UIWidget* pWidget, struct BackgroundBoxWidgetData* pWidgetData, struct DataNode* pXMLNode, struct XMLUIData* pUILayerData);
19HWidget BackgroundBoxWidgetNew(HWidget hParent, struct DataNode* pXMLNode, struct XMLUIData* pUILayerData);
21 struct BackgroundBoxWidgetData* pBBoxData,
22 VECTOR(WidgetVertex) pOutVerts,
23 float totalWidth,
24 float totalHeight,
25 const struct WidgetPadding* padding,
26 float left, float top
27);
28
30
31
32#endif // !BACKGROUNDBOXWIDGET_H
33
HWidget BackgroundBoxWidgetNew(HWidget hParent, struct DataNode *pXMLNode, struct XMLUIData *pUILayerData)
Definition BackgroundBoxWidget.c:391
void * BackgroundBoxWidget_OutputVerts(struct BackgroundBoxWidgetData *pBBoxData, VECTOR(WidgetVertex) pOutVerts, float totalWidth, float totalHeight, const struct WidgetPadding *padding, float left, float top)
Definition BackgroundBoxWidget.c:132
void BackgroundBoxWidget_fromXML(struct UIWidget *pWidget, struct BackgroundBoxWidgetData *pWidgetData, struct DataNode *pXMLNode, struct XMLUIData *pUILayerData)
Definition BackgroundBoxWidget.c:328
void BackgroundBoxWidget_Destroy(struct BackgroundBoxWidgetData *pBBoxData)
Definition BackgroundBoxWidget.c:45
HGeneric hSprite
Definition HandleDefs.h:17
HGeneric HWidget
Definition HandleDefs.h:8
HGeneric hAtlas
Definition HandleDefs.h:14
#define VECTOR(a)
Definition WfGame.h:8
Definition BackgroundBoxWidget.h:8
char * imageName
Definition BackgroundBoxWidget.h:9
hAtlas atlas
Definition BackgroundBoxWidget.h:12
struct WidgetScale scale
Definition BackgroundBoxWidget.h:10
hSprite sprite
Definition BackgroundBoxWidget.h:11
Definition DataNode.h:53
Definition Widget.h:206
Definition DrawContext.h:27
Definition Widget.h:49
Definition Widget.h:57
Definition XMLUIGameLayer.h:59