mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-12-01 16:56:34 +01:00
26 lines
619 B
C
26 lines
619 B
C
/*
|
|
* tests/test_scrollbar.c
|
|
*
|
|
* Copyright (c) 2023, Liu Chao <i@lc-soft.io> 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.
|
|
*/
|
|
|
|
#define PREVIEW_MODE
|
|
#include "./cases/test_scrollbar.c"
|
|
#include <ptk/main.h>
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
lcui_init();
|
|
ui_widget_resize(ui_root(), 800, 640);
|
|
ui_load_css_string(test_css, __FILE__);
|
|
/* We have two ways to build content view */
|
|
build_content_view_from_xml();
|
|
build_content_view();
|
|
return lcui_main();
|
|
}
|