mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 10:50:00 +00:00
Add 9slice information at runtime
This commit is contained in:
parent
22d9fc9cf9
commit
97067c3d65
12 changed files with 140 additions and 30 deletions
|
@ -354,6 +354,7 @@ fn gen_corelib(
|
|||
"slint_image_load_from_embedded_data",
|
||||
"slint_image_from_embedded_textures",
|
||||
"slint_image_compare_equal",
|
||||
"slint_image_set_nine_slice_edges",
|
||||
"slint_timer_start",
|
||||
"slint_timer_singleshot",
|
||||
"slint_timer_destroy",
|
||||
|
@ -463,6 +464,7 @@ fn gen_corelib(
|
|||
"slint_image_load_from_embedded_data",
|
||||
"slint_image_from_embedded_textures",
|
||||
"slint_image_compare_equal",
|
||||
"slint_image_set_nine_slice_edges",
|
||||
"SharedPixelBuffer",
|
||||
"SharedImageBuffer",
|
||||
"StaticTextures",
|
||||
|
@ -470,7 +472,7 @@ fn gen_corelib(
|
|||
],
|
||||
vec!["Color"],
|
||||
"slint_image_internal.h",
|
||||
"namespace slint::cbindgen_private { struct ParsedSVG{}; struct HTMLImage{}; using namespace vtable; }",
|
||||
"namespace slint::cbindgen_private { struct ParsedSVG{}; struct HTMLImage{}; using namespace vtable; namespace types{ struct NineSliceImage{}; } }",
|
||||
),
|
||||
(
|
||||
vec!["Color", "slint_color_brighter", "slint_color_darker",
|
||||
|
@ -537,6 +539,7 @@ fn gen_corelib(
|
|||
"slint_image_path",
|
||||
"slint_image_load_from_path",
|
||||
"slint_image_load_from_embedded_data",
|
||||
"slint_image_set_nine_slice_edges",
|
||||
"slint_image_from_embedded_textures",
|
||||
"slint_image_compare_equal",
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue