SelectedComponentView Module
Nested modules
| Modules | Description |
Functions and values
| Function or value | Description |
|
The kind of component this is, in the words a user would use for it. Not Symbol.getComponentLegend, which is the text drawn inside the symbol: that bakes in bit counts and rotation, and the pane shows the width in its own box right below. Legacy types are named rather than refused. This renders above everything else in the pane, so a component that cannot be named must not take the whole pane down with it.
|
Full Usage:
constantDialogWithDefault (w, cText) dialog
Parameters:
int
cText : string
dialog : PopupDialogData
Returns: int * string
|
|
Full Usage:
getDialogMemorySetup mem
Parameters:
Memory1
Returns: int * int * InitMemData * string option
|
|
|
|
|
|
|
The properties of a constant: its width, its value, and what that value comes to. Both boxes are parameter boxes and apply themselves - ParameterView.updateComponentSlots is what carries a slot to the component - so this lays them out and does nothing else. It used to hold the applying too, dispatching WHILE RENDERING whenever the dialog's text differed from the component, which needed a read-only guard of its own to stop it looping. Nothing here dispatches now, so there is nothing for a read-only sheet to undo.
|
|
|
|
|
Full Usage:
makeVerilogDeleteButton model custom dispatch
Parameters:
Model
custom : CustomComponentType
dispatch : Msg -> unit
Returns: ReactElement
|
|
Full Usage:
makeVerilogEditButton model custom dispatch
Parameters:
Model
custom : CustomComponentType
dispatch : Msg -> unit
Returns: ReactElement
|
|
|
|
|
|