maxLayers :: Int
maxLayers = 16
+layerName :: String
+layerName = "Layer"
+
createNotebook :: ( ReactiveValueRead addLayer () IO
, ReactiveValueRead rmLayer () IO
, ReactiveValueAtomicUpdate board (M.IntMap ([Note],[Message])) IO
containerAdd centerBoard guiBoard
containerAdd boardCont centerBoard
- fstP <- notebookAppendPage n boardCont ""
+ fstP <- notebookAppendPage n boardCont layerName
notebookPageNumber <- newCBMVarRW (1 :: Int)
initBoardRV tc guiBoard >>=
containerAdd nCenterBoard nGuiBoard
containerAdd nBoardCont nCenterBoard
- notebookAppendPage n nBoardCont $ show np
+ notebookAppendPage n nBoardCont layerName
pChan <- reactiveValueRead pageChanRV
let newCP = foundHole pChan
(nBoardRV, nPieceArrRV, nPhRV) <- initBoardRV tc nGuiBoard