<Dialog width = "1024" height = "768">
    <Picture name = "tittlebackground" style = "TittleBackground"/>

    <Picture name = "lightBackground" style = "LightBackground"/>
    
    <Text name = "ModuleText" style = "ModuleText">
        <text> LANG('Extra') </text>
    </Text>
    
    <Picture name = "ModuleIcon" style = "ModuleIcon">
        <imageFileName> PATH(r'Mainmenu/Root_Highlight.PNG') </imageFileName>
    </Picture>

    <text name = "StatusText" style = "StatusText">
        <text> LANG('Store') </text>
    </text>
        
    <text name = "ItemText" style = "ItemText"/>
    
    <text name = "InfoText" style = "InfoText">
        <text> LANG('') </text>
    </text>
    
    <ButtonList name = "functionlist" style = "ButtonList">
        <entry_point> "extra\main" </entry_point>

        <Item name = "Whats New">
            <caption> LANG("What's New") </caption>
            <bind event = "Click"> onWhatsNew </bind>
            <checkable> True </checkable>  
            <radiogroup> "ExtraList" </radiogroup>            
        </Item>
                
        <Item name = "Store">
            <caption> LANG("Store") </caption>
            <bind event = "Click"> onStore </bind>
            <checkable> True </checkable>  
            <radiogroup> "ExtraList" </radiogroup>            
        </Item>
        
        <Item name = "Movie">
            <caption> LANG("Movie") </caption>
            <bind event = "Click"> onMovie </bind>
            <checkable> True </checkable>  
            <radiogroup> "ExtraList" </radiogroup>            
        </Item>
 
        <Item name = "Music">
            <caption> LANG("Music") </caption>
            <bind event = "Click"> onMusic </bind>
            <checkable> True </checkable>  
            <radiogroup> "ExtraList" </radiogroup>            
        </Item>
        <!--
        <Item name = "Game">
            <caption> LANG("Game") </caption>
            <bind event = "Click"> onGame </bind>
            <checkable> True </checkable>  
            <radiogroup> "ExtraList" </radiogroup>            
        </Item>
        -->
        <Item name = "Download">
            <caption> LANG("Download") </caption>            
            <bind event = "Click"> onDownload </bind>
            <checkable> True </checkable>  
            <radiogroup> "ExtraList" </radiogroup>            
        </Item>  
        
        <Item name = "Support">
            <caption> LANG("Support") </caption>
            <bind event = "Click"> onSupport </bind>
            <checkable> True </checkable>  
            <radiogroup> "ExtraList" </radiogroup>            
        </Item>

        <Item name = "More Program">
            <caption> LANG("More Program") </caption>
            <bind event = "Click"> onMoreProgram </bind>
            <checkable> True </checkable>  
            <radiogroup> "ExtraList" </radiogroup>            
        </Item>        
                         
    </ButtonList>

    <Spin name = "Spin">        
        <rect> 698, 703, 280, 36  </rect>
        <min> 1 </min>
        <dock_side> RIGHT, DOWN </dock_side>
    </Spin>    

    <FileBrowser name = "ModuleList" style= "FileBrowser">
        <cellSize> 165, int(165 * 0.75) </cellSize>
        <cellRegion> 30, 50 </cellRegion>
        <rect> 364, 150, 615, 345 </rect>
        <dock_side> LEFT, RIGHT, UP, DOWN </dock_side>
        <spinCtrl> SELF("Spin") </spinCtrl>
		<fontsize> FONTSIZE('FS6') </fontsize>
		<font> FONT('FS6') </font>          
        <bind event = "Cell Focus Change"> onCellFocusChange </bind> 
        <bind event = "File Select"> onSelectFile </bind>
        <bind event = "File Select Enter"> onSelectFileEnter </bind>
    </FileBrowser>
    
    <BannerButton2 name = "Promote">
        <rect> 364, 630, 502, 86 </rect>        
        <dock_side> RIGHT, DOWN </dock_side>
        <bind event = "Click"> onPromote </bind>
        <bind event = "Enter"> onEnterPromote </bind>
    </BannerButton2>
    
    <dirmap from = "functionlist" right = "ModuleList"/>
    <dirmap from = "functionlist" down = "Promote"/>
    
    <dirmap from = "ModuleList" left = "functionlist"/>
    <dirmap from = "ModuleList" down = "Promote"/>    
    
    <dirmap from = "Promote" left = "functionlist"/>
    <dirmap from = "Promote" up = "ModuleList"/>
    
</Dialog>
