Changeset 90

Show
Ignore:
Timestamp:
08/17/08 14:51:40 (4 months ago)
Author:
bi..@lilyapp.org
Message:

moving most xul files under a xul directory

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lily/lily/chrome/content/debug.js

    r40 r90  
    4040        open:function () { 
    4141                if(!this.dWin) { 
    42                         this.dWin=window.openDialog("chrome://lily/content/debug.xul", "dWin","width=350,height=600,left=50,top=50,toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=yes,status=no,chrome=yes",function(){LilyDebugWindow.init();}); 
     42                        this.dWin=window.openDialog("chrome://lily/content/xul/debug.xul", "dWin","width=350,height=600,left=50,top=50,toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=yes,status=no,chrome=yes",function(){LilyDebugWindow.init();}); 
    4343                }                
    4444        }, 
  • trunk/lily/lily/chrome/content/exporter.js

    r89 r90  
    466466                tmpOut.append("prefs.xul");                              
    467467                LilyUtils.writeFile(tmpOut,LilyUtils.readFile(tmpIn).replace(/chrome:\/\/lily/g,("chrome://"+projectName))); 
    468  
    469                 //readonlypatch.xul 
    470                 /* 
    471                 var tmpIn = contentIn.clone(); 
    472                 tmpIn.append("applicationpatch.xul"); 
    473                 var tmpOut = contentOut.clone(); 
    474                 tmpOut.append("readonlypatch.xul");                              
    475                 LilyUtils.writeFile(tmpOut,LilyUtils.readFile(tmpIn).replace(/chrome:\/\/lily/g,("chrome://"+projectName))); 
    476                 */ 
    477468                 
    478469                //readonlypatch.xul 
  • trunk/lily/lily/chrome/content/inspector.js

    r76 r90  
    7373                if(!this.iWin) { 
    7474                        var tmp_coords = LilyUtils.getOpenDialogCoords(300,300);         
    75                         this.iWin=window.openDialog("chrome://lily/content/inspector.xul", "iWin","width=300,height=300,left="+tmp_coords[0]+",top="+tmp_coords[1]+",toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=yes,status=no,chrome=yes",function(){LilyInspectorWindow.init(id);});                                  
     75                        this.iWin=window.openDialog("chrome://lily/content/xul/inspector.xul", "iWin","width=300,height=300,left="+tmp_coords[0]+",top="+tmp_coords[1]+",toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=yes,status=no,chrome=yes",function(){LilyInspectorWindow.init(id);});                                      
    7676                } else { 
    7777                        LilyInspectorWindow.init(id); 
  • trunk/lily/lily/chrome/content/lily.js

    r87 r90  
    878878 
    879879                //show a dialog to get the export details 
    880         Lily.getCurrentPatch().patchView.xulWin.openDialog("chrome://lily/content/exportDialog.xul", "lilyExportDialog", "chrome,titlebar,toolbar,centerscreen,modal",exportParams);           
     880        Lily.getCurrentPatch().patchView.xulWin.openDialog("chrome://lily/content/xul/exportDialog.xul", "lilyExportDialog", "chrome,titlebar,toolbar,centerscreen,modal",exportParams);               
    881881 
    882882                Lily.getCurrentPatch().patchView.showWindowStatusActivity(true); 
     
    905905 
    906906                //show a dialog to get the export details 
    907         Lily.getCurrentPatch().patchView.xulWin.openDialog("chrome://lily/content/exportDialog.xul", "lilyExportDialog", "chrome,titlebar,toolbar,centerscreen,modal",exportParams);                   
     907        Lily.getCurrentPatch().patchView.xulWin.openDialog("chrome://lily/content/xul/exportDialog.xul", "lilyExportDialog", "chrome,titlebar,toolbar,centerscreen,modal",exportParams);                       
    908908                 
    909909                Lily.getCurrentPatch().patchView.showWindowStatusActivity(true); 
     
    12161216                var tmp = LilyUtils.getOpenDialogCoords(450,450);                
    12171217                 
    1218                 win.openDialog("chrome://lily/content/patch-properties.xul", "cWin","width=450,height=450,left="+tmp[0]+",top="+tmp[1]+",close=no,scrollbars=no,dialog=yes,resizable=no,toolbar=no,menubar=no,location=no,status=no,chrome=yes,alwaysRaised=yes",function(val){ 
     1218                win.openDialog("chrome://lily/content/xul/patch-properties.xul", "cWin","width=450,height=450,left="+tmp[0]+",top="+tmp[1]+",close=no,scrollbars=no,dialog=yes,resizable=no,toolbar=no,menubar=no,location=no,status=no,chrome=yes,alwaysRaised=yes",function(val){ 
    12191219                        for(var x in val) { 
    12201220                                switch(x) { 
     
    12611261                var initVals = { color: color, type: type }; 
    12621262                 
    1263                 win.openDialog("chrome://lily/content/color.xul", "cWin","width=250,height="+height+",left="+tmp[0]+",top="+tmp[1]+",close=no,scrollbars=no,dialog=yes,resizable=no,toolbar=no,menubar=no,location=no,status=no,chrome=yes,alwaysRaised=yes",function (val) { 
     1263                win.openDialog("chrome://lily/content/xul/color.xul", "cWin","width=250,height="+height+",left="+tmp[0]+",top="+tmp[1]+",close=no,scrollbars=no,dialog=yes,resizable=no,toolbar=no,menubar=no,location=no,status=no,chrome=yes,alwaysRaised=yes",function (val) { 
    12641264                        if(type=="patch") 
    12651265                                Lily.setPatchColor(val); 
  • trunk/lily/lily/chrome/content/patch.js

    r87 r90  
    23912391        if(!this.patch.hidden && !this.patch.readonly && !extWin)       { 
    23922392                var tmp_coords = LilyUtils.getOpenDialogOffset(winWidth,winHeight);      
    2393                 this.xulWin=window.openDialog("chrome://lily/content/patch.xul", pID,"width="+winWidth+",height="+winHeight+",left="+tmp_coords[0]+",top="+tmp_coords[1]+",menubar=yes,toolbar=no,location=no,resizable=yes,scrollbars=yes,status=yes,chrome=yes",initWindow,pID);     
     2393                this.xulWin=window.openDialog("chrome://lily/content/xul/patch.xul", pID,"width="+winWidth+",height="+winHeight+",left="+tmp_coords[0]+",top="+tmp_coords[1]+",menubar=yes,toolbar=no,location=no,resizable=yes,scrollbars=yes,status=yes,chrome=yes",initWindow,pID);         
    23942394        //hidden patch 
    23952395        } else if(this.patch.hidden && !extWin) { 
     
    23982398                extWin.win.addEventListener("load",initIframe,true); 
    23992399                extWin.win.contentWindow.location.href="chrome://lily/content/patch.xhtml"; 
    2400                 //this.xulWin=window.openDialog("chrome://lily/content/hiddenpatch.xul", pID,"",initReadOnlyWindow,pID);      //hidden patch   
     2400                //this.xulWin=window.openDialog("chrome://lily/content/xul/hiddenpatch.xul", pID,"",initReadOnlyWindow,pID);  //hidden patch   
    24012401        } else if(this.patch.readonly && !extWin) { 
    24022402                var tmp_coords = LilyUtils.getOpenDialogOffset(winWidth,winHeight);              
    2403                 this.xulWin=window.openDialog("chrome://lily/content/readonlypatch.xul", pID,"width="+winWidth+",height="+winHeight+",left="+tmp_coords[0]+",top="+tmp_coords[1]+",menubar=yes,toolbar=no,location=no,resizable=yes,scrollbars=yes,status=yes,chrome=yes",initReadOnlyWindow,pID); 
     2403                this.xulWin=window.openDialog("chrome://lily/content/xul/readonlypatch.xul", pID,"width="+winWidth+",height="+winHeight+",left="+tmp_coords[0]+",top="+tmp_coords[1]+",menubar=yes,toolbar=no,location=no,resizable=yes,scrollbars=yes,status=yes,chrome=yes",initReadOnlyWindow,pID); 
    24042404        //patch in iframe 
    24052405        } else if(extWin && extWin.type=="iframe") {