;
; DIALOG FOR MAIN MENU
;
[MAIN]
item	= PICTURE,BACKGROUND
item    = PICTURE,RAMKA
item    = TITLE,TITLE
; MAXIMUS interface MOD -->
item	= 100,pc,BUTTON,EXIT_BUTTON
; MAXIMUS interface MOD <--
item	= SCROLLIMAGE,ITEMSLIST
item	= 400,BUTTON,LEFTSCROLLBUTTON
item    = 400,BUTTON,RIGHTSCROLLBUTTON
item	= FORMATEDTEXT,TEXTWINDOW
item    = TEXTBUTTON,EQUIP_BUTTON
;item    = CONTEXTHELP,CONTEXTHELP
; MAXIMUS interface MOD -->

item	= TEXTBUTTON,I_CHARACTER
item	= TEXTBUTTON,I_SHIP
item	= TEXTBUTTON,I_SHIPHOLD
item	= TEXTBUTTON,I_PASSENGER
item	= TEXTBUTTON,I_QUESTBOOK
item	= TEXTBUTTON,I_TRADEBOOK
item	= TEXTBUTTON,I_NATIONS
item	= TEXTBUTTON,I_MAP

item	= TEXTBUTTON,B_WEAPON
item	= TEXTBUTTON,B_POTION
item	= TEXTBUTTON,B_ITEMS
item	= TEXTBUTTON,B_QUEST
; MAXIMUS interface MOD <--

start	= ITEMSLIST

; MAXIMUS interface MOD -->
[TITLE]
position	= 0,5,640,50
imageColor	= 0,0,0,0

[BACKGROUND]
bAbsoluteRectangle	= 15
position	= 0,0,1000,480
textureName	= interfaces\background\cabin.tga
textureRect	= 0,0,1.5,1.0

[RAMKA]
bAbsoluteRectangle	= 15
position	= 0,0,1000,480
textureName	= interfaces\background\ramka.tga
textureRect	= 0,0,1.5,1.0
color       = 150,150,150,150

[EXIT_BUTTON]
command		= click,event:exitCancel
position	= 630,5,655,35
group		= ICONS_NEW
picture		= exit button

[I_CHARACTER]
group		= ICONS_NEW
bBreakCommand
strOffset	= 2
command		= activate,delay:150
command		= click
command		= leftstep,select:I_MAP
command		= rightstep,select:I_SHIP
command		= deactivate,event:exitCancel
position		= -40,-30,50,-8
font			= INTERFACE_ULTRASMALL
string			= Sel Character

[I_SHIP]
group		= ICONS_NEW
bBreakCommand
strOffset	= 2
command		= activate,delay:150
command		= click
command		= leftstep,select:I_CHARACTER
command		= rightstep,select:I_SHIPHOLD
command		= deactivate,event:exitCancel
position		= 51,-30,140,-8
font			= INTERFACE_ULTRASMALL
string			= Sel Ship

[I_SHIPHOLD]
group		= ICONS_NEW
bBreakCommand
strOffset	= 2
command		= activate,delay:150
command		= click
command		= leftstep,select:I_SHIP
command		= rightstep,select:I_PASSENGER
command		= deactivate,event:exitCancel
position		= 141,-30,230,-8
font			= INTERFACE_ULTRASMALL
string			= Sel Shiphold

[I_PASSENGER]
group		= ICONS_NEW
bBreakCommand
strOffset	= 2
command		= activate,delay:150
command		= click
command		= leftstep,select:I_SHIPHOLD
command		= rightstep,select:I_QUESTBOOK
command		= deactivate,event:exitCancel
position		= 231,-30,320,-8
font			= INTERFACE_ULTRASMALL
string			= Sel Passengers

[I_QUESTBOOK]
group		= ICONS_NEW
bBreakCommand
strOffset	= 2
command		= activate,delay:150
command		= click
command		= leftstep,select:I_PASSENGER
command		= rightstep,select:I_TRADEBOOK
command		= deactivate,event:exitCancel
position		= 321,-30,410,-8
font			= INTERFACE_ULTRASMALL
string			= Sel QuestBook

[I_TRADEBOOK]
group		= ICONS_NEW
bBreakCommand
strOffset	= 2
command		= activate,delay:150
command		= click
command		= leftstep,select:I_QUESTBOOK
command		= rightstep,select:I_NATIONS
command		= deactivate,event:exitCancel
position		= 411,-30,500,-8
font			= INTERFACE_ULTRASMALL
string			= Sel TradeBook

