|
Stardew Engine
|
#include "RootWidget.h"#include "Widget.h"#include "main.h"#include <string.h>#include <stdlib.h>#include "AssertLib.h"
Functions | |
| float | RootWidget_GetWidth (struct UIWidget *pWidget, struct UIWidget *pParent) |
| float | RootWidget_GetHeight (struct UIWidget *pWidget, struct UIWidget *pParent) |
| void | RootWidget_LayoutChildren (struct UIWidget *pThis, struct UIWidget *pParent, float scrollX, float scrollY) |
| void | RootWidget_OnDestroy (struct UIWidget *pThis) |
| void | MakeIntoRootWidget (HWidget widget) |
| HWidget | NewRootWidget () |
| void | RootWidget_OnWindowSizeChanged (HWidget rootWidget, int newW, int newH) |
| bool | GetRootWidgetIsDirty (HWidget hRootWidget) |
| void | SetRootWidgetIsDirty (HWidget hRootWidget, bool bIsDirty) |
| if dirty, a whole tree rebuild will be triggered | |
| bool GetRootWidgetIsDirty | ( | HWidget | hRootWidget | ) |
| void MakeIntoRootWidget | ( | HWidget | widget | ) |
| HWidget NewRootWidget | ( | ) |
| void RootWidget_LayoutChildren | ( | struct UIWidget * | pThis, |
| struct UIWidget * | pParent, | ||
| float | scrollX, | ||
| float | scrollY | ||
| ) |
| void RootWidget_OnDestroy | ( | struct UIWidget * | pThis | ) |
| void RootWidget_OnWindowSizeChanged | ( | HWidget | rootWidget, |
| int | newW, | ||
| int | newH | ||
| ) |
| void SetRootWidgetIsDirty | ( | HWidget | hRootWidget, |
| bool | bIsDirty | ||
| ) |
if dirty, a whole tree rebuild will be triggered
| hRootWidget | |
| bIsDirty |