/* * tests/test_scrollbar.c * * Copyright (c) 2023, Liu Chao 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 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 */ BuildContentViewFromXML(); BuildContentView(); return lcui_main(); }