
/*
************************************************************
* Image classes for Menus
************************************************************
*/

__ICLASS __BGN 
  __NAME MENU_TITLE
  __MODIFIER DEFAULT
  __NORMAL BORDERS/MENU/images/top_u.png
  __EDGE_SCALING 30 30 1 1
  __HILITED BORDERS/MENU/images/top_u.png
  __EDGE_SCALING 30 30 1 1
  __CLICKED BORDERS/MENU/images/top_u.png
  __EDGE_SCALING 30 30 1 1
  __NORMAL_ACTIVE BORDERS/MENU/images/top_s.png
  __EDGE_SCALING 30 30 1 1
  __HILITED_ACTIVE BORDERS/MENU/images/top_s.png
  __EDGE_SCALING 30 30 1 1
  __CLICKED_ACTIVE BORDERS/MENU/images/top_s.png
  __EDGE_SCALING 30 30 1 1
  __PADDING 10 10 2 0
__END

__ICLASS __BGN 
  __NAME MENU_TITLE_NOTEXT
  __MODIFIER DEFAULT
  __NORMAL BORDERS/MENU/images/top_flat_u.png
  __EDGE_SCALING 1 1 1 1
  __HILITED BORDERS/MENU/images/top_flat_u.png
  __EDGE_SCALING 1 1 1 1
  __CLICKED BORDERS/MENU/images/top_flat_u.png
  __EDGE_SCALING 1 1 1 1
  __NORMAL_ACTIVE BORDERS/MENU/images/top_flat_s.png
  __EDGE_SCALING 1 1 1 1
  __HILITED_ACTIVE BORDERS/MENU/images/top_flat_s.png
  __EDGE_SCALING 1 1 1 1
  __CLICKED_ACTIVE BORDERS/MENU/images/top_flat_s.png
  __EDGE_SCALING 1 1 1 1
__END

__ICLASS __BGN 
  __NAME MENU_LEFT
  __MODIFIER DEFAULT
  __NORMAL BORDERS/MENU/images/left_u.png
  __EDGE_SCALING 1 1 1 3
  __HILITED BORDERS/MENU/images/left_u.png
  __EDGE_SCALING 1 1 1 3
  __CLICKED BORDERS/MENU/images/left_u.png
  __EDGE_SCALING 1 1 1 3
  __NORMAL_ACTIVE BORDERS/MENU/images/left_s.png
  __EDGE_SCALING 1 1 1 3
  __HILITED_ACTIVE BORDERS/MENU/images/left_s.png
  __EDGE_SCALING 1 1 1 3
  __CLICKED_ACTIVE BORDERS/MENU/images/left_s.png
  __EDGE_SCALING 1 1 1 3
__END

__ICLASS __BGN 
  __NAME MENU_RIGHT
  __MODIFIER DEFAULT
  __NORMAL BORDERS/MENU/images/right_u.png
  __EDGE_SCALING 1 1 1 3
  __HILITED BORDERS/MENU/images/right_u.png
  __EDGE_SCALING 1 1 1 3
  __CLICKED BORDERS/MENU/images/right_u.png
  __EDGE_SCALING 1 1 1 3
  __NORMAL_ACTIVE BORDERS/MENU/images/right_s.png
  __EDGE_SCALING 1 1 1 3
  __HILITED_ACTIVE BORDERS/MENU/images/right_s.png
  __EDGE_SCALING 1 1 1 3
  __CLICKED_ACTIVE BORDERS/MENU/images/right_s.png
  __EDGE_SCALING 1 1 1 3
__END

__ICLASS __BGN 
  __NAME MENU_BOTTOM
  __MODIFIER DEFAULT
  __NORMAL BORDERS/MENU/images/bottom_u.png
  __EDGE_SCALING 1 1 1 1
  __HILITED BORDERS/MENU/images/bottom_u.png
  __EDGE_SCALING 1 1 1 1
  __CLICKED BORDERS/MENU/images/bottom_u.png
  __EDGE_SCALING 1 1 1 1
  __NORMAL_ACTIVE BORDERS/MENU/images/bottom_s.png
  __EDGE_SCALING 1 1 1 1
  __HILITED_ACTIVE BORDERS/MENU/images/bottom_s.png
  __EDGE_SCALING 1 1 1 1
  __CLICKED_ACTIVE BORDERS/MENU/images/bottom_s.png
  __EDGE_SCALING 1 1 1 1
__END

/*
************************************************************
* Window border for menus with title
************************************************************
*/

