Closed macMikey closed 2 years ago
getNavData()
calls listToArray(mNavData)
mNavData is a list. what listToArray
is doing is encoding the keys
defaultNavArray()
to build the properties of the array and then traverses them.item name | description |
---|---|
name | the nave name/key |
label | display under icon |
icon_name | name of icon in the svg set |
hilited_icon_name | name of icon in the svg set |
icon | path |
hilited_icon | path |
setNavData
calls setData(pNavData...
posts "dataChanged"
iconSVGPathFromName()
populates the path
if the name is empty then empty is put into the path
drawNavRadContent()
uses "hilited_icon_path" and "icon_path"
drawNavRadEditMode
drawEditModeContent
drawDragData
drawActionItemsList
calculateEditModeIconRects
calculateAddItemRect
calculateEditModeActiønPathsFromRow
calculateEditModeActionIconPaths
calculateDragRow
calculateIconRects
calculateEditModeIconRects()
populatesreopening b/c while we can do it with code, it would be better if we could do it with the editor, too.
on second thought, trying to do this with the existing editor is going to be a PITA, so i'm going to close this and just add a to-do with the picker
the widget bootstraps itself in its editor see editMode settings for icons are in mNavData. The property is called itemArray getter
getNavData
settersetNavData