package miaou-core

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Source file select_widget_sdl.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(*****************************************************************************)
(*                                                                           *)
(* SPDX-License-Identifier: MIT                                              *)
(* Copyright (c) 2025 Nomadic Labs <contact@nomadic-labs.com>                *)
(* Copyright (c) 2026 Mathias Bourgoin <mathias.bourgoin@atacama.tech>       *)
(*                                                                           *)
(*****************************************************************************)

(* SDL-specific render entrypoint in its own module to keep backend-specific
   rendering split from the terminal implementation. *)

let render (w : 'a Select_widget.t) ~focus =
  Select_widget.render_for_backend `Sdl w ~focus

[@@@enforce_exempt] (* non-widget module *)