Files
LCUI/tests/test_text_resize.c
Liu bdd7cb5f75 feat: merge libtimer into libptk
BREAKING CHANGE: lcui_set_timeout -> ptk_set_timeout, lcui_set_interval -> ptk_set_interval
2024-12-07 13:30:29 +08:00

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();
}