Static.Rget width code and actual width in chars
get height code and actual height in chars
max width of values window. Needs to evaluate the entire waveform.
gets an estimate fo the max with of values. Inaccruate for the constructors U, S and F.
max height of wave window
val draw_clock_cycle :
ctx:(Base.int * Hardcaml_waveterm__Draw.Style.t) Base.array Base.array ->
style:Hardcaml_waveterm__Draw.Style.t ->
bounds:Hardcaml_waveterm__Draw.rect ->
w:Base.int ->
h:Base.int ->
c:Base.int ->
Base.unitdraws one clock cycle
val draw_clock_cycles :
ctx:(Base.int * Hardcaml_waveterm__Draw.Style.t) Base.array Base.array ->
style:Hardcaml_waveterm__Draw.Style.t ->
bounds:Hardcaml_waveterm__Draw.rect ->
w:Base.int ->
waw:Base.int ->
h:Base.int ->
cnt:Base.int ->
Base.unitdraws cnt clock cycles
val draw_binary_data :
ctx:(Base.int * Hardcaml_waveterm__Draw.Style.t) Base.array Base.array ->
style:Hardcaml_waveterm__Draw.Style.t ->
bounds:Hardcaml_waveterm__Draw.rect ->
w:Base.int ->
h:Base.int ->
data:Hardcaml_waveterm__Data.t ->
off:Base.int ->
Base.unitdraw binary waveform data
val draw_data :
ctx:(Base.int * Hardcaml_waveterm__Draw.Style.t) Base.array Base.array ->
style:Hardcaml_waveterm__Draw.Style.t ->
bounds:Hardcaml_waveterm__Draw.rect ->
to_str:( Hardcaml.Bits.t -> Base.string ) ->
alignment:Text_alignment.t ->
w:Base.int ->
h:Base.int ->
data:Hardcaml_waveterm__Data.t ->
off:Base.int ->
Base.unitdraw arbitrary waveform data
val draw_cursor :
ctx:(Base.int * Hardcaml_waveterm__Draw.Style.t) Base.array Base.array ->
bounds:Hardcaml_waveterm__Draw.rect ->
state:Hardcaml_waveterm__Waves.t ->
Base.unitdraw cursor
val draw_wave : Base.unit draw_itemdraw waveforms
val draw_signals :
?alignment:Text_alignment.t ->
?style:Hardcaml_waveterm__Draw.Style.t ->
selected_wave_index:Base.int Base.option ->
ctx:(Base.int * Hardcaml_waveterm__Draw.Style.t) Base.array Base.array ->
bounds:Hardcaml_waveterm__Draw.rect ->
Hardcaml_waveterm__Waves.t ->
Base.unitdraw signal names
val draw_values : Base.int draw_itemdraw signal values
val draw_status : Base.unit draw_itemval draw_ui :
?signals_alignment:Text_alignment.t ->
?style:Styles.t ->
?bounds:Bounds.t ->
ctx:(Base.int * Hardcaml_waveterm__Draw.Style.t) Base.array Base.array ->
Hardcaml_waveterm__Waves.t ->
Base.unitdraw standard user inferface (names, values, waveforms left to right
type pick = Make(Hardcaml_waveterm__Draw.In_memory).pick = | Wave of Base.int * Base.int |
| Value of Base.int |
| Signal of Base.int |
| Status |
| No_pick |