Files
LCUI/test/test_box_shadow.c
T

23 lines
396 B
C

#include <LCUI_Build.h>
#include <LCUI/LCUI.h>
#include <LCUI/gui/widget.h>
#include <LCUI/gui/builder.h>
#include "test.h"
int main(void)
{
int ret = 0;
LCUI_Widget root, box;
LCUI_Init();
box = LCUIBuilder_LoadFile("test_box_shadow.xml");
if (!box) {
LCUI_Destroy();
return ret;
}
root = LCUIWidget_GetRoot();
Widget_Append(root, box);
Widget_Unwrap(box);
return LCUI_Main();
}