[I_NATIONS]
group		= ICONS_NEW
bBreakCommand
strOffset	= 2
command		= activate,delay:150
command		= click
command		= leftstep,select:I_TRADEBOOK
command		= rightstep,select:I_MAP
command		= deactivate,event:exitCancel
position		= 501,-30,590,-8
font			= INTERFACE_ULTRASMALL
string			= Sel NationRelation

[I_MAP]
group		= ICONS_NEW
bBreakCommand
strOffset	= 2
command		= activate
command		= click
command		= leftstep,select:I_NATIONS
command		= rightstep,select:I_CHARACTER
command		= deactivate,event:exitCancel
position		= 591,-30,680,-8
font			= INTERFACE_ULTRASMALL
string		= Sel Reserved
; MAXIMUS interface MOD <--

[SCROLLRECTANGLE]
bAbsoluteRectangle	= 5
position		= 0,5,640,176
leftColor		= 255,255,255,255
topColor		= 255,1,5,30
rightColor		= 255,255,255,255
bottomColor		= 0,2,11,75

[ITEMSLIST]
bAbsoluteRectangle	= 5
command		= deactivate,event:exitCancel
command		= rightstep,com:activate:RIGHTSCROLLBUTTON
command		= leftstep,com:activate:LEFTSCROLLBUTTON
command		= speedright,com:activate:RIGHTSCROLLBUTTON
command		= speedleft,com:activate:LEFTSCROLLBUTTON
command		= activate
command		= click,select:ITEMSLIST
command		= upstep
command		= downstep
position		= 0,39,640,167
LayerQuantity		= 2
UseOneString		= 1
font1			= bold_numbers
scale1			= 0.75
dwYOffset1		= 12
dwXOffset1		= -46

[LEFTSCROLLBUTTON]
command		= activate
command		= click,select:ITEMSLIST,com:leftstep:ITEMSLIST,com:activate:LEFTSCROLLBUTTON
position		= 210,71,274,135
group			= ICONS
picture			= left arrow

[RIGHTSCROLLBUTTON]
command		= activate
command		= click,select:ITEMSLIST,com:rightstep:ITEMSLIST,com:activate:RIGHTSCROLLBUTTON
position		= 366,71,430,135
group			= ICONS
picture			= right arrow

[TEXTWINDOW]
command			= click
position		= 10,204,630,390
lineSpace		= 22
fontScale		= 0.9
;UpEnableTexture	= interfaces\UpDownScrollBtn.tga
;UpDisableTexture	= interfaces\UpDownScrollBtn.tga
;UpEnablePos		= 5,176,31,202
;UpEnableUV		= 0,0,0.40625,0.40625
;UpDisableUV		= 0,0.5,0.40625,0.90625
;DownEnableTexture	= interfaces\UpDownScrollBtn.tga
;DownDisableTexture	= interfaces\UpDownScrollBtn.tga
;DownEnablePos		= 5,449,31,475
;DownEnableUV		= 0.5,0,0.90625,0.40625
;DownDisableUV		= 0.5,0.5,0.90625,0.90625

[EQUIP_BUTTON]
group		= ICONS_NEW
bBreakCommand
command		= activate
command		= click
command		= deactivate
command		= upstep
position	= 88,446,553,478
string			= Equip that

[CONTEXTHELP]
position	= 88,434,553,466
defhelp = chelp_common#1

[B_WEAPON]
group		= ICONS_NEW
bBreakCommand
strOffset	= 3
font		= INTERFACE_ULTRASMALL
command		= activate
command		= click
command		= deactivate
command		= upstep
position	= 88,398,199,420
string		= IntWeapon

[B_POTION]
group		= ICONS_NEW
bBreakCommand
strOffset	= 3
font		= INTERFACE_ULTRASMALL
command		= activate
command		= click
command		= deactivate
command		= upstep
position	= 206,398,317,420
string		= IntMedicine

[B_ITEMS]
group		= ICONS_NEW
bBreakCommand
strOffset	= 3
font		= INTERFACE_ULTRASMALL
command		= activate
command		= click
command		= deactivate
command		= upstep
position	= 324,398,435,420
string		= IntItems

[B_QUEST]
group		= ICONS_NEW
bBreakCommand
strOffset	= 3
font		= INTERFACE_ULTRASMALL
command		= activate
command		= click
command		= deactivate
command		= upstep
position	= 442,398,553,420
string		= IntQuest