C++: Gate the line by line rendering behind experimental flag

This commit is contained in:
Olivier Goffart 2024-04-03 17:41:07 +02:00 committed by Simon Hausmann
parent 48d1b96441
commit 31219223e5
4 changed files with 28 additions and 9 deletions

View file

@ -631,6 +631,7 @@ public:
return PhysicalRegion { r };
}
# ifdef SLINT_FEATURE_EXPERIMENTAL
/// Render the window scene, line by line. The provided Callback will be invoked for each line
/// that needs to rendered.
///
@ -669,7 +670,6 @@ public:
return PhysicalRegion { r };
}
# ifdef SLINT_FEATURE_EXPERIMENTAL
/// This enum describes the rotation that is applied to the buffer when rendering.
/// To be used in set_rendering_rotation()
enum class RenderingRotation {