<Dialog width = "1024" height = "768" template = "Movie/__init__.xml">

    <text name = "caption" style = "StatusText">
        <text> LANG('movie.region.error_title') </text>     
    </text>
    
    <text name = "tCurrentRegion" style = "FuncButtonText">
        <rect> 280+5, 135+0, 480, 27 </rect>
        <text> LANG('movie.region.current_code') </text>
        <dock_side> 'HORZ', </dock_side>     
    </text>
    
    <SettingButton name = "bCurrentRegion">
        <rect> 280, 135+27, 520, 61 </rect>
        <text> LANG('') </text>
        <dock_side> 'HORZ', </dock_side>   
        <showHintIcon> False </showHintIcon>
        <enabled> False </enabled>
    </SettingButton>
    
    <text name = "tDiskRegionTitle" style="FuncButtonText">
        <rect> 280+5, 135+83, 480, 27</rect>
        <text> LANG('movie.region.disk_support_code') </text>
        <dock_side> 'HORZ', </dock_side>     
    </text>
    
    <text name="tDiskRegion" style="FuncButtonText">
        <rect> 280+480, 135+83, 50, 27</rect>
        <text> '' </text>
        <dock_side> 'HORZ', </dock_side>       
    </text>   
    
    <SettingButton name = "bDiskRegion">
        <rect> 280+0, 135+110, 520, 61 </rect>
	    <caption> '' </caption>
	    <dock_side> 'HORZ', </dock_side>
    </SettingButton>

    <text name = "tRemainRegion" style="FuncButtonText">
        <rect> 280+5, 135+166, 480, 27</rect>
        <text> LANG('movie.region.remain_change_times') </text>
        <dock_side> 'HORZ', </dock_side>        
    </text>
    
    <SettingButton name = "bRemainRegion">
        <rect> 280, 135+193, 520, 61 </rect>
        <text> LANG('') </text>
        <dock_side> 'HORZ', </dock_side>   
        <showHintIcon> False </showHintIcon>
        <enabled> False </enabled>
    </SettingButton>

    <text name = "tChange" style="FuncButtonText">
        <rect> 280+5, 135+249+66, 480, 27</rect>
        <text> LANG('movie.region.sure_to_change') </text>
        <dock_side> 'HORZ', </dock_side>      
    </text>    
    
    <SettingButton name = "bChange">
        <rect> 280, 135+276+66, 520, 61 </rect>
        <caption> LANG('movie.region.yes_to_change') </caption>
        <bind event = "Click"> onChange </bind>
        <dock_side> 'HORZ', </dock_side>
        <showHintIcon> False </showHintIcon>
    </SettingButton>    
    
    <SettingButton name = "bKeep">
        <rect> 280, 135+359+66, 520, 61 </rect>
        <caption> LANG('movie.region.no_to_keep') </caption>
        <bind event = "Click"> onKeep </bind>
        <dock_side> 'HORZ', </dock_side>
        <showHintIcon> False </showHintIcon>
    </SettingButton>    
    
    <dirmap from = "bDiskRegion"   down = "bChange"/>
    
    <dirmap from = "bChange"   up = "bDiskRegion"/>
    <dirmap from = "bChange"   down = "bKeep"/>
    
    <dirmap from = "bKeep"     up = "bChange"/>
    
</Dialog>
