File RootWidget.h

FileList > engine > include > RootWidget.h

Go to the source code of this file

  • #include "Widget.h"

Classes

Type Name
struct RootWidgetData

Public Functions

Type Name
bool GetRootWidgetIsDirty (HWidget hRootWidget)
HWidget NewRootWidget ()
void RootWidget_LayoutChildren (struct UIWidget * pThis, struct UIWidget * pParent, float scrollX, float scrollY)
void RootWidget_OnWindowSizeChanged (HWidget rootWidget, int newW, int newH)
void SetRootWidgetIsDirty (HWidget hRootWidget, bool bIsDirty)
if dirty, a whole tree rebuild will be triggered

Public Functions Documentation

function GetRootWidgetIsDirty

bool GetRootWidgetIsDirty (
    HWidget hRootWidget
) 

function NewRootWidget

HWidget NewRootWidget () 

function RootWidget_LayoutChildren

void RootWidget_LayoutChildren (
    struct UIWidget * pThis,
    struct UIWidget * pParent,
    float scrollX,
    float scrollY
) 

function RootWidget_OnWindowSizeChanged

void RootWidget_OnWindowSizeChanged (
    HWidget rootWidget,
    int newW,
    int newH
) 

function SetRootWidgetIsDirty

if dirty, a whole tree rebuild will be triggered

void SetRootWidgetIsDirty (
    HWidget hRootWidget,
    bool bIsDirty
) 

Parameters:

  • hRootWidget
  • bIsDirty


The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/engine/include/RootWidget.h