Stardew Engine
Loading...
Searching...
No Matches
RootWidget.h
Go to the documentation of this file.
1#ifndef ROOTWIDGET_H
2#define ROOTWIDGET_H
3#include "Widget.h"
4
5
7{
8 int windowW;
9 int windowH;
11};
12
13bool GetRootWidgetIsDirty(HWidget hRootWidget);
14
18void SetRootWidgetIsDirty(HWidget hRootWidget, bool bIsDirty);
19
21
22void RootWidget_OnWindowSizeChanged(HWidget rootWidget, int newW, int newH);
23
24void RootWidget_LayoutChildren(struct UIWidget* pThis, struct UIWidget* pParent, float scrollX, float scrollY);
25
26#endif
HGeneric HWidget
Definition HandleDefs.h:8
void RootWidget_OnWindowSizeChanged(HWidget rootWidget, int newW, int newH)
Definition RootWidget.c:136
HWidget NewRootWidget()
Definition RootWidget.c:129
bool GetRootWidgetIsDirty(HWidget hRootWidget)
Definition RootWidget.c:146
void RootWidget_LayoutChildren(struct UIWidget *pThis, struct UIWidget *pParent, float scrollX, float scrollY)
Definition RootWidget.c:18
void SetRootWidgetIsDirty(HWidget hRootWidget, bool bIsDirty)
if dirty, a whole tree rebuild will be triggered
Definition RootWidget.c:154
Definition RootWidget.h:7
int windowH
Definition RootWidget.h:9
int windowW
Definition RootWidget.h:8
bool bIsDirty
Definition RootWidget.h:10
Definition Widget.h:206