slint/api/cpp/include
Simon Hausmann 96c80a2dd1
Fix crash when using an int model in a repeater with a negative value (#2063)
Make sure that we return an unsigned for row_count() in C++ and Rust by ensuring an unsigned int model at creation time.

For the interpreter this "worked" by chance as casting a negative floating
number to usize automatically caps at zero, and all values are stored as f64. For safety this patch
applies the same fix though, to be on the safe side.
2023-01-14 21:20:14 +01:00
..
slint.h Fix crash when using an int model in a repeater with a negative value (#2063) 2023-01-14 21:20:14 +01:00
slint_brush.h Run clang-format over C++ files 2022-08-17 07:44:22 +02:00
slint_callbacks.h Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
slint_color.h Run clang-format over C++ files 2022-08-17 07:44:22 +02:00
slint_config.h Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
slint_image.h C++: Generate image texture data for software renderer 2022-12-09 09:25:48 +01:00
slint_interpreter.h C++ interpreter: do the renaming invoke_callback -> invoke 2023-01-02 23:55:47 +01:00
slint_pathdata.h Run clang-format over C++ files 2022-08-17 07:44:22 +02:00
slint_platform.h janitor: adaptor -> adapter 2022-12-13 08:35:20 +01:00
slint_point.h c++: Turn (Logical|Physical)(Size|Position)` into structs 2022-09-13 18:17:56 +02:00
slint_properties.h Run clang-format over C++ files 2022-08-17 07:44:22 +02:00
slint_sharedvector.h Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
slint_size.h c++: Turn (Logical|Physical)(Size|Position)` into structs 2022-09-13 18:17:56 +02:00
slint_string.h Run clang-format over C++ files 2022-08-17 07:44:22 +02:00
slint_testing.h Add support for dispatching key events through the public platform API 2022-11-15 10:34:17 +01:00
vtable.h Run clang-format over C++ files 2022-08-17 07:44:22 +02:00