package miaou-core

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

Source file table_widget_sdl.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
(*****************************************************************************)
(*                                                                           *)
(* SPDX-License-Identifier: MIT                                              *)
(* Copyright (c) 2025 Nomadic Labs <contact@nomadic-labs.com>                *)
(* Copyright (c) 2026 Mathias Bourgoin <mathias.bourgoin@atacama.tech>       *)
(*                                                                           *)
(*****************************************************************************)

(* SDL-specific table render helpers, kept separate for backend tweaks. *)

let render_table_80_with_opts ?wrap ~cols ~header ~rows ~cursor ~sel_col ~opts
    () =
  Table_widget.render_table_80_with_opts
    ~backend:`Sdl
    ?wrap
    ~cols
    ~header
    ~rows
    ~cursor
    ~sel_col
    ~opts
    ()

let render_table_80 ~cols ~header ~rows ~cursor ~sel_col =
  Table_widget.render_table_80 ~cols ~header ~rows ~cursor ~sel_col

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