mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
- Add ptk_window_set_icons with Win32 WM_SETICON, X11 _NET_WM_ICON and fb no-op. - Add LCUI window/default icon APIs, DPI-aware HICON selection and pre-rendered built-in icon assets. - Add pandagl memory image readers and fix bilinear zoom edge sampling. - Cover file/data icons, defaults and high-DPI sizes with integration tests.
42 lines
1.6 KiB
C
42 lines
1.6 KiB
C
/*
|
|
* lib/pandagl/tests/main.c
|
|
*
|
|
* Copyright (c) 2026, 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.
|
|
*/
|
|
|
|
#include <ctest.h>
|
|
|
|
extern void test_pandagl_canvas_mix(void);
|
|
extern void test_pandagl_image_reader(void);
|
|
extern void test_pandagl_image_memory_reader(void);
|
|
extern void test_pandagl_font_load(void);
|
|
extern void test_pandagl_text_edit(void);
|
|
extern void test_pandagl_font_cache(void);
|
|
extern void test_pandagl_text_baseline(void);
|
|
extern void test_pandagl_text_style_tag(void);
|
|
extern void test_pandagl_canvas_rotate(void);
|
|
extern void test_pandagl_mask_composite(void);
|
|
extern void test_pandagl_text_decoration(void);
|
|
|
|
static const ctest_suite_t suites[] = {
|
|
{ "pandagl/canvas rotate", test_pandagl_canvas_rotate },
|
|
{ "pandagl/canvas mask", test_pandagl_mask_composite },
|
|
{ "pandagl/canvas mix", test_pandagl_canvas_mix },
|
|
{ "pandagl/image reader", test_pandagl_image_reader },
|
|
{ "pandagl/image memory reader", test_pandagl_image_memory_reader },
|
|
{ "pandagl/font load", test_pandagl_font_load },
|
|
{ "pandagl/text edit", test_pandagl_text_edit },
|
|
{ "pandagl/font cache", test_pandagl_font_cache },
|
|
{ "pandagl/text baseline", test_pandagl_text_baseline },
|
|
{ "pandagl/text style tag", test_pandagl_text_style_tag },
|
|
{ "pandagl/text decoration", test_pandagl_text_decoration },
|
|
{ NULL, NULL }
|
|
};
|
|
|
|
CTEST_MAIN(suites)
|