| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Swarm.TUI.Model.Name
Synopsis
- data FocusablePanel
- data GoalWidget
- data Button
- data Name
Documentation
data FocusablePanel Source #
Constructors
| REPLPanel | The panel containing the REPL. |
| WorldPanel | The panel containing the world view. |
| RobotPanel | The panel showing robot info and inventory on the top left. |
| InfoPanel | The info panel on the bottom left. |
Instances
data GoalWidget Source #
Constructors
| ObjectivesList | |
| GoalSummary |
Instances
Clickable buttons in modal dialogs.
Constructors
| CancelButton | |
| KeepPlayingButton | |
| StartOverButton | |
| QuitButton | |
| NextButton |
Name represents names to uniquely identify various components
of the UI, such as forms, panels, caches, extents, lists, and buttons.
Constructors
| FocusablePanel FocusablePanel | |
| REPLInput | The REPL input form. |
| WorldCache | The render cache for the world view. |
| WorldExtent | The cached extent for the world view. |
| InventoryList | The list of inventory items for the currently focused robot. |
| InventoryListItem Int | The inventory item position in the InventoryList. |
| MenuList | The list of main menu choices. |
| AchievementList | The list of achievements. |
| GoalWidgets GoalWidget | The list of goals/objectives. |
| ScenarioList | The list of scenario choices. |
| InfoViewport | The scrollable viewport for the info panel. |
| ModalViewport | The scrollable viewport for any modal dialog. |
| Button Button | A clickable button in a modal dialog. |