mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 10:50:00 +00:00
Fix NativeSlider::changed in C++
FloatArgs is not properly exposed to C++
This commit is contained in:
parent
8eddeb6a80
commit
d940a0b35d
2 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,7 @@ fn default_config() -> cbindgen::Config {
|
|||
("KeyEventArg".into(), "KeyEvent".into()),
|
||||
("PointerEventArg".into(), "PointerEvent".into()),
|
||||
("PointArg".into(), "Point".into()),
|
||||
("FloatArg".into(), "float".into()),
|
||||
]
|
||||
.iter()
|
||||
.cloned()
|
||||
|
@ -442,6 +443,7 @@ fn gen_backend_qt(
|
|||
];
|
||||
|
||||
config.export.include = items.iter().map(|x| x.to_string()).collect();
|
||||
config.export.exclude = vec!["FloatArg".into()];
|
||||
|
||||
config.export.body.insert(
|
||||
"NativeStyleMetrics".to_owned(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue