Header menu logo issie

TopMenuView Module

Types

Type Description

LockState

Functions and values

Function or value Description

addFileToProject model dispatch

Full Usage: addFileToProject model dispatch

Parameters:

Create a new file in this project and open it automatically.

model : Model
dispatch : Msg -> unit

addVerticalScrollBars el r

Full Usage: addVerticalScrollBars el r

Parameters:
Returns: ReactElement list
el : HTMLElement option
r : ReactElement list
Returns: ReactElement list

changeLockState isSubSheet sheet updateLock

Full Usage: changeLockState isSubSheet sheet updateLock

Parameters:
Returns: Model -> Model

Change model to alter lock of sheet as determined by updateLock. Unlockable sheets are kept the same. isSubSheet must be true only if sheet is a root of the design hierarchy.

isSubSheet : bool
sheet : SheetTree
updateLock : LockState -> LockState
Returns: Model -> Model

changeSubtreeLockState isSubSheet sheet updateLock

Full Usage: changeSubtreeLockState isSubSheet sheet updateLock

Parameters:
Returns: Model -> Model

Change model to alter lock of tree with root sheet as determined by updateLock. Unlockable sheets are kept the same. isSubSheet must be true only if sheet is a root of the design hierarchy.

isSubSheet : bool
sheet : SheetTree
updateLock : LockState -> LockState
Returns: Model -> Model

closeApp model dispatch arg3

Full Usage: closeApp model dispatch arg3

Parameters:
    model : 'a
    dispatch : Msg -> 'b
    arg2 : 'c

Returns: 'b
model : 'a
dispatch : Msg -> 'b
arg2 : 'c
Returns: 'b

createEmptyComponentAndFile pPath sheetName

Full Usage: createEmptyComponentAndFile pPath sheetName

Parameters:
    pPath : string
    sheetName : string

Returns: LoadedComponent
pPath : string
sheetName : string
Returns: LoadedComponent

getInfoButton name project

Full Usage: getInfoButton name project

Parameters:
Returns: ReactElement

Display top menu.

name : string
project : Project
Returns: ReactElement

goBackToProject model dispatch arg3

Full Usage: goBackToProject model dispatch arg3

Parameters:
    model : 'a
    dispatch : Msg -> 'b
    arg2 : 'c

Returns: 'b
model : 'a
dispatch : Msg -> 'b
arg2 : 'c
Returns: 'b

invertSheetLockState _arg1

Full Usage: invertSheetLockState _arg1

Parameters:
Returns: LockState
_arg1 : LockState
Returns: LockState

loadDemoProject model dispatch basename

Full Usage: loadDemoProject model dispatch basename

Parameters:
    model : Model
    dispatch : Msg -> unit
    basename : string

Returns: Unit

load demo project into Issie executables

model : Model
dispatch : Msg -> unit
basename : string
Returns: Unit

renameFileInProject name project model dispatch

Full Usage: renameFileInProject name project model dispatch

Parameters:
    name : string
    project : 'a
    model : Model
    dispatch : Msg -> unit

rename file

name : string
project : 'a
model : Model
dispatch : Msg -> unit

renameSheet oldName newName model dispatch

Full Usage: renameSheet oldName newName model dispatch

Parameters:
    oldName : string
    newName : string
    model : Model
    dispatch : Msg -> Unit

Returns: Unit

rename a sheet

oldName : string
newName : string
model : Model
dispatch : Msg -> Unit
Returns: Unit

sheetIsLocked sheet model

Full Usage: sheetIsLocked sheet model

Parameters:
    sheet : string
    model : Model

Returns: bool
sheet : string
model : Model
Returns: bool

showDemoProjects model dispatch demosInfo

Full Usage: showDemoProjects model dispatch demosInfo

Parameters:
    model : Model
    dispatch : Msg -> unit
    demosInfo : (string * int * int) list

show menu for choosing demo project

model : Model
dispatch : Msg -> unit
demosInfo : (string * int * int) list

updateVerilogFileAction (arg1, arg2) name model dispatch

Full Usage: updateVerilogFileAction (arg1, arg2) name model dispatch

Parameters:
Returns: (LoadedComponent * (Component list * Connection list)) option

Save the Verilog file currently open, return the new sheet's Loadedcomponent if this has changed. Do not change model.

arg0 : Component list
arg1 : Connection list
name : string
model : Model
dispatch : Msg -> Unit
Returns: (LoadedComponent * (Component list * Connection list)) option

updateVerilogFileActionWithModelUpdate (arg1, arg2) name model dispatch

Full Usage: updateVerilogFileActionWithModelUpdate (arg1, arg2) name model dispatch

Parameters:
Returns: Project

save current open Verilog file, updating model etc, and returning the loaded component and the saved (unreduced) canvas state

arg0 : Component list
arg1 : Connection list
name : string
model : Model
dispatch : Msg -> Unit
Returns: Project

viewNoProjectMenu model dispatch

Full Usage: viewNoProjectMenu model dispatch

Parameters:
Returns: ReactElement

Display the initial Open/Create Project menu at the beginning if no project is open.

model : Model
dispatch : Msg -> unit
Returns: ReactElement

viewTopMenu model dispatch

Full Usage: viewTopMenu model dispatch

Parameters:
Returns: ReactElement
model : Model
dispatch : Msg -> unit
Returns: ReactElement

Type something to start searching.