Module Render.Make
Parameters
Signature
val get_wave_width : (Hardcaml_waveterm__.Import.int * Hardcaml_waveterm.Wave.t) -> Hardcaml_waveterm__.Import.int * Hardcaml_waveterm__.Import.intget width code and actual width in chars
val get_wave_height : (Hardcaml_waveterm__.Import.int * Hardcaml_waveterm.Wave.t) -> Hardcaml_waveterm__.Import.int * Hardcaml_waveterm__.Import.intget height code and actual height in chars
val get_max_signal_width : Hardcaml_waveterm.Waves.t -> Hardcaml_waveterm__.Import.intmax width of name window
val get_max_value_width : Hardcaml_waveterm.Waves.t -> Hardcaml_waveterm__.Import.intmax width of values window. Needs to evaluate the entire waveform.
val get_estimated_max_value_width : Hardcaml_waveterm.Waves.t -> Hardcaml_waveterm__.Import.intgets an estimate fo the max with of values. Inaccruate for the constructors
U,SandF.
val get_max_cycles : Hardcaml_waveterm.Waves.t -> Hardcaml_waveterm__.Import.intmax no of wave cycles
val get_max_signals : Hardcaml_waveterm.Waves.t -> Hardcaml_waveterm__.Import.intmax no of wave cycles
val get_max_wave_width : Hardcaml_waveterm.Waves.t -> Hardcaml_waveterm__.Import.intmax width of wave window
val get_max_wave_height : Hardcaml_waveterm.Waves.t -> Hardcaml_waveterm__.Import.int -> Hardcaml_waveterm__.Import.intmax height of wave window
val draw_clock_cycle : ctx:G.ctx -> style:G.style -> bounds:Hardcaml_waveterm.Draw.rect -> w:Hardcaml_waveterm__.Import.int -> h:Hardcaml_waveterm__.Import.int -> c:Hardcaml_waveterm__.Import.int -> Hardcaml_waveterm__.Import.unitdraws one clock cycle
val draw_clock_cycles : ctx:G.ctx -> style:G.style -> bounds:Hardcaml_waveterm.Draw.rect -> w:Hardcaml_waveterm__.Import.int -> waw:Hardcaml_waveterm__.Import.int -> h:Hardcaml_waveterm__.Import.int -> cnt:Hardcaml_waveterm__.Import.int -> Hardcaml_waveterm__.Import.unitdraws
cntclock cycles
val draw_binary_data : ctx:G.ctx -> style:G.style -> bounds:Hardcaml_waveterm.Draw.rect -> w:Hardcaml_waveterm__.Import.int -> h:Hardcaml_waveterm__.Import.int -> data:Hardcaml_waveterm.Data.t -> off:Hardcaml_waveterm__.Import.int -> Hardcaml_waveterm__.Import.unitdraw binary waveform data
val draw_data : ctx:G.ctx -> style:G.style -> bounds:Hardcaml_waveterm.Draw.rect -> to_str:(Hardcaml_waveterm__.Import.Bits.t -> Hardcaml_waveterm__.Import.string) -> alignment:Hardcaml_waveterm.Wave_format.alignment -> w:Hardcaml_waveterm__.Import.int -> h:Hardcaml_waveterm__.Import.int -> data:Hardcaml_waveterm.Data.t -> off:Hardcaml_waveterm__.Import.int -> Hardcaml_waveterm__.Import.unitdraw arbitrary waveform data
type 'a draw_item= ?style:Hardcaml_waveterm.Draw.Style.t -> ctx:G.ctx -> bounds:Hardcaml_waveterm.Draw.rect -> Hardcaml_waveterm.Waves.t -> 'a
val with_border : draw:'a draw_item -> label:Hardcaml_waveterm__.Import.string -> ?border:Hardcaml_waveterm.Draw.Style.t -> 'a draw_itemval draw_cursor : ctx:G.ctx -> bounds:Hardcaml_waveterm.Draw.rect -> state:Hardcaml_waveterm.Waves.t -> Hardcaml_waveterm__.Import.unitdraw cursor
val draw_wave : Hardcaml_waveterm__.Import.unit draw_itemdraw waveforms
val draw_signals : Hardcaml_waveterm__.Import.unit draw_itemdraw signal names
val draw_values : Hardcaml_waveterm__.Import.int draw_itemdraw signal values
val draw_status : Hardcaml_waveterm__.Import.unit draw_itemval draw_ui : ?style:Styles.t -> ?bounds:Bounds.t -> ctx:G.ctx -> Hardcaml_waveterm.Waves.t -> Hardcaml_waveterm__.Import.unitdraw standard user inferface (names, values, waveforms left to right
type pick=|Wave of Hardcaml_waveterm__.Import.int * Hardcaml_waveterm__.Import.int|Value of Hardcaml_waveterm__.Import.int|Signal of Hardcaml_waveterm__.Import.int|Status|No_pick
val pick : bounds:Bounds.t -> r:Hardcaml_waveterm__.Import.int -> c:Hardcaml_waveterm__.Import.int -> Hardcaml_waveterm.Waves.t -> pick