#include <templates.gui>

registerSound Quit

MessageYesNo
{
  zorder 200
  modal true
  music Question

  container Panel
  {
    horzAlign center
    vertAlign center
    width 256
    height 166.4
    shader menu\msg_box

    element Text : text_base
    {
      horzAlign center
      top 15
      caption #098
    }

    element Text(Label1)
    {
      horzAlign center
      top 33.6
      width 230
      height 81
      fontName PEPSI
      charheight 10
      autoSize false
      color 10
      alignment center
      vAlignment center
      multiline true
    }

    element Button(Yes1) : start_button
    {
      left 75.2
      top 117.6
      onMouseEnter ""
      onMouseExit ""
      highlightSound Yes
    }

    element Button(No1) : back_button
    {
      left 151.2
      top 117.6
      onMouseEnter ""
      onMouseExit ""
      highlightSound No
    }
  }
}

MessageOK
{
  zorder 200
  modal true
  music Warning

  container Panel
  {
    horzAlign center
    vertAlign center
    width 256
    height 166.4
    shader menu\msg_box

    element Text : text_base
    {
      horzAlign center
      top 15
      caption #099
    }

    element Text(Label2)
    {
      horzAlign center
      top 33.6
      width 230
      height 81
      fontName PEPSI
      charheight 10
      autoSize false
      color 10
      alignment center
      vAlignment center
      multiline true
    }

    element Button(Ok) : start_button
    {
      horzAlign center
      left 0
      top 117.6
      onMouseEnter ""
      onMouseExit ""
      onClick OkMsgClick
      highlightSound Yes
    }
  }
}

MessageInput
{
  zorder 200
  modal true
  music Question
  onShow MessageInputShow

  container Panel
  {
    horzAlign center
    vertAlign center
    width 256
    height 166.4
    shader menu\msg_box

    element Text : text_base
    {
      horzAlign center
      top 15
      caption #144
    }

    element Text(Label3)
    {
      horzAlign center
      top 43.6
      width 230
      height 81
      fontName PEPSI
      charheight 10
      autoSize false
      color 10
      alignment center
      multiline true
    }

    element EditBox(Edit1) : edit_base
    {
      horzAlign center
      top 78.6
    }

    element Button(Ok1) : start_button
    {
      left 75.2
      top 117.6
      onMouseEnter ""
      onMouseExit ""
      highlightSound Yes
    }

    element Button(Cancel1) : back_button
    {
      left 151.2
      top 117.6
      onMouseEnter ""
      onMouseExit ""
      highlightSound No
    }
  }
}

MessageText
{
  zorder 21
  showCursor false

  container Text(Message1) : text_base
  {
    horzAlign center
    vertAlign center
    top -100
    width 600
    autoSize false
    multiline true
    alignment center
    charHeight 30
    color 13
    ShadowColor 10
    shadow 2
  }
}

