Skip to content

Commit

Permalink
修改demo程序xml文件,增加垂直方向tabctrl控件的演示,demo程序浏览器页面分为IE内核和Wke内核两个浏览器tab页。
Browse files Browse the repository at this point in the history
  • Loading branch information
blueantst committed Dec 20, 2015
1 parent a90f055 commit 26e6e88
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 57 deletions.
2 changes: 1 addition & 1 deletion bin/xml/duivision/dlg_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ QQ群:325880743
<div name="tab_controls" pos="0,0,-0,-0" plugin-debug="DuiPluginDemo_d.dll" plugin="DuiPluginDemo.dll" />
</tab>

<tab name="tab.activex" title="浏览器" image="skins\icon\ico_navigate.png" img-count="1" div="tab_activex" />
<tab name="tab.browser" title="浏览器" image="skins\icon\ico_navigate.png" img-count="1" div="tab_browser" />

<tab name="tab.360" title="360演示" image="skins\icon\logo_360.png" img-count="1" outlink="true" action="dlg:dlg_360" />

Expand Down
55 changes: 0 additions & 55 deletions bin/xml/duivision/tab_activex.xml

This file was deleted.

68 changes: 68 additions & 0 deletions bin/xml/duivision/tab_browser.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>

<div pos="0,75,-0,-0" >

<tabctrl name="tabctrl.browser" tab-type="vertical" img-sep="skin:IDB_TAB_SEPERATOR--"
img-hover="skin:IDB_TAB_HOVER_V"
font="bold" item-height="80" tab-width="105" animate="1"
pos="1,1,-1,-1">
<!--tabctrl name="tabctrl.browser" tab-type="vertical" img-sep="skin:IDB_TAB_SEPERATOR_V"
font="bold" tab-width="0" item-height="0"
crtext="800000" crhover="800000" crpush="800000" animate="1"
pos="1,1,-1,-1"-->
<tab name="tab1" title="IE" image1="skin:IDB_TAB_ITEM" image="skins\icon\browser_ie.png" img-count="1" active="true" pos="105,0,-0,-0">
<webbrowser name="ie_ctrl" show="1"
delaycreate="true"
url="http://www.blueantstudio.net"
pos="1,1,-1,-1"
show-contextmenu="0"
show-scroll="1"
duimsg="invoke" >
</webbrowser>
</tab>

<tab name="tab2" title="Wke" image1="skin:IDB_TAB_ITEM" image="skins\icon\browser_wke.png" img-count="1" pos="105,0,-0,-0">
<wkeview name="webkit_ctrl" show="1"
delaycreate="true"
transparent="0"
url="http://www.blueantstudio.net/duivision/duivision.html"
pos="1,1,-1,-1"
show-contextmenu="0" >
</wkeview>
</tab>
</tabctrl>

<!--flash name="flash_ctrl" show="1"
url="skins\flash\noon.swf"
pos="1,1,-1,-1" >
</flash-->

<!--tabctrl name="tabctrl.activex" img-sep="skin:IDB_TAB_SEPERATOR"
font="bold" item-width="90" tab-height="29" crtext="800000" animate="1"
pos="1,1,-1,-31">
<tab name="tab.activex.web" image="skin:IDB_TAB_ITEM" title="浏览器" active="true" pos="0,30,-0,-0">
<activex name="ie_ctrl" show="1"
clsid="{8856F961-340A-11D0-A96B-00C04FD705A2}" delaycreate="false"
url="http://www.blueantstudio.net"
pos="1,1,-1,-1" >
</activex>
</tab>
<tab name="tab.activex.flash" image="skin:IDB_TAB_ITEM" title="Flash" pos="0,30,-0,-0">
<flash name="flash_ctrl" show="1"
url="skins\flash\noon.swf"
pos="1,1,-1,-1" >
</flash>
</tab>
<tab name="tab.activex.mediaplayer" image="skin:IDB_TAB_ITEM" title="播放器" pos="0,30,-0,-0">
<mediaplayer name="mediaplayer_ctrl" show="1"
url="skins\flash\noon.swf"
pos="1,1,-1,-1" >
</mediaplayer>
</tab>
</tabctrl-->

</div>
4 changes: 3 additions & 1 deletion bin/xml/resource.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<res type="xml" name="tab_listctrl" file="xml\duivision\tab_listctrl.xml" />
<res type="xml" name="tab_gridctrl" file="xml\duivision\tab_gridctrl.xml" />
<res type="xml" name="tab_treectrl" file="xml\duivision\tab_treectrl.xml" />
<res type="xml" name="tab_activex" file="xml\duivision\tab_activex.xml" />
<res type="xml" name="tab_browser" file="xml\duivision\tab_browser.xml" />
<res type="xml" name="tab_ext" file="xml\duivision\tab_ext.xml" />
<res type="xml" name="dlg_about" file="xml\duivision\dlg_about.xml" />
<res type="xml" name="dlg_login" file="xml\duivision\dlg_login.xml" />
Expand Down Expand Up @@ -82,9 +82,11 @@
<res type="img" name="IDB_BT_SCROLL_UP" file="skins\default\BT_SCROLL_UP.png" />
<res type="img" name="IDB_BT_SCROLL_DOWN" file="skins\default\BT_SCROLL_DOWN.png" />
<res type="img" name="IDB_TAB_SEPERATOR" file="skins\default\Tab_seperator.png" />
<res type="img" name="IDB_TAB_SEPERATOR_V" file="skins\default\Tab_seperator_v.png" />
<res type="img" name="IDB_TAB_ITEM" file="skins\default\tab.png" />
<res type="img" name="IDB_TAB_BACK" file="skins\default\tab_background.png" />
<res type="img" name="IDB_TAB_HOVER" file="skins\default\toolbar_hover.png" />
<res type="img" name="IDB_TAB_HOVER_V" file="skins\default\toolbar_hover_v.png" />
<res type="img" name="IDB_LIST_IMG" file="skins\default\list_img.png" />
<res type="img" name="IDB_MSGDLG_BK" file="skins\default\msgdlg_bk.png" />
<res type="img" name="IDB_TREE_COLLAPSE" file="skins\default\tree_collapse.png" />
Expand Down

0 comments on commit 26e6e88

Please sign in to comment.