     @interactive    = true
     @checkHierarchy = true
 
+    @bgColor = 'blanchedalmond'
+    gaugebBrderColor = 'gray'
+
     @fromJSON
       children:
         bg:

          width:         @width
          height:        @height
          strokeStyle:   'black'
          fillStyle:     'blanchedalmond'
          shadowBlur:    1
          shadowOffsetX: 2
          shadowOffsetY: 2

          align:     'left'
          baseline:  'top'
          x:         8
          y:         10
          originX:   @originX
          originY:   @originY
          fontSize:  8
        action:
          type:      'Label'
          fillStyle: 'black'
          align:     'left'
          baseline:  'top'
          x:         8
          y:         20
          originX:   @originX
          originY:   @originY
          fontSize:  8
        hpGauge:
          type:        'tm.ui.FlatGauge'
          x:           8
          y:           32
          width:       @width - 16
          height:      4
          originX:     @originX
          originY:     @originY
          borderWidth: 1
          color:       'blue'
          bgColor:     @bgColor
          borderColor: gaugebBrderColor
        mpGauge:
          type:        'tm.ui.FlatGauge'
          x:           8
          y:           40
          width:       @width - 16
          height:      4
          originX:     @originX
          originY:     @originY
          borderWidth: 1
          color:       'green'
          bgColor:     @bgColor
          borderColor: gaugebBrderColor
        spGauge:
          type:        'tm.ui.FlatGauge'
          x:           8
          y:           48
          width:       @width - 16
          height:      4
          originX:     @originX
          originY:     @originY
          borderWidth: 1
          color:       'Cyan'
          bgColor:     @bgColor
          borderColor: gaugebBrderColor

    
    #
    @on 'refreshStatus', (e) ->
