UpdateHelpers Module
Types and nested modules
| Type/Module | Description |
Functions and values
| Function or value | Description |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
getMenuView act model dispatch
Parameters:
MenuCommand
model : Model
dispatch : Msg -> Unit
Returns: Model
|
|
|
Human-readable info on a message, or "" for one not worth showing. Never `%A` on the message itself: a Msg can carry a whole FastSimulation, a Model or a canvas, and printing one of those crashes the renderer. shortDisplayMsg names every case by hand for exactly that reason. Mouse drags and moves are suppressed unless Log.Mouse is on, since they are the majority of all messages and would bury everything else.
|
Full Usage:
getSimulationDataOrFail model msg
Parameters:
Model
msg : string
Returns: SimulationData
|
|
|
Put a viewed library component's sheet away again. If it is the sheet on screen the user has to be taken off it first, since it is about to become unreachable: back the way they came, or failing that to any sheet of their own. With nowhere at all to go the sheet stays open, rather than stranding the user on a sheet the rest of Issie has stopped believing in. The order matters. Leaving a sheet writes it back - to the loaded components, and to a backup file - and what stops that for a library sheet is its being in OpenedLibrarySheets. So the sheet is left while it is still marked, and put away only in the model this returns.
|
Full Usage:
isSameMsg
Returns: 'a -> 'a -> bool
|
|
Full Usage:
lastMemoryUpdateCheck
Returns: float
|
|
|
|
|
|
|
|
|
|
|
Clear the properties pane's half-typed state when a different component is selected, so that each component's boxes start from what that component is, not from what was being typed into the last one. DialogState goes with Text and Int: it holds the text and the error of every property box, and a box left mid-edit would otherwise carry its message onto the next component's pane. Its keys name the component, so a stale entry cannot be read by the wrong box - but it can be read again by the SAME component later, showing an edit the user has since abandoned.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
verilogOutputPage sheet fPath
Parameters:
'a
fPath : string
Returns: ReactElement
|
|
|
|
|
Open a library component's sheet to be looked at, and go to it. The sheet becomes visible in the Sheets menu and stays reachable until the project is closed, but is read-only throughout: it is not the user's to change, and a library component that differed from the library it came from would not be one. Only this sheet is opened - a component built from other library components keeps them shut, each needing the same deliberate click of its own.
|
|
|
|
|