File RootWidget.h

File List > engine > include > RootWidget.h

Go to the documentation of this file

#ifndef ROOTWIDGET_H
#define ROOTWIDGET_H
#include "Widget.h"


struct RootWidgetData
{
    int windowW;
    int windowH;
    bool bIsDirty;
};

bool GetRootWidgetIsDirty(HWidget hRootWidget);

void SetRootWidgetIsDirty(HWidget hRootWidget, bool bIsDirty);

HWidget NewRootWidget();

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

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

#endif