finished storing ui widgets into a HashMap and referencing them by UIId.
Additionally, widgets functions now use the Pioneers monad. Branch is compiling again and works.
This commit is contained in:
@ -115,6 +115,7 @@ data GLState = GLState
|
||||
data UIState = UIState
|
||||
{ _uiHasChanged :: !Bool
|
||||
, _uiMap :: Map.HashMap UIId (GUIAny Pioneers)
|
||||
, _uiRoots :: [UIId]
|
||||
}
|
||||
|
||||
data State = State
|
||||
|
Reference in New Issue
Block a user