Changeset 128 for trunk/buddypub

Show
Ignore:
Timestamp:
04/30/08 18:55:57 (8 months ago)
Author:
silver
Message:
 
Location:
trunk/buddypub/bpclientflex/src
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/buddypub/bpclientflex/src/assets/css/buddypub_style.css

    r125 r128  
    22Panel 
    33{ 
    4         borderColor: #009DFF; 
     4        /*borderColor: #009DFF;*/ 
     5        borderColor: #51AEE8; 
    56        cornerRadius: 6; 
    67        borderAlpha: 1; 
     
    1617        /*borderStyle: solid;*/ 
    1718} 
     19Button 
     20{ 
     21        cornerRadius: 5; 
     22        fontWeight: normal; 
     23        fillAlphas: 1.0, 1.0, 1.0, 1.0; 
     24        themeColor: #FFDE77; 
     25        color: #51AEE8; 
     26        textRollOverColor: #51AEE8; 
     27        textSelectedColor: #51AEE8; 
     28} 
     29 
     30Alert 
     31{ 
     32        borderColor: #51AEE8; 
     33        backgroundColor:#51AEE8;         
     34        borderAlpha: 0.9; 
     35        backgroundAlpha:0.9; 
     36        top:10; 
     37        bottom:10;  
     38        paddingBottom:10; 
     39        paddingLeft:20; 
     40        paddingRight:20; 
     41        paddingTop:0; 
     42        fontSize: 14; 
     43        buttonStyleName: Button;         
     44} 
    1845 
    1946.panelControlBar 
     
    2148        backgroundAlpha: 1; 
    2249        barColor: #180C0C; 
    23     fontSize: 15;        
     50    fontSize: 14;        
    2451} 
    2552 
     
    4673        fontSize: 12; 
    4774} 
     75 
    4876LinkButton 
    4977{ 
     
    5179        textRollOverColor: #009DFF; 
    5280        textSelectedColor: #FF6633; 
    53         color: #009DFF; 
    54         rollOverColor: #D0DDDD; 
     81        color: #009DFF;  
     82        cornerRadius: 0; 
     83        horizontalGap: 0; 
    5584} 
     85/* 
    5686TextInput 
    5787{ 
     
    6090        fontSize: 14; 
    6191} 
     92*/ 
    6293ToolTip 
    6394{ 
  • trunk/buddypub/bpclientflex/src/index.mxml

    r126 r128  
    22<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
    33        xmlns:business="org.cnflex.buddypub.mvc.business.*" 
    4         xmlns:view="org.cnflex.buddypub.mvc.view.*" 
    5         xmlns:control="org.cnflex.buddypub.mvc.control.*"    
     4        xmlns:view="org.cnflex.buddypub.mvc.view.*"  
     5        xmlns:control="org.cnflex.buddypub.mvc.control.*"     
    66        layout="vertical" xmlns:container="org.cnflex.buddypub.mvc.view.container.*" 
    7          verticalScrollPolicy="off" horizontalScrollPolicy="off" width="100%" height="100%" 
     7         verticalScrollPolicy="off" horizontalScrollPolicy="off" width="100%" height="100%"       
    88          paddingTop="0"  paddingLeft="0" paddingRight="0" paddingBottom="0"> 
    99 
     
    1616                <![CDATA[ 
    1717                        import org.cnflex.buddypub.mvc.control.EventHandlers; 
    18                         import com.firemoss.modelglue.event.ModelGlueEvent; 
    19                         /* 
    20                         private function calculate():void{ 
    21                                 var number:int = Math.round(Number(numb.text));  
    22                                 var event:ModelGlueEvent = new ModelGlueEvent(EventHandlers.userLogin,{number:number});                          
    23                                 event.dispatch();                
    24                         } 
    25                         */ 
     18                        import com.firemoss.modelglue.event.ModelGlueEvent;                      
    2619                ]]> 
    2720        </mx:Script> 
    28         <!-- 
    29         <mx:Label text="Test"/> 
    30         <mx:Form> 
    31                 <mx:FormItem  label="Number:"> 
    32                         <mx:TextInput id="numb" text="0"/> 
    33                 </mx:FormItem> 
    34         </mx:Form> 
    35         <mx:Button label="Submit" click="calculate()"/> 
    36         -->      
    3721        <container:Main width="100%" height="100%"/> 
    3822</mx:Application> 
  • trunk/buddypub/bpclientflex/src/org/cnflex/buddypub/mvc/control/ModelGlueConfiguration.mxml

    r127 r128  
    2525                        private function systemInit():void{ 
    2626                                 
    27                                 Alert.show("SystemInit!"); 
     27                                //Alert.show("SystemInit!"); 
    2828                                                         
    2929                        }                
  • trunk/buddypub/bpclientflex/src/org/cnflex/share/container/ContentBoxPanel.as

    r126 r128  
    8282                        minimizeButton.height =  14;//设置高 
    8383                        minimizeButton.styleName = "minimizeButton";//设置样式 
     84                        minimizeButton.buttonMode = true; 
     85                        minimizeButton.useHandCursor = true; 
    8486                         
    8587                        maximizeRestoreButton =  new Button();//最大化按钮 
     
    8789                        maximizeRestoreButton.height =  14;//设置高 
    8890                        maximizeRestoreButton.styleName = "maximizeRestoreButton";//设置样式 
     91                        maximizeRestoreButton.buttonMode = true; 
     92                        maximizeRestoreButton.useHandCursor = true; 
    8993                         
    9094                        closeButton =  new Button();//关闭按钮 
     
    9296                        closeButton.height = 14;//设置高 
    9397                        closeButton.styleName = "closeButton";//设置样式 
     98                        closeButton.buttonMode = true; 
     99                        closeButton.useHandCursor = true; 
    94100                         
    95101                        //设置放置按钮容器的样式