Changeset 84

Show
Ignore:
Timestamp:
08/14/08 21:21:48 (4 months ago)
Author:
bi..@lilyapp.org
Message:

update slider help & demo a bit

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lily/Examples/Graphics and Sound/5. Video.json

    r82 r84  
    1 var patch={'version':'0.1-public_beta-2','platform':'apple','title':'5. Video','width':238,'height':620,'color':'#FFFFFF','mode':'performance','description':'','category':'','heightInSubPatch':'0','widthInSubPatch':'0','objArray':{ 
     1var patch={'version':'0.1-public_beta-2','platform':'apple','title':'5. Video','width':239,'height':643,'color':'#FFFFFF','mode':'performance','description':'','category':'','heightInSubPatch':'0','widthInSubPatch':'0','objArray':{ 
    22        'qt!uid=1192167008865':{'name':'qt','top':294,'left':15,'color':'#FFFFFF','fontSize':'12','fontFamily':'Verdana','fontColor':'#000000','opacity':1,'zIndex':1,'height':240,'width':200,'visibility':'visible','hiddenInPerf':false,'groupName':'','cssName':'','customColor':'false','hasBeenResized':'false','args':'chrome://lily/content/help-patches/sample.mov false','inspectorConfig':[{name:"QTUrl", value:"chrome://lily/content/help-patches/sample.mov", label:"Initial URL", type:"string", input:"file"}, {name:"hideController", value:false, label:"Hide Controller", type:"boolean", input:"checkbox"}],'objID':'qt!uid=1192167008865','type':'object'}, 
    33        'prepend!uid=1192167250217':{'name':'prepend','top':252,'left':15,'color':'#FFFFFF','fontSize':'12','fontFamily':'Verdana','fontColor':'#000000','opacity':1,'zIndex':2,'height':19,'width':85,'visibility':'visible','hiddenInPerf':false,'groupName':'','cssName':'','customColor':'false','hasBeenResized':'false','args':'time','objID':'prepend!uid=1192167250217','type':'object'}, 
     
    1010        'comment!uid=1192210510407':{'name':'comment','top':8,'left':14,'color':'transparent','fontSize':'12','fontFamily':'Verdana','fontColor':'#000000','opacity':1,'zIndex':10,'height':68,'width':207,'visibility':'visible','hiddenInPerf':false,'groupName':'','cssName':'','customColor':'false','hasBeenResized':'false','args':'playing video using qt: the qt external uses the same methods for both sound and video. see the help patch for a complete list of all available methods.','inspectorConfig':[{name:"commentText", value:"playing video using qt: the qt external uses the same methods for both sound and video. see the help patch for a complete list of all available methods.", label:"Comment Text", type:"string", input:"textarea"}],'objID':'comment!uid=1192210510407','type':'object'}, 
    1111        'comment!uid=1192216782012':{'name':'comment','top':164,'left':20,'color':'transparent','fontSize':'12','fontFamily':'Verdana','fontColor':'#000000','opacity':1,'zIndex':11,'height':36,'width':98,'visibility':'visible','hiddenInPerf':false,'groupName':'','cssName':'','customColor':'false','hasBeenResized':'false','args':'<time> sets position in ms','inspectorConfig':[{name:"commentText", value:"<time> sets position in ms", label:"Comment Text", type:"string", input:"textarea"}],'objID':'comment!uid=1192216782012','type':'object'}, 
     12        'slider!uid=1218592739570':{'name':'slider','top':95,'left':15,'color':'#cccccc','fontSize':'12','fontFamily':'Verdana','fontColor':'#000000','opacity':1,'zIndex':11,'height':29,'width':203,'visibility':'visible','hiddenInPerf':false,'groupName':'','cssName':'','customColor':'true','hasBeenResized':'false','args':'#cccccc 0 4 #000000 solid undefined 0 3000','inspectorConfig':[{name:"handleColor", value:"#cccccc", label:"Handle Color", type:"text", input:"text"}, {name:"cornerRoundness", value:0, label:"% Corner Roundness", type:"number", input:"text"}, {name:"borderWidth", value:4, label:"Border Width", type:"number", input:"text"}, {name:"borderColor", value:"#000000", label:"Border Color", type:"text", input:"text"}, {name:"borderStyle", value:"solid", label:"Border Style", type:"string", options:[{label:"None", value:"none"}, {label:"Dashed", value:"dashed"}, {label:"Dotted", value:"dotted"}, {label:"Double", value:"double"}, {label:"Groove", value:"groove"}, {label:"Inset", value:"inset"}, {label:"Outset", value:"outset"}, {label:"Ridge", value:"ridge"}, {label:"Solid", value:"solid"}], input:"select"}, {name:"orientation", value:"undefined", label:"Orientation", type:"string", options:[{label:"Vertical", value:"vertical"}, {label:"Horizontal", value:"horizontal"}], input:"radio"}, {name:"rangeStart", value:0, label:"Range Start", type:"number", input:"text"}, {name:"rangeEnd", value:3000, label:"Range End", type:"number", input:"text"}],'objID':'slider!uid=1218592739570','type':'object'}, 
    1213        'prepend!uid=1192167250217.outlet1_qt!uid=1192167008865.inlet1':{'inlet':'qt!uid=1192167008865.inlet1','outlet':'prepend!uid=1192167250217.outlet1','type':'connection','hiddenInPerf':false,'segmentArray':[ 
    1314{'orientation':'vertical',startLeft:15,startTop:279,endLeft:15,endTop:288}, 
     
    3435] 
    3536}, 
    36         'slider!uid=1218592739570':{'name':'slider','top':95,'left':15,'color':'#cccccc','fontSize':'12','fontFamily':'Verdana','fontColor':'#000000','opacity':1,'zIndex':11,'height':29,'width':203,'visibility':'visible','hiddenInPerf':false,'groupName':'','cssName':'','customColor':'true','hasBeenResized':'false','args':'#cccccc 0 2 #000000 solid undefined 0 3000','inspectorConfig':[{name:"cornerRoundness", value:0, label:"% Corner Roundness", type:"number", input:"text"}, {name:"borderWidth", value:2, label:"Border Width", type:"number", input:"text"}, {name:"borderColor", value:"#000000", label:"Border Color", type:"text", input:"text"}, {name:"borderStyle", value:"solid", label:"Border Style", type:"string", options:[{label:"None", value:"none"}, {label:"Dashed", value:"dashed"}, {label:"Dotted", value:"dotted"}, {label:"Double", value:"double"}, {label:"Groove", value:"groove"}, {label:"Inset", value:"inset"}, {label:"Outset", value:"outset"}, {label:"Ridge", value:"ridge"}, {label:"Solid", value:"solid"}], input:"select"}, {name:"orientation", value:"horizontal", label:"Orientation", type:"string", options:[{label:"Vertical", value:"vertical"}, {label:"Horizontal", value:"horizontal"}], input:"radio"}, {name:"rangeStart", value:0, label:"Range Start", type:"number", input:"text"}, {name:"rangeEnd", value:3000, label:"Range End", type:"number", input:"text"}],'objID':'slider!uid=1218592739570','type':'object'}, 
    3737        'slider!uid=1218592739570.outlet1_number!uid=1192167885852.inlet1':{'inlet':'number!uid=1192167885852.inlet1','outlet':'slider!uid=1218592739570.outlet1','type':'connection','hiddenInPerf':false,'segmentArray':[ 
    38 {'orientation':'vertical',startLeft:15,startTop:135,endLeft:15,endTop:180.5}, 
     38{'orientation':'vertical',startLeft:15,startTop:131,endLeft:15,endTop:180.5}, 
    3939{'orientation':'horizontal',startLeft:15,startTop:180.5,endLeft:15,endTop:180.5}, 
    4040{'orientation':'vertical',startLeft:15,startTop:180.5,endLeft:15,endTop:219} 
  • trunk/lily/lily/chrome/content/help-patches/slider-help.json

    r83 r84  
    1 var patch={'version':'0.1-public_beta-2','platform':'apple','title':'slider-help','width':623,'height':436,'color':'#FFFFFF','mode':'performance','description':'','category':'','heightInSubPatch':'0','widthInSubPatch':'0','objArray':{ 
     1var patch={'version':'0.1-public_beta-2','platform':'apple','title':'slider-help','width':605,'height':477,'color':'#FFFFFF','mode':'performance','description':'','category':'','heightInSubPatch':'0','widthInSubPatch':'0','objArray':{ 
    22        'print!uid=2338035945695':{'name':'print','top':334,'left':168,'color':'#FFFFFF','fontSize':'12','fontFamily':'Verdana','fontColor':'#000000','opacity':1,'zIndex':3,'height':19,'width':83,'visibility':'visible','hiddenInPerf':false,'groupName':'null','cssName':'','customColor':'false','hasBeenResized':'false','args':'on slide','objID':'print!uid=2338035945695','type':'object'}, 
    33        'print!uid=1169017971725':{'name':'print','top':335,'left':358,'color':'#FFFFFF','fontSize':'12','fontFamily':'Verdana','fontColor':'#000000','opacity':1,'zIndex':5,'height':19,'width':100,'visibility':'visible','hiddenInPerf':false,'groupName':'null','cssName':'','customColor':'false','hasBeenResized':'false','args':'on change','objID':'print!uid=1169017971725','type':'object'}, 
     
    66        'comment!uid=1183086846384':{'name':'comment','top':171,'left':20,'color':'transparent','fontSize':'12','fontFamily':'Verdana','fontColor':'#000000','opacity':1,'zIndex':9,'height':64,'width':135,'visibility':'visible','hiddenInPerf':false,'groupName':'','cssName':'','customColor':'false','hasBeenResized':'false','args':'dragging the slider outputs the slider value from the left outlet. when the drag stops the final value is output from the right outlet.','inspectorConfig':[{name:"commentText", value:"dragging the slider outputs the slider value from the left outlet. when the drag stops the final value is output from the right outlet.", label:"Comment Text", type:"string", input:"textarea"}],'objID':'comment!uid=1183086846384','type':'object'}, 
    77        'comment!uid=1183086979249':{'name':'comment','top':108,'left':251,'color':'transparent','fontSize':'12','fontFamily':'Verdana','fontColor':'#000000','opacity':1,'zIndex':10,'height':18,'width':214,'visibility':'visible','hiddenInPerf':false,'groupName':'','cssName':'','customColor':'false','hasBeenResized':'false','args':'<set> changes the slider value and outputs from the right outlet.','inspectorConfig':[{name:"commentText", value:"<set> changes the slider value and outputs from the right outlet.", label:"Comment Text", type:"string", input:"textarea"}],'objID':'comment!uid=1183086979249','type':'object'}, 
    8         'comment!uid=1183087097611':{'name':'comment','top':232,'left':183,'color':'transparent','fontSize':'12','fontFamily':'Verdana','fontColor':'#000000','opacity':1,'zIndex':11,'height':31,'width':174,'visibility':'visible','hiddenInPerf':false,'groupName':'','cssName':'','customColor':'false','hasBeenResized':'false','args':'use the inspector to set the range of slider values and its orientation','inspectorConfig':[{name:"commentText", value:"use the inspector to set the range of slider values and its orientation", label:"Comment Text", type:"string", input:"textarea"}],'objID':'comment!uid=1183087097611','type':'object'}, 
    9         'comment!uid=1183087637211':{'name':'comment','top':17,'left':245,'color':'transparent','fontSize':'12','fontFamily':'Verdana','fontColor':'#000000','opacity':1,'zIndex':13,'height':11,'width':262,'visibility':'visible','hiddenInPerf':false,'groupName':'','cssName':'','customColor':'false','hasBeenResized':'false','args':'Output or display numbers using a slider.','inspectorConfig':[{name:"commentText", value:"Output or display numbers using a slider.", label:"Comment Text", type:"string", input:"textarea"}],'objID':'comment!uid=1183087637211','type':'object'}, 
     8        'comment!uid=1183087097611':{'name':'comment','top':213,'left':180,'color':'transparent','fontSize':'12','fontFamily':'Verdana','fontColor':'#000000','opacity':1,'zIndex':11,'height':31,'width':174,'visibility':'visible','hiddenInPerf':false,'groupName':'','cssName':'','customColor':'false','hasBeenResized':'false','args':'use the inspector to set the range of slider values and its orientation','inspectorConfig':[{name:"commentText", value:"use the inspector to set the range of slider values and its orientation", label:"Comment Text", type:"string", input:"textarea"}],'objID':'comment!uid=1183087097611','type':'object'}, 
     9        'comment!uid=1183087637211':{'name':'comment','top':19,'left':310,'color':'transparent','fontSize':'12','fontFamily':'Verdana','fontColor':'#000000','opacity':1,'zIndex':13,'height':11,'width':262,'visibility':'visible','hiddenInPerf':false,'groupName':'','cssName':'','customColor':'false','hasBeenResized':'false','args':'Output or display numbers using a slider.','inspectorConfig':[{name:"commentText", value:"Output or display numbers using a slider.", label:"Comment Text", type:"string", input:"textarea"}],'objID':'comment!uid=1183087637211','type':'object'}, 
    1010        'launchurl!uid=1189812748397':{'name':'launchurl','top':5,'left':22,'color':'#FFFFFF','fontSize':'45','fontFamily':'Verdana','fontColor':'blue','opacity':1,'zIndex':13,'height':40,'width':113,'visibility':'visible','hiddenInPerf':false,'groupName':'','cssName':'','customColor':'false','hasBeenResized':'false','args':'http://wiki.lilyapp.org/Slider SLIDER','inspectorConfig':[{name:"linkURL", value:"http://wiki.lilyapp.org/Slider", label:"Link URL", type:"string", input:"textarea"}, {name:"linkText", value:"SLIDER", label:"Link Text", type:"string", input:"textarea"}],'objID':'launchurl!uid=1189812748397','type':'object'}, 
    11         'slider!uid=1218546782893':{'name':'slider','top':91,'left':480,'color':'#cccccc','fontSize':'12','fontFamily':'Verdana','fontColor':'#000000','opacity':1,'zIndex':11,'height':215,'width':97,'visibility':'visible','hiddenInPerf':false,'groupName':'','cssName':'','customColor':'true','hasBeenResized':'false','args':'#FFFFFF 50 5 #000000 solid vertical 1 20','inspectorConfig':[{name:"handleColor", value:"#FFFFFF", label:"Handle Color", type:"text", input:"text"}, {name:"cornerRoundness", value:"50", label:"% Corner Roundness", type:"number", input:"text"}, {name:"borderWidth", value:"5", label:"Border Width", type:"number", input:"text"}, {name:"borderColor", value:"#000000", label:"Border Color", type:"text", input:"text"}, {name:"borderStyle", value:"solid", label:"Border Style", type:"string", options:[{label:"None", value:"none"}, {label:"Dashed", value:"dashed"}, {label:"Dotted", value:"dotted"}, {label:"Double", value:"double"}, {label:"Groove", value:"groove"}, {label:"Inset", value:"inset"}, {label:"Outset", value:"outset"}, {label:"Ridge", value:"ridge"}, {label:"Solid", value:"solid"}], input:"select"}, {name:"orientation", value:"vertical", label:"Orientation", type:"string", options:[{label:"Vertical", value:"vertical"}, {label:"Horizontal", value:"horizontal"}], input:"radio"}, {name:"rangeStart", value:1, label:"Range Start", type:"number", input:"text"}, {name:"rangeEnd", value:20, label:"Range End", type:"number", input:"text"}],'objID':'slider!uid=1218546782893','type':'object'}, 
    12         'slider!uid=1218546996040':{'name':'slider','top':153,'left':168,'color':'#cccccc','fontSize':'12','fontFamily':'Verdana','fontColor':'#000000','opacity':1,'zIndex':11,'height':64,'width':286,'visibility':'visible','hiddenInPerf':false,'groupName':'','cssName':'','customColor':'true','hasBeenResized':'false','args':'#000000 0 0 #000000 solid undefined 1 20','inspectorConfig':[{name:"handleColor", value:"#000000", label:"Handle Color", type:"text", input:"text"}, {name:"cornerRoundness", value:"0", label:"% Corner Roundness", type:"number", input:"text"}, {name:"borderWidth", value:"0", label:"Border Width", type:"number", input:"text"}, {name:"borderColor", value:"#000000", label:"Border Color", type:"text", input:"text"}, {name:"borderStyle", value:"solid", label:"Border Style", type:"string", options:[{label:"None", value:"none"}, {label:"Dashed", value:"dashed"}, {label:"Dotted", value:"dotted"}, {label:"Double", value:"double"}, {label:"Groove", value:"groove"}, {label:"Inset", value:"inset"}, {label:"Outset", value:"outset"}, {label:"Ridge", value:"ridge"}, {label:"Solid", value:"solid"}], input:"select"}, {name:"orientation", value:"undefined", label:"Orientation", type:"string", options:[{label:"Vertical", value:"vertical"}, {label:"Horizontal", value:"horizontal"}], input:"radio"}, {name:"rangeStart", value:1, label:"Range Start", type:"number", input:"text"}, {name:"rangeEnd", value:20, label:"Range End", type:"number", input:"text"}],'objID':'slider!uid=1218546996040','type':'object'}, 
     11        'slider!uid=1218546782893':{'name':'slider','top':91,'left':480,'color':'#cccccc','fontSize':'12','fontFamily':'Verdana','fontColor':'#000000','opacity':1,'zIndex':11,'height':269,'width':89,'visibility':'visible','hiddenInPerf':false,'groupName':'','cssName':'','customColor':'true','hasBeenResized':'false','args':'#FFFFFF 50 5 #000000 solid vertical 1 20','inspectorConfig':[{name:"handleColor", value:"#FFFFFF", label:"Handle Color", type:"text", input:"text"}, {name:"cornerRoundness", value:"50", label:"% Corner Roundness", type:"number", input:"text"}, {name:"borderWidth", value:"5", label:"Border Width", type:"number", input:"text"}, {name:"borderColor", value:"#000000", label:"Border Color", type:"text", input:"text"}, {name:"borderStyle", value:"solid", label:"Border Style", type:"string", options:[{label:"None", value:"none"}, {label:"Dashed", value:"dashed"}, {label:"Dotted", value:"dotted"}, {label:"Double", value:"double"}, {label:"Groove", value:"groove"}, {label:"Inset", value:"inset"}, {label:"Outset", value:"outset"}, {label:"Ridge", value:"ridge"}, {label:"Solid", value:"solid"}], input:"select"}, {name:"orientation", value:"vertical", label:"Orientation", type:"string", options:[{label:"Vertical", value:"vertical"}, {label:"Horizontal", value:"horizontal"}], input:"radio"}, {name:"rangeStart", value:1, label:"Range Start", type:"number", input:"text"}, {name:"rangeEnd", value:20, label:"Range End", type:"number", input:"text"}],'objID':'slider!uid=1218546782893','type':'object'}, 
     12        'slider!uid=1218546996040':{'name':'slider','top':153,'left':168,'color':'#cccccc','fontSize':'12','fontFamily':'Verdana','fontColor':'#000000','opacity':1,'zIndex':11,'height':46,'width':282,'visibility':'visible','hiddenInPerf':false,'groupName':'','cssName':'','customColor':'true','hasBeenResized':'false','args':'#000000 0 0 #000000 solid undefined 1 20','inspectorConfig':[{name:"handleColor", value:"#000000", label:"Handle Color", type:"text", input:"text"}, {name:"cornerRoundness", value:"0", label:"% Corner Roundness", type:"number", input:"text"}, {name:"borderWidth", value:"0", label:"Border Width", type:"number", input:"text"}, {name:"borderColor", value:"#000000", label:"Border Color", type:"text", input:"text"}, {name:"borderStyle", value:"solid", label:"Border Style", type:"string", options:[{label:"None", value:"none"}, {label:"Dashed", value:"dashed"}, {label:"Dotted", value:"dotted"}, {label:"Double", value:"double"}, {label:"Groove", value:"groove"}, {label:"Inset", value:"inset"}, {label:"Outset", value:"outset"}, {label:"Ridge", value:"ridge"}, {label:"Solid", value:"solid"}], input:"select"}, {name:"orientation", value:"undefined", label:"Orientation", type:"string", options:[{label:"Vertical", value:"vertical"}, {label:"Horizontal", value:"horizontal"}], input:"radio"}, {name:"rangeStart", value:1, label:"Range Start", type:"number", input:"text"}, {name:"rangeEnd", value:20, label:"Range End", type:"number", input:"text"}],'objID':'slider!uid=1218546996040','type':'object'}, 
    1313        'number!uid=1169019440494.outlet1_prepend!uid=1169019400944.inlet1':{'inlet':'prepend!uid=1169019400944.inlet1','outlet':'number!uid=1169019440494.outlet1','type':'connection','hiddenInPerf':false,'segmentArray':[ 
    1414{'orientation':'vertical',startLeft:22,startTop:146,endLeft:22,endTop:158.5}, 
     
    2424}, 
    2525        'slider!uid=1218546782893.outlet2_print!uid=1169017971725.inlet1':{'inlet':'print!uid=1169017971725.inlet1','outlet':'slider!uid=1218546782893.outlet2','type':'connection','hiddenInPerf':false,'segmentArray':[ 
    26 {'orientation':'vertical',startLeft:570,startTop:313,endLeft:570,endTop:330}, 
    27 {'orientation':'horizontal',startLeft:570,startTop:330,endLeft:358,endTop:330}, 
    28 {'orientation':'vertical',startLeft:358,startTop:330,endLeft:358,endTop:340} 
     26{'orientation':'vertical',startLeft:562,startTop:367,endLeft:562,endTop:383}, 
     27{'orientation':'horizontal',startLeft:562,startTop:383,endLeft:358,endTop:383}, 
     28{'orientation':'vertical',startLeft:358,startTop:383,endLeft:358,endTop:340} 
    2929] 
    3030}, 
    3131        'slider!uid=1218546782893.outlet1_print!uid=2338035945695.inlet1':{'inlet':'print!uid=2338035945695.inlet1','outlet':'slider!uid=1218546782893.outlet1','type':'connection','hiddenInPerf':false,'segmentArray':[ 
    32 {'orientation':'vertical',startLeft:480,startTop:313,endLeft:480,endTop:329.5}, 
    33 {'orientation':'horizontal',startLeft:480,startTop:329.5,endLeft:168,endTop:329.5}, 
    34 {'orientation':'vertical',startLeft:168,startTop:329.5,endLeft:168,endTop:339} 
     32{'orientation':'vertical',startLeft:480,startTop:367,endLeft:480,endTop:382.5}, 
     33{'orientation':'horizontal',startLeft:480,startTop:382.5,endLeft:168,endTop:382.5}, 
     34{'orientation':'vertical',startLeft:168,startTop:382.5,endLeft:168,endTop:339} 
    3535] 
    3636}, 
     
    4242}, 
    4343        'slider!uid=1218546996040.outlet2_print!uid=1169017971725.inlet1':{'inlet':'print!uid=1169017971725.inlet1','outlet':'slider!uid=1218546996040.outlet2','type':'connection','hiddenInPerf':false,'segmentArray':[ 
    44 {'orientation':'vertical',startLeft:446,startTop:224,endLeft:446,endTop:329.5}, 
    45 {'orientation':'horizontal',startLeft:446,startTop:329.5,endLeft:358,endTop:329.5}, 
     44{'orientation':'vertical',startLeft:442,startTop:206,endLeft:442,endTop:329.5}, 
     45{'orientation':'horizontal',startLeft:442,startTop:329.5,endLeft:358,endTop:329.5}, 
    4646{'orientation':'vertical',startLeft:358,startTop:329.5,endLeft:358,endTop:340} 
    4747] 
    4848}, 
    4949        'slider!uid=1218546996040.outlet1_print!uid=2338035945695.inlet1':{'inlet':'print!uid=2338035945695.inlet1','outlet':'slider!uid=1218546996040.outlet1','type':'connection','hiddenInPerf':false,'segmentArray':[ 
    50 {'orientation':'vertical',startLeft:168,startTop:224,endLeft:168,endTop:273.5}, 
     50{'orientation':'vertical',startLeft:168,startTop:206,endLeft:168,endTop:273.5}, 
    5151{'orientation':'horizontal',startLeft:168,startTop:273.5,endLeft:168,endTop:273.5}, 
    5252{'orientation':'vertical',startLeft:168,startTop:273.5,endLeft:168,endTop:339}