• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            萬星星@豌豆莢 歡迎加入我們
            一個吃軟飯的男人!!!!!我只想寫程序####
            微博:http://weibo.com/wanlianwen
            posts - 172,  comments - 1253,  trackbacks - 0

            OutlookBar:
             

            StackBar && ImageCanvas:

             
             


            基于OPENGL的實現(xiàn)嘗試:
             


            3維里面中文字體的處理比較麻煩,dx10開始支持界面控件,不知道是否已經(jīng)支持中文。dx9以及ogl本身不支持中文,所以需要借助其他輔助庫。freetype是不錯的字體管理庫,用它來處理3維中的中英文會很輕松。

             
             


            OGL實現(xiàn)版本,以后沒時間做了,唉:
            Hover:


            Pressed:
             

            MenuBar:
             

            Menu圖標(biāo)處理:



            最終界面描述文件:
            <?xml version="1.0" encoding="utf-8"?>
            <XUI>
              
            <XUIVerticalLayout>
                
            <XUIMenubar>
                  
            <XUIToolGripper>
                  
            </XUIToolGripper>
                  
            <XUIMenuButton text="文件" name="menu_file"></XUIMenuButton>
                  
            <XUIMenuButton text="編輯"></XUIMenuButton>
                  
            <XUIMenuButton text="視圖"></XUIMenuButton>
                
            </XUIMenubar>
                
            <XUIToolbar>
                  
            <XUIToolGripper>
                  
            </XUIToolGripper>
                  
            <XUIToolButton text="哈哈" tooltip="我狠開心" icon="face.ico"></XUIToolButton>
                  
            <XUIToolSeparator></XUIToolSeparator>
                  
            <XUIToolButton icon="My documents.ico"></XUIToolButton>
                  
            <XUIToolButton icon="QQhome.ico"></XUIToolButton>
                  
            <XUIToolButton icon="security_normal.ico"></XUIToolButton>
                  
            <XUIToolSeparator></XUIToolSeparator>
                  
            <XUIToolButton icon="SongList.ico"></XUIToolButton>
                
            </XUIToolbar>
                
            <XUIHorizontalSplitLayout inset="3">
                    
            <XUIPane width="160">
                      
            <XUIOutlookBar>
                        
            <XUIOutlookBarPane icon="Yahoo Messenger.ico" text="郵件">
                          
            <XUIVerticalLayout>
                            
            <XUILabel text="  我的郵件箱"></XUILabel>
                          
            </XUIVerticalLayout>
                        
            </XUIOutlookBarPane>
                        
            <XUIOutlookBarPane icon="2.ico" text="日歷"></XUIOutlookBarPane>
                        
            <XUIOutlookBarPane icon="3.ico" text="聯(lián)系人"></XUIOutlookBarPane>
                        
            <XUIOutlookBarPane icon="4.ico" text="任務(wù)"></XUIOutlookBarPane>
                        
            <XUIOutlookBarPane icon="5.ico" text="便簽"></XUIOutlookBarPane>
                        
            <XUIOutlookBarPane icon="6.ico" text="文件夾列表"></XUIOutlookBarPane>
                      
            </XUIOutlookBar>
                    
            </XUIPane>
                    
            <XUIPane>
                      
            <XUIHeaderPanel text="Demos">
                        
            <XUITopTab>
                          
            <XUITabPage text="TileLayout">
                            
            <XUITileLayout scrollbar="true">
                              
            <XUIPushButton text="hello, xui1"></XUIPushButton>
                              
            <XUIPushButton text="hello, xui2"></XUIPushButton>
                              
            <XUIPushButton text="hello, xui3"></XUIPushButton>
                              
            <XUIPushButton text="hello, xui4"></XUIPushButton>
                              
            <XUIPushButton text="hello, xui5"></XUIPushButton>
                              
            <XUIPushButton text="hello, xui6"></XUIPushButton>
                              
            <XUIPushButton text="hello, xui7"></XUIPushButton>
                              
            <XUIPushButton text="hello, xui8"></XUIPushButton>
                              
            <XUIPushButton text="hello, xui9"></XUIPushButton>
                              
            <XUIPushButton text="hello, xui10"></XUIPushButton>
                              
            <XUIPushButton text="hello, xui11"></XUIPushButton>
                              
            <XUIPushButton text="hello, xui12"></XUIPushButton>
                              
            <XUIPushButton text="hello, xui13"></XUIPushButton>
                              
            <XUIPushButton text="hello, xui14"></XUIPushButton>
                              
            <XUIPushButton text="hello, xui15"></XUIPushButton>
                              
            <XUIPushButton text="hello, xui16"></XUIPushButton>
                              
            <XUIPushButton text="hello, xui17"></XUIPushButton>
                              
            <XUIPushButton text="hello, xui18"></XUIPushButton>
                            
            </XUITileLayout>
                          
            </XUITabPage>
                          
            <XUITabPage text="DialogLayout">
                            
            <XUIDialogLayout scrollbar="false">
                              
            <XUIPushButton text="hello, xui1" pos="100,0,200,20" stretch="group"></XUIPushButton>
                              
            <XUIPushButton text="hello, xui2" pos="300,0,400,20" stretch="size_x"></XUIPushButton>
                              
            <XUIPushButton text="hello, xui3" pos="0,100,200,130" stretch="group"></XUIPushButton>
                              
            <XUIMultiLineEdit pos="300,25,400,90" stretch="size_x"></XUIMultiLineEdit>
                              
            <XUISingleLineEdit text="你好!" pos="250,100,400,120"></XUISingleLineEdit>
                            
            </XUIDialogLayout>
                          
            </XUITabPage>
                          
            <XUITabPage text="StackBar">
                            
            <XUIHorizontalSplitLayout>
                              
            <XUIPane width="160">
                                
            <XUIStackBar>
                                  
            <XUIStackBarPane text="文件夾">
                                    
            <XUIActiveX clsid="ImagePreview.FolderTree.1" name="treeview"></XUIActiveX>
                                  
            </XUIStackBarPane>
                                  
            <XUIStackBarPane  text="Preview">
                                    
            <XUIActiveX clsid="ImagePreview.PreviewList.1" name="Preview"></XUIActiveX>
                                  
            </XUIStackBarPane>
                                  
            <XUIStackBarPane  text="其他"></XUIStackBarPane>
                                
            </XUIStackBar>
                              
            </XUIPane>
                              
            <XUIPane>
                                
            <XUIVerticalLayout>
                                  
            <XUIHorizontalLayout height="45">
                                    
            <XUIImageCanvas width="26" image="ui_lt.bmp" bitbltmode="stretch"></XUIImageCanvas>
                                    
            <XUIImageCanvas image="ui_t.bmp" bitbltmode="stretch">
                                    
            </XUIImageCanvas>
                                    
            <XUIImageCanvas width="45" image="ui_rt.bmp" bitbltmode="stretch"></XUIImageCanvas>
                                  
            </XUIHorizontalLayout>
                                  
            <XUIHorizontalLayout>
                                    
            <XUIImageCanvas width="26" image="ui_l.bmp" bitbltmode="stretch"></XUIImageCanvas>
                                    
            <XUIImageCanvas image="ui_m.bmp" bitbltmode="stretch"></XUIImageCanvas>
                                    
            <XUIImageCanvas width="45" image="ui_r.bmp" bitbltmode="stretch"></XUIImageCanvas>
                                  
            </XUIHorizontalLayout>
                                  
            <XUIHorizontalLayout height="32">
                                    
            <XUIImageCanvas width="26" image="ui_lb.bmp" bitbltmode="stretch"></XUIImageCanvas>
                                    
            <XUIImageCanvas image="ui_b.bmp" bitbltmode="stretch"></XUIImageCanvas>
                                    
            <XUIImageCanvas width="45" image="ui_rb.bmp" bitbltmode="stretch"></XUIImageCanvas>
                                  
            </XUIHorizontalLayout>
                                
            </XUIVerticalLayout>
                              
            </XUIPane>
                            
            </XUIHorizontalSplitLayout>
                          
            </XUITabPage>
                          
            <XUITabPage text="MSChart">
                            
            <XUIActiveX clsid="owc10.chartspace.10" name="mschart"></XUIActiveX>
                          
            </XUITabPage>
                          
            <XUITabPage text="WebBrowser">
                            
            <XUIActiveX clsid="Shell.Explorer.2" name="WebBrowser"></XUIActiveX>
                          
            </XUITabPage>
                          
            <XUITabPage text="DotNetCtrl">
                            
            <XUIDotNet assembly="NetCtrl|NetCtrl.UserControl1"></XUIDotNet>
                          
            </XUITabPage>
                        
            </XUITopTab>
                      
            </XUIHeaderPanel>
                    
            </XUIPane>
                  
            </XUIHorizontalSplitLayout>
              
            </XUIVerticalLayout>
            </XUI>
            posted on 2007-08-10 14:35 萬連文 閱讀(980) 評論(5)  編輯 收藏 引用 所屬分類: 小作品

            FeedBack:
            # re: Go On
            2007-08-14 17:47 | minidxer
            兄弟,太強拉~  回復(fù)  更多評論
              
            # re: Go On[未登錄]
            2007-08-15 16:45 | jacky_zz
            么么,太漂亮了!  回復(fù)  更多評論
              
            # re: Go On
            2007-08-20 13:26 | LifeAndC
            關(guān)注你的BLOG很久了,不錯,支持。  回復(fù)  更多評論
              
            # re: Go On
            2007-08-27 19:43 | heffett
            支持  回復(fù)  更多評論
              
            # re: Go On
            2011-06-02 13:05 | MichealSun
            代碼可以開源嗎?  回復(fù)  更多評論
              
            簡歷下載
            聯(lián)系我

            <2007年5月>
            293012345
            6789101112
            13141516171819
            20212223242526
            272829303112
            3456789

            常用鏈接

            留言簿(66)

            隨筆分類

            隨筆檔案

            相冊

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            久久se精品一区二区影院 | 午夜精品久久久久久99热| 国产精久久一区二区三区| 久久精品人人做人人妻人人玩| 精品久久久久久中文字幕大豆网| 久久只这里是精品66| 色天使久久综合网天天| 亚洲精品无码专区久久久 | 人人狠狠综合久久88成人| 久久久久久精品成人免费图片| 亚洲一区精品伊人久久伊人| 久久久久久青草大香综合精品| 久久乐国产精品亚洲综合| 久久婷婷五月综合色奶水99啪 | 成人久久免费网站| 99国产精品久久| 国产成人香蕉久久久久| 亚洲&#228;v永久无码精品天堂久久 | 亚洲国产精品久久66| 欧美久久亚洲精品| 久久天天躁狠狠躁夜夜躁2014| 亚洲精品乱码久久久久久久久久久久| 无码专区久久综合久中文字幕 | 91精品国产综合久久香蕉| 蜜臀久久99精品久久久久久| 无码人妻精品一区二区三区久久久| 精品国产一区二区三区久久久狼| 久久99热国产这有精品| 色偷偷91久久综合噜噜噜噜| 色欲久久久天天天综合网精品| 久久不射电影网| 77777亚洲午夜久久多喷| 久久九九亚洲精品| 少妇熟女久久综合网色欲| 中文字幕亚洲综合久久| 无码精品久久久天天影视| 久久久国产精品| 久久ZYZ资源站无码中文动漫| 久久精品国产福利国产琪琪| 99久久99久久久精品齐齐| 久久婷婷五月综合国产尤物app|