mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
BREAKING CHANGE: lcui_set_timeout -> ptk_set_timeout, lcui_set_interval -> ptk_set_interval
27 lines
632 B
C
27 lines
632 B
C
/*
|
|
* tests/test_text_resize.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_text_resize.c"
|
|
#include <ptk/main.h>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
lcui_init();
|
|
|
|
build();
|
|
ptk_set_timeout(2000, test_text_set_content, NULL);
|
|
ptk_set_timeout(3000, test_text_set_short_content_css, NULL);
|
|
ptk_set_timeout(4000, test_text_set_long_content_css, NULL);
|
|
|
|
return lcui_main();
|
|
}
|