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
6
struct
RootWidgetData
7
{
8
int
windowW
;
9
int
windowH
;
10
bool
bIsDirty
;
11
};
12
13
bool
GetRootWidgetIsDirty
(
HWidget
hRootWidget);
14
18
void
SetRootWidgetIsDirty
(
HWidget
hRootWidget,
bool
bIsDirty);
19
20
HWidget
NewRootWidget
();
21
22
void
RootWidget_OnWindowSizeChanged
(
HWidget
rootWidget,
int
newW,
int
newH);
23
24
void
RootWidget_LayoutChildren
(
struct
UIWidget
* pThis,
struct
UIWidget
* pParent,
float
scrollX,
float
scrollY);
25
26
#endif
HWidget
HGeneric HWidget
Definition
HandleDefs.h:8
RootWidget_OnWindowSizeChanged
void RootWidget_OnWindowSizeChanged(HWidget rootWidget, int newW, int newH)
Definition
RootWidget.c:136
NewRootWidget
HWidget NewRootWidget()
Definition
RootWidget.c:129
GetRootWidgetIsDirty
bool GetRootWidgetIsDirty(HWidget hRootWidget)
Definition
RootWidget.c:146
RootWidget_LayoutChildren
void RootWidget_LayoutChildren(struct UIWidget *pThis, struct UIWidget *pParent, float scrollX, float scrollY)
Definition
RootWidget.c:18
SetRootWidgetIsDirty
void SetRootWidgetIsDirty(HWidget hRootWidget, bool bIsDirty)
if dirty, a whole tree rebuild will be triggered
Definition
RootWidget.c:154
Widget.h
RootWidgetData
Definition
RootWidget.h:7
RootWidgetData::windowH
int windowH
Definition
RootWidget.h:9
RootWidgetData::windowW
int windowW
Definition
RootWidget.h:8
RootWidgetData::bIsDirty
bool bIsDirty
Definition
RootWidget.h:10
UIWidget
Definition
Widget.h:206
Stardew
engine
include
RootWidget.h
Generated by
1.9.8