mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-03 18:29:09 +00:00
Re-run clang-format with version 18
This commit is contained in:
parent
355a8ab62b
commit
650f19a33c
10 changed files with 70 additions and 135 deletions
|
@ -392,10 +392,7 @@ public:
|
|||
/// Returns a copy of text stored in the system clipboard, if any.
|
||||
///
|
||||
/// If the platform doesn't support the specified clipboard, the function should return nullopt
|
||||
virtual std::optional<SharedString> clipboard_text(Clipboard)
|
||||
{
|
||||
return {};
|
||||
}
|
||||
virtual std::optional<SharedString> clipboard_text(Clipboard) { return {}; }
|
||||
|
||||
/// Spins an event loop and renders the visible windows.
|
||||
virtual void run_event_loop() { }
|
||||
|
@ -698,10 +695,9 @@ public:
|
|||
/// to fill it with pixels. After the line buffer is filled with pixels, your implementation is
|
||||
/// free to flush that line to the screen for display.
|
||||
template<typename Callback>
|
||||
requires requires(Callback callback)
|
||||
{
|
||||
callback(size_t(0), size_t(0), size_t(0), [&callback](std::span<Rgb565Pixel>) {});
|
||||
}
|
||||
requires requires(Callback callback) {
|
||||
callback(size_t(0), size_t(0), size_t(0), [&callback](std::span<Rgb565Pixel>) {});
|
||||
}
|
||||
PhysicalRegion render_by_line(Callback process_line_callback) const
|
||||
{
|
||||
auto r = cbindgen_private::slint_software_renderer_render_by_line_rgb565(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue