home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 November
/
PCWorld_2007-11_cd.bin
/
temacd
/
imtoodownyoutube
/
download-youtube-video.exe
/
flvmain.xul
< prev
next >
Wrap
Extensible Markup Language
|
2007-09-06
|
13KB
|
288 lines
<?xml version="1.0"?>
<?script href="config.js"?/>
<?script href="globalvar.js"?/>
<?script href="utilfunction.js"?/>
<?script href="taskmanager.js"?/>
<?script href="flvmain.js"?/>
<?script href="regbefore.js"?/>
<?script href="startup.js"?/>
<?include href="reg.xul"/>
<?include href="flvmenupopup.xul"?/>
<?include href="settings.xul"?/>
<?include href="fileinfos.xul"?/>
<?include href="newtask.xul"?/>
<?include href="msgnormal.xul"/>
<?include href="msgspec.xul"/>
<?include href="about.xul"/>
<?include href="popupnouse.xul"/>
<?include href="popup.xul"/>
<?include href="droppopup.xul"/>
<?include href="regbefore.xul"/>
<?library href="curveline.dll"?/>
<window
id="MainWindow"
title="ImTOO Download YouTube Video"
orient="vertical"
align="stretch"
width="605"
height="501"
language_prefix="_"
vMargin="0"
hMargin="0"
center="true"
resize="false"
round="true"
roundx=15
roundy=15
IsTop="true"
bottomisround=true
min-width=400
min-height=300
minimizebox = true
>
<!--for package buy menu-->
<menu id="buymenu">
<item id="buy1" label="buy1" onclick="GoBuy1(0);"/>
<item id="buy2" label="buy2" onclick="GoBuy1(1);"/>
<item id="buy3" label="buy3" onclick="GoBuy1(2);"/>
<item id="buy4" label="buy4" onclick="GoBuy1(3);"/>
<item id="buy5" label="buy5" onclick="GoBuy1(4);"/>
</menu>
<titlebar id="title" orient="horizontal" height="30" image="titlebar.png" transparent="true" align="top" fillmode="1" hMargin="0" vMargin="0" >
<spacer align="left" width="10"/>
<vbox height=30 >
<spacer height=5/>
<static background-image="toipod.png"
height="16" width="16" align=top
transparent="true" sizetoimage="true" />
</vbox>
<spacer width=5/>
<vbox height=30>
<spacer height=6/>
<static id="maintitle" text-align="left" align=top font-color="RGB(0,0,0)" font-family=Tahoma font-bold="true" font-size=14 width="500" sizetocontent="true" transparent="true"/>
</vbox>
<vbox height=30>
<spacer height=6/>
<button align="top" image="window_min.png" width=20 height=20 onclick="MainWindow_Minimize"/>
</vbox>
<spacer width=2 align=right/>
<vbox height=30>
<spacer height=6/>
<button align="top" image="window_max.png" width=20 height=20 enable="false" onclick="MainWindow.Maximize()"/>
</vbox>
<spacer width=2 align=right/>
<vbox height=30>
<spacer height=6/>
<button align="top" image="window_close.png" width=20 height=20 onclick="MainWindow_destroy"/>
</vbox>
<spacer align="right" width="10"/>
</titlebar>
<panel image="background_sub.png" align="stretch" hMargin="0" vMargin="0" >
<panel image="background1.png" align="stretch" >
<panel align="stretch" width="600" vMargin="0" hMargin="0">
<panel style="" height="25" image="" width="605" transparent="true" orient="horizontal" align="top" vMargin="0" hMargin="0">
<spacer width=10/>
<menubar id="menubar" orient="horizontal" align="top" width="610" height="25" transparent="true" font-size="12">
<menu id="menuoffile" label="_flvmain_menu_file">
<item id="menuofnewtask" label="_flvmain_menu_new_task" onclick="shownewtask"/>
<item id="menuoffileinfo" label="_flvmain_menu_file_info" onclick="getfileinfo"/>
<item type="separator"/>
<item id="menuofexit" label="_flvmain_menu_exit" onclick="MainWindow_destroy"/>
</menu>
<menu id="menuofedit" label="_flvmain_menu_edit" >
<item id="menuofselall" label="_flvmain_menu_select_all" onclick="SelectAll"/>
<item type="separator"/>
<item id="menuofdeltask" label="_flvmain_menu_delete" onclick="deletetask"/>
<item id="menuofdelfintask" label="_flvmain_menu_delfinish" onclick="deletefinishtask"/>
</menu>
<menu id="menuofaction" label="_flvmain_menu_action">
<item id="menuofstart" label="_flvmain_menu_start" onclick="startdownload"/>
<item id="menuofpause" label="_flvmain_menu_pause" onclick="pauseconvert"/>
<item id="menuofstop" label="_flvmain_menu_stop" onclick="stopdownload"/>
<item type="separator"/>
<item id="menuofplayvideo" label="_flvmain_menu_play_video" onclick="playvideo"/>
</menu>
<menu id="menuoftools" label="_flvmain_menu_tools">
<menu id="menuoflanguage" label="_flvmain_menu_language" >
<item id="menuofenglish" label="_flvmain_menu_eng" width=300 transparent=true onclick="setenglish"/>
<item id="menuofchinese" label="_flvmain_menu_chs" width=300 transparent=true onclick="setchinese"/>
<item id="menuofgerman" label="_flvmain_menu_deu" width=300 transparent=true onclick="setgerman"/>
<item id="menuofjapan" label="_flvmain_menu_jpn" width=300 transparent=true onclick="setjapan"/>
</menu>
<menu id="menuofchangeskin" label="_flvmain_menu_change_skin">
<item id="defaultskin" label="_flvmain_menu_skin_red" onclick="setdefaultskin"/>
<item id="zidingyi" label="_flvmain_menu_skin_green" onclick="zidingyiskin" />
</menu>
<item type="separator"/>
<item id="menuofplayer" label="_flvmain_menu_player" onclick="showpreview"/>
<item type="separator"/>
<item id="menuofsettings" label="_flvmain_menu_setting" onclick="showsettings"/>
</menu>
<menu id="menuofhelp" label="_flvmain_menu_help">
<item id="menuofupodhelp" label="_flvmain_menu_showhelp" width=200 onclick="OnHelp"/>
<item type="separator"/>
<item id="menuofbuyproduct1" label="_flvmain_menu_buy1" width=200 onclick="onBuy1"/>
<item id="menuofbuyproduct2" label="_flvmain_menu_buy2" width=200 onclick="onBuy2"/>
<item id="menufeed" label="_flvmain_menu_support" width=200 onclick="onSupport"/>
<item type="separator"/>
<item id="menuabout" label="_flvmain_menu_about" width=200 onclick="onAbout"/>
</menu>
</menubar>
</panel>
<spacer height=4/>
<panel align="top" height="74" width="600" orient="horizontal" transparent="true" hMargin="0" vMargin="0" >
<hbox transparent="true">
<spacer width=33/>
<vbox height=74 align=top>
<spacer height=6/>
<button id="buttonnew" width=40 height=40 image="new.png" align="top" tooltip-text="_flvmain_btn_new" onclick="shownewtask(dropstr)"/>
<static label="_flvmain_btn_new" align=left" height=12 width=40 text-align="center" transparent=true font-family=verdana font-bold=true font-color="RGB(0,0,0)"/>
</vbox>
<spacer width=15/>
<vbox height=74>
<spacer height=16/>
<static image="getiao.png" width=1 height=33/>
</vbox>
<spacer width=15/>
<vbox height=74 align=top>
<spacer height=6/>
<button id="buttonstart" width=40 height=40 text-align="center" image="start.png" align="top" textposx=30 textposy=45 label="_flvmain_btn_start" font-bold=true font-color="RGB(255,255,255)" tooltip-text="_flvmain_btn_start" onclick="startdownload"/>
<static label="_flvmain_btn_start" align=left" height=12 width=45 text-align="center" transparent=true font-family=verdana font-bold=true font-color="RGB(0,0,0)"/>
</vbox>
<spacer width=25/>
<vbox height=74 align=top>
<spacer height=6/>
<button id="buttonpause" width=40 height=40 text-align="center" image="pause.png" align="top" textposx=30 textposy=45 label="_flvmain_btn_pause" font-bold=true font-color="RGB(255,255,255)" tooltip-text="_flvmain_btn_pause" onclick="pauseconvert"/>
<static label="_flvmain_btn_pause" align=left" height=12 width=40 text-align="center" transparent=true font-family=verdana font-bold=true font-color="RGB(0,0,0)"/>
</vbox>
<spacer width=25/>
<vbox height=74 align=top>
<spacer height=6/>
<button id="buttonstop" width=40 height=40 text-align="center" image="stop.png" align="top" textposx=30 textposy=45 label="_flvmain_btn_stop" font-bold=true font-color="RGB(255,255,255)" tooltip-text="_flvmain_btn_stop" onclick="stopdownload"/>
<static label="_flvmain_btn_stop" align=left" height=12 width=40 text-align="center" transparent=true font-family=verdana font-bold=true font-color="RGB(0,0,0)"/>
</vbox>
<spacer width=20/>
<vbox height=74 align=top>
<spacer height=6/>
<hbox>
<spacer width=8/>
<button id="buttondelete" width=40 height=40 text-align="center" image="delete.png" align="top" textposx=30 textposy=45 label="_flvmain_btn_del_task" font-bold=true font-color="RGB(255,255,255)" tooltip-text="_flvmain_btn_del_task" onclick="deletetask"/>
</hbox>
<static label="_flvmain_btn_del_task" align=left" height=12 width=62 text-align="center" transparent=true font-family=verdana font-bold=true font-color="RGB(0,0,0)"/>
</vbox>
<spacer width=12/>
<vbox height=74 align=top>
<spacer height=16/>
<static image="getiao.png" width=1 height=33/>
</vbox>
<spacer width=12/>
<vbox height=74 align=top>
<spacer height=6/>
<button id="buttonfileinfo" width=40 height=40 text-align="center" image="fileinfo.png" align="top" textposx=10 textposy=45 label="_flvmain_btn_fileinfo" font-bold=true font-color="RGB(255,255,255)" tooltip-text="_flvmain_btn_fileinfo" onclick="getfileinfo"/>
<static label="_flvmain_btn_fileinfo" align=left" height=12 width=60 text-align="center" transparent=true font-family=verdana font-bold=true font-color="RGB(0,0,0)"/>
</vbox>
<spacer width=20/>
<vbox height=74 align=top>
<spacer height=6/>
<hbox>
<spacer width=10/>
<button id="buttonpre" text-align="center" width=40 height=40 image="playvideo.png" align="top" textposx=10 textposy=45 label="_flvmain_btn_play_video" font-bold=true font-color="RGB(255,255,255)" tooltip-text="_flvmain_btn_play_video" onclick="playvideo"/>
</hbox>
<static label="_flvmain_btn_play_video" align=left" height=12 width=70 text-align="center" transparent=true font-family=verdana font-bold=true font-color="RGB(0,0,0)"/>
</vbox>
</hbox>
</panel>
<panel label="" transparent="true" align="stretch" vMargin="0" hMargin="10">
<listctrl id="listctrlfiles"
image="TableHead.png"
headHeight="100" itemHeight="22"
border="false"
font-color="RGB(0,0,0)"
emptyimage="getting start.jpg"
listctrl-font-color="RGB(38,38,38)"
listctrl-font-size=10
onrightclick="flv_listrclick"
onitemclick="flv_listitemclick"
ondropfile="listctrldropfile"
transparent="true"
vMargin="0" hMargin=0
height=0
>
<column id="image" label=""
align="center"
width="50"
type="image" />
<column id="filename" label="_flvmain_list_name"
width="120" align="left" />
<column id="filesize" label="_flvmain_list_size"
width="70" align="center" />
<column id="downprocess" label="_flvmain_list_progress"
width="100" align="center"
drawmethod="0" color1="RGB(88,217,101)"
bdrawmethod="0" bcolor1="RGB(247,196,57)"
type="progress" />
<column id="path" label="_flvmain_list_location"
width="230"
align="left"/>
</listctrl>
<panel id=pel tranparent=true align="stretch" hMargin=0 vMargin=0 ondropfile="ondropfile11" image="getting start.jpg">
<spacer height=155/>
<hbox height=30>
<spacer width=430/>
<vbox height=30>
<spacer height=28/>
<link text="More Information..." transparent="true" url="http://www.imtoo.com/youtube-video-converter.html" link-color=RGB(200,200,0) align=bottom text-align=left font-size=12 font-bold=true font-underline=true width=100/>
</vbox>
</hbox>
<spacer height=63/>
<hbox height=20>
<spacer width=430/>
<vbox height=20>
<link text="More Information..." transparent=true url="http://www.imtoo.com/youtube-to-ipod-converter.html" link-color=RGB(200,200,0) align=bottom text-align=left font-size=12 font-bold=true font-underline=true width=100/>
</vbox>
</hbox>
</panel>
</panel>
<panel style="" height="26" align="bottom" lable="" transparent="true" orient="vertical" >
<hbox align="top">
<static id="text" transparent="true" align="right" label="_flvmain_status" width="140"/>
<spacer width="5" align="right"/>
<static id="downspeedtext" transparent="true" align="right" label="" width="60"/>
</hbox>
</panel>
</panel>
</panel>
</panel>
</window>