|
Stardew Engine
|
#include "XMLUIGameLayer.h"#include "DrawContext.h"#include "InputContext.h"#include "GameFramework.h"#include <stdio.h>#include <stdlib.h>#include <string.h>#include <assert.h>#include "IntTypes.h"#include "DynArray.h"#include "ObjectPool.h"#include "Widget.h"#include "StaticWidget.h"#include "StackPanelWidget.h"#include "Atlas.h"#include "RootWidget.h"#include "main.h"#include "TextWidget.h"#include "BackgroundBoxWidget.h"#include "Scripting.h"#include "Geometry.h"#include "AssertLib.h"#include "TextButtonWidget.h"#include "RadioButtonWidget.h"#include "RadioGroupWidget.h"#include "SliderWidget.h"#include "CanvasWidget.h"#include "TextEntryWidget.h"#include "DataNode.h"#include "StringKeyHashMap.h"#include "GameFrameworkEvent.h"#include <libxml/parser.h>#include <libxml/tree.h>#include "Log.h"
Functions | |
| AddChildFn | LookupWidgetCtor (const char *widgetName) |
| void | AddNodeChildren (HWidget widget, xmlNode *pNode, XMLUIData *pUIData) |
| void | LoadAtlas (XMLUIData *pUIData, xmlNode *child0, DrawContext *pDC) |
| xmlNode * | GetNthChild (xmlNode *node, unsigned int index) |
| 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) |
| void LoadAtlas | ( | XMLUIData * | pUIData, |
| xmlNode * | child0, | ||
| DrawContext * | pDC | ||
| ) |
| AddChildFn LookupWidgetCtor | ( | const char * | widgetName | ) |
| 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 |