__BORDER __BGN
  __NAME MENU
  __BORDER_SIZE_LEFT 2
  __BORDER_SIZE_RIGHT 2
  __BORDER_SIZE_TOP 22
  __BORDER_SIZE_BOTTOM 3
  __SHADE_DIRECTION __UP
  __BORDER_PART __BGN
    __ICLASS MENU_TITLE
    __TCLASS TEXT1
    __FLAGS __FLAG_TITLE
    __ACLASS ACTION_MOVE
    __MIN_WIDTH 10
    __MIN_HEIGHT 22
    __MAX_HEIGHT 22
    __MAX_WIDTH 99999
    __TOPLEFT_ORIGIN -1
    __TOPLEFT_X_PERCENTAGE  0
    __TOPLEFT_X_ABSOLUTE 0
    __TOPLEFT_Y_PERCENTAGE  0
    __TOPLEFT_Y_ABSOLUTE  0
    __BOTTOMRIGHT_ORIGIN -1
    __BOTTOMRIGHT_X_PERCENTAGE  1024
    __BOTTOMRIGHT_X_ABSOLUTE  -1
    __BOTTOMRIGHT_Y_PERCENTAGE  0
    __BOTTOMRIGHT_Y_ABSOLUTE  22
    __KEEP_WHEN_SHADED __ON
  __END
  __BORDER_PART __BGN
    __ICLASS MENU_RIGHT
    __ACLASS ACTION_MOVE
    __MIN_WIDTH 2
    __MAX_WIDTH 2
    __MIN_HEIGHT 10
    __MAX_HEIGHT 99999
    __TOPLEFT_ORIGIN -1
    __TOPLEFT_X_PERCENTAGE  1024
    __TOPLEFT_X_ABSOLUTE  -2
    __TOPLEFT_Y_PERCENTAGE  0
    __TOPLEFT_Y_ABSOLUTE  22
    __BOTTOMRIGHT_ORIGIN -1
    __BOTTOMRIGHT_X_PERCENTAGE  1024
    __BOTTOMRIGHT_X_ABSOLUTE  0
    __BOTTOMRIGHT_Y_PERCENTAGE  1024
    __BOTTOMRIGHT_Y_ABSOLUTE  0
    __KEEP_WHEN_SHADED __ON
  __END
  __BORDER_PART __BGN
    __ICLASS MENU_BOTTOM
    __ACLASS ACTION_MOVE
    __MIN_WIDTH 10
    __MAX_WIDTH 99999
    __MIN_HEIGHT 3
    __MAX_HEIGHT 3
    __TOPLEFT_ORIGIN -1
    __TOPLEFT_X_PERCENTAGE  0
    __TOPLEFT_X_ABSOLUTE  2
    __TOPLEFT_Y_PERCENTAGE  1024
    __TOPLEFT_Y_ABSOLUTE  -3
    __BOTTOMRIGHT_ORIGIN -1
    __BOTTOMRIGHT_X_PERCENTAGE  1024
    __BOTTOMRIGHT_X_ABSOLUTE  -2
    __BOTTOMRIGHT_Y_PERCENTAGE  1024
    __BOTTOMRIGHT_Y_ABSOLUTE  0
    __KEEP_WHEN_SHADED __ON
  __END
  __BORDER_PART __BGN
    __ICLASS MENU_LEFT
    __ACLASS ACTION_MOVE
    __MIN_WIDTH 2
    __MAX_WIDTH 2
    __MIN_HEIGHT 10
    __MAX_HEIGHT 99999
    __TOPLEFT_ORIGIN -1
    __TOPLEFT_X_PERCENTAGE  0
    __TOPLEFT_X_ABSOLUTE  0
    __TOPLEFT_Y_PERCENTAGE  0
    __TOPLEFT_Y_ABSOLUTE  22
    __BOTTOMRIGHT_ORIGIN -1
    __BOTTOMRIGHT_X_PERCENTAGE  0
    __BOTTOMRIGHT_X_ABSOLUTE  2
    __BOTTOMRIGHT_Y_PERCENTAGE  1024
    __BOTTOMRIGHT_Y_ABSOLUTE  0
    __KEEP_WHEN_SHADED __ON
  __END

__BORDER_PART __BGN
    __ICLASS B3
    __ACLASS ACTION_KILL
    __MIN_WIDTH 17
    __MAX_WIDTH 17
    __MIN_HEIGHT 16
    __MAX_HEIGHT 16
    __TOPLEFT_ORIGIN -1
    __TOPLEFT_X_PERCENTAGE  1024
    __TOPLEFT_X_ABSOLUTE  -24
    __TOPLEFT_Y_PERCENTAGE  0
    __TOPLEFT_Y_ABSOLUTE  2
    __BOTTOMRIGHT_ORIGIN -1
    __BOTTOMRIGHT_X_PERCENTAGE  1024
    __BOTTOMRIGHT_X_ABSOLUTE  -7
    __BOTTOMRIGHT_Y_PERCENTAGE  0
    __BOTTOMRIGHT_Y_ABSOLUTE  18
    __KEEP_WHEN_SHADED __ON
  __END

__END

