mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
parent
2f4e110111
commit
4c0a435196
12 changed files with 116 additions and 19 deletions
|
|
@ -186,6 +186,7 @@ fn default_config() -> cbindgen::Config {
|
|||
("VoidArg".into(), "void".into()),
|
||||
("KeyEventArg".into(), "KeyEvent".into()),
|
||||
("PointerEventArg".into(), "PointerEvent".into()),
|
||||
("PointerScrollEventArg".into(), "PointerScrollEvent".into()),
|
||||
("PointArg".into(), "slint::LogicalPosition".into()),
|
||||
("FloatArg".into(), "float".into()),
|
||||
("Coord".into(), "float".into()),
|
||||
|
|
@ -277,6 +278,7 @@ fn gen_corelib(
|
|||
"PointerEventKind",
|
||||
"PointerEventButton",
|
||||
"PointerEvent",
|
||||
"PointerScrollEvent",
|
||||
"Rect",
|
||||
"SortOrder",
|
||||
"BitmapFont",
|
||||
|
|
@ -325,6 +327,7 @@ fn gen_corelib(
|
|||
"VoidArg",
|
||||
"KeyEventArg",
|
||||
"PointerEventArg",
|
||||
"PointerScrollEventArg",
|
||||
"PointArg",
|
||||
"Point",
|
||||
"slint_color_brighter",
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ using ItemArray = slint::cbindgen_private::Slice<ItemArrayEntry>;
|
|||
using cbindgen_private::KeyboardModifiers;
|
||||
using cbindgen_private::KeyEvent;
|
||||
using cbindgen_private::PointerEvent;
|
||||
using cbindgen_private::PointerScrollEvent;
|
||||
using cbindgen_private::TableColumn;
|
||||
|
||||
constexpr inline ItemTreeNode make_item_node(uint32_t child_count, uint32_t child_index,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue