
Def IconButton(Id, Text)
  StandardButton(
    Vertical {
      ViewId(5, {Id})
      Height 10 {}
      Position(MIDDLE, Label(Text))
      Height 10 {}
    }
  )
End

Def IconButtonInactive(Id, Text)
  StandardButtonInactive(
    Vertical {
      ViewId(5, {Id})
      Height 10 {}
      Position(MIDDLE, Label(text = Text color = ColorId LIGHT_GRAY))
      Height 10 {}
    }
  )
End

{
  ExitButtons()
  FocusKeysHorizontal()
  Window(
    Horizontal {
      Using "save" IconButton("portal", TEXT57)
      Width 20 {}
      Using "options" IconButton("gnome", TEXT58)
      Width 20 {}
      Using "retire" IconButton("throne", TEXT59)
      Using "retire_inactive" IconButtonInactive("throne", TEXT59)
      Width 20 {}
      Using "abandon" IconButton("grave", TEXT60)
    }
  )
}
