|
Stardew Engine
|
#include <libxml/tree.h>#include <stdbool.h>#include "HandleDefs.h"#include "DynArray.h"#include "Widget.h"#include "DrawContext.h"#include "TimerPool.h"#include "InputContext.h"

Go to the source code of this file.
Data Structures | |
| struct | XMLUIGameLayerOptions |
| struct | WidgetChildrenChangeRequest |
| its a "request" because if an ancenstor of the requesting widget also requests then the request is overruled More... | |
| struct | XMLUIData |
Macros | |
| #define | XML_UI_MAX_PATH 256 |
| #define | MAX_FOCUSED_WIDGETS 16 |
Typedefs | |
| typedef HWidget(* | AddChildFn) (HWidget hParent, struct DataNode *pDataNode, struct XMLUIData *pUILayerData) |
| Function pointer typedef for adding a new widget, described by pDataNode as a child of hParent should return a handle to the created widget. | |
| typedef struct XMLUIData | XMLUIData |
Functions | |
| void | XMLUIGameLayer_Get (struct GameFrameworkLayer *pLayer, struct XMLUIGameLayerOptions *pOptions) |
| Get and possibly load (if bLoadImmediately) a ui layer defined by xml. | |
| void | XMLUI_PushGameFrameworkLayer (const char *xmlPath) |
| #define MAX_FOCUSED_WIDGETS 16 |
| #define XML_UI_MAX_PATH 256 |
| typedef HWidget(* AddChildFn) (HWidget hParent, struct DataNode *pDataNode, struct XMLUIData *pUILayerData) |
Function pointer typedef for adding a new widget, described by pDataNode as a child of hParent should return a handle to the created widget.
| void XMLUI_PushGameFrameworkLayer | ( | const char * | xmlPath | ) |
| void XMLUIGameLayer_Get | ( | struct GameFrameworkLayer * | pLayer, |
| struct XMLUIGameLayerOptions * | pOptions | ||
| ) |
Get and possibly load (if bLoadImmediately) a ui layer defined by xml.
| pLayer | (Out) layer to turn into an xml ui layer |
| pOptions | options for creation |