mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
26 lines
625 B
C
26 lines
625 B
C
/*
|
|
* tests/scenes/flex_layout_scene.c
|
|
*
|
|
* Copyright (c) 2026, Liu Chao <hello@lcui.dev> All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
* This file is part of LCUI, distributed under the MIT License found in the
|
|
* LICENSE.TXT file in the root directory of this source tree.
|
|
*/
|
|
|
|
#include <LCUI.h>
|
|
#include "flex_layout_scene.h"
|
|
|
|
void flex_layout_scene_build(void)
|
|
{
|
|
ui_widget_t *root;
|
|
ui_widget_t *wrapper;
|
|
|
|
wrapper = ui_load_xml_file("test_flex_layout.xml");
|
|
root = ui_root();
|
|
ui_widget_append(root, wrapper);
|
|
ui_widget_unwrap(wrapper);
|
|
ui_update();
|
|
}
|