!!pairs

- labelDefault:  &lDefault
    fontColor:   rgbaFFFFFF80
    drawBorder:  false
    fontSize:    14
    font:        orbitron-bold.ttf
- buttonDefault: &bDefault
    borderColor: rgbaC0C0FF60
    fontColor:   rgbaA0A0FFC0
- buttonFocused: &bFocused
    borderColor: rgbaC0C0FFA0
    fontColor:   rgbaC0C0FFC0
- buttonActive:  &bActive
    borderColor: rgbaC0C0FFFF
    fontColor:   rgbaE0E0FFFF

- styleManager: line
- layoutManager: boxManual
- style: {drawBorder: false}
- layout: {x: 'pLeft', y: 'pTop', w: 'pWidth', h: 'pHeight'}
#Main container
- widget container:
    !!pairs
    - style:  {backgroundColor: rgba000000FF, borderColor: rgbaC0C0FFB0}
    - layout: {x: 'pRight - 176', y: 'pTop + 16', w: 160, h: 'pHeight - 32'}
    - widget label:
        !!pairs
        - layout: {x: 'pLeft + 8', y: 'pTop + 8', w: 'pWidth - 16', h: '24'}
        - style:  *lDefault
        - text:   Main menu
    - widget container:
        !!pairs
        - style:  {drawBorder: false}
        - layout: {x: pLeft, y: 'pTop + 136', w: 'pWidth', h: ' 8 * 9 + 24 * 8'}
        - widget button campaigns:
            !!pairs
            - style:         *bDefault
            - style focused: *bFocused
            - style active:  *bActive
            - layout: {x: 'pLeft + 8', y: 'pTop + 8', w: pWidth - 16, h: 24}
            - text: Start game
        - widget button playerSetup:
            !!pairs
            - style:         *bDefault
            - style focused: *bFocused
            - style active:  *bActive
            - layout: {x: 'pLeft + 8', y: 'pTop + 8 * 2 + 24 ', w: pWidth - 16, h: 24}
            - text: Player setup
        - widget button credits:
            !!pairs
            - style:         *bDefault
            - style focused: *bFocused
            - style active:  *bActive
            - layout: {x: 'pLeft + 8', y: 'pTop + 8 * 3 + 24 * 2', w: pWidth - 16, h: 24}
            - text: Credits
        - widget button controls:
            !!pairs
            - style:         *bDefault
            - style focused: *bFocused
            - style active:  *bActive
            - layout: {x: 'pLeft + 8', y: 'pTop + 8 * 4 + 24 * 3', w: pWidth - 16, h: 24}
            - text: Controls
        - widget button quit:
            !!pairs
            - style:         *bDefault
            - style focused: *bFocused
            - style active:  *bActive
            - layout: {x: 'pLeft + 8', y: 'pTop + 8 * 5 + 24 * 4', w: pWidth - 16, h: 24}
            - text: Quit
        # These can be used for debugging,
        # but are moved out of the screen by default.
        - widget button resetVideo:
            !!pairs
            - style:         *bDefault
            - style focused: *bFocused
            - style active:  *bActive
            - layout: {x: 'pLeft + 8 - 16384', y: 'pTop + 8 * 6 + 24 * 5', w: pWidth - 16, h: 24}
            - text: (DEBUG) Reset video
        - widget button levels:
            !!pairs
            - style:         *bDefault
            - style focused: *bFocused
            - style active:  *bActive
            - layout: {x: 'pLeft + 8 - 13684', y: 'pTop + 8 * 7 + 24 * 6', w: pWidth - 16, h: 24}
            - text: (DEBUG) Levels
        - widget button reloadResources:
            !!pairs
            - style:         *bDefault
            - style focused: *bFocused
            - style active:  *bActive
            - layout: {x: 'pLeft + 8 - 16384', y: 'pTop + 8 * 8 + 24 * 7', w: pWidth - 16, h: 24}
            - text: (DEBUG) Reload YAML
