<Dialog width = "1024" height = "768">

    <Picture name = "tittlebackground" style = "TittleBackground"/>

    <Picture name = "lightBackground" style = "LightBackground"/>

    <Picture name = "PCMLogo" style = "BackgroundLogo"/>    

    <Picture name = "ModuleIcon" style = "ModuleIcon">
        <imageFileName> PATH(r'Mainmenu/Root_TV.PNG') </imageFileName>
    </Picture>

    <Text name = "ModuleText" style = "ModuleText">
        <text> LANG('TV') </text>
    </Text>

    <text name = "StatusText" style = "StatusText">
        <text> LANG('Recorder Settings') </text>
    </text>

    <text name = "ItemText" style = "ItemText"/>

    <text name = "InfoText" style = "InfoText">
        <color> 255, 255, 255, 255 </color>
        <autoRoll> True </autoRoll>
    </text>

    <ButtonList name = "buttonList" style = "ButtonList">
        <entry_point> "setting\file_chooser" </entry_point>

        <Item name = "biCancel">
            <caption> LANG("Cancel") </caption>
            <bind event = "Click"> onCancel </bind>
        </Item>
        <!--
        <Item name = "biNoMusic">
            <caption> LANG("No Music") </caption>
            <bind event = "Click"> onNoMusic </bind>
        </Item>-->
    </ButtonList>

    <FileBrowser name = "filebrowser" style = "ThumbInfoBrowser">
        <thumbnailview> False </thumbnailview>
        <filter> [] </filter>
        <singleCol> True </singleCol>
        <bind event = "Cell Focus Change"> onFileBrowserCellSelect </bind>
        <bind event = "Exceed path scope"> onFileBrowserTop </bind>
        <bind event = "File Select"> onSelectFile </bind>
        <bind event = "File Select Enter"> onSelectFile </bind>
    </FileBrowser>

    <Spin name = "spin" style = "BrowserSpin"/>

    <EntryBrowser name = "entrybrowser" style = "ThumbInfoBrowser">
        <spinCtrl> SELF("spin") </spinCtrl>
        <cellSize> 600, 100 </cellSize>
        <cellRegion> 30, 3 </cellRegion>      
        <bind event = "Cell Focus Change"> onEntryBrowserCellFocusChange </bind>
        <bind event = "Entry Select"> onEntryBrowserEntrySelect </bind>
    </EntryBrowser>
    
    <MusicCountListSelect name = "audiocdlistbrowser" style = "ItemBrowser">
        <rect> 364, 128+40, 609, 566 </rect>
        <spinCtrl> SELF("spin") </spinCtrl>
        <bind event = "Focus Change"> onListFocusChange </bind>
        <bind event = "Cell Focus Change"> onListCellFocusChange </bind>
        <bind event = "List Select"> onListSelect </bind>
    </MusicCountListSelect>

    <dirmap from = "buttonList" right = "filebrowser"/>
    <dirmap from = "filebrowser" left = "buttonList"/>

</Dialog>
