Stardew Engine
Loading...
Searching...
No Matches
XMLUIGameLayer.c File Reference
#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"
Include dependency graph for XMLUIGameLayer.c:

Functions

AddChildFn LookupWidgetCtor (const char *widgetName)
 
void AddNodeChildren (HWidget widget, xmlNode *pNode, XMLUIData *pUIData)
 
void LoadAtlas (XMLUIData *pUIData, xmlNode *child0, DrawContext *pDC)
 
xmlNodeGetNthChild (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)
 

Function Documentation

◆ AddNodeChildren()

void AddNodeChildren ( HWidget  widget,
xmlNode pNode,
XMLUIData pUIData 
)

◆ GetNthChild()

xmlNode * GetNthChild ( xmlNode node,
unsigned int  index 
)

◆ LoadAtlas()

void LoadAtlas ( XMLUIData pUIData,
xmlNode child0,
DrawContext pDC 
)

◆ LookupWidgetCtor()

AddChildFn LookupWidgetCtor ( const char *  widgetName)

◆ XMLUI_PushGameFrameworkLayer()

void XMLUI_PushGameFrameworkLayer ( const char *  xmlPath)

◆ XMLUIGameLayer_Get()

void XMLUIGameLayer_Get ( struct GameFrameworkLayer pLayer,
struct XMLUIGameLayerOptions pOptions 
)

Get and possibly load (if bLoadImmediately) a ui layer defined by xml.

Parameters
pLayer(Out) layer to turn into an xml ui layer
pOptionsoptions for creation