@@ -341,21 +341,95 @@ function tilesArray pState
341341 put "lc-ipad-landscape" into tArray [4 ]["icon" ]
342342 put "lc-ipad-landscape-filled" into tArray [4 ]["hoverIcon" ]
343343
344- put "iPhone 6" into tArray [5 ]["label" ]
345- put "newIphone6" into tArray [5 ]["tag" ]
344+ put "iPhone" into tArray [5 ]["label" ]
345+ put "newIphone" into tArray [5 ]["tag" ]
346+ put "lc-iphone" into tArray [5 ]["icon" ]
347+ put "lc-iphone-filled" into tArray [5 ]["hoverIcon" ]
348+ break
349+
350+ case "newiPhone"
351+ put "SE" into tArray [1 ]["label" ]
352+ put "newIphoneSE" into tArray [1 ]["tag" ]
353+ put "lc-iphone" into tArray [1 ]["icon" ]
354+ put "lc-iphone-filled" into tArray [1 ]["hoverIcon" ]
355+
356+ put "6s/7/8" into tArray [2 ]["label" ]
357+ put "newIphone6s78" into tArray [2 ]["tag" ]
358+ put "lc-iphone" into tArray [2 ]["icon" ]
359+ put "lc-iphone-filled" into tArray [2 ]["hoverIcon" ]
360+
361+ put "6s+/7+/8+" into tArray [3 ]["label" ]
362+ put "newIphone6sPlus7Plus8Plus" into tArray [3 ]["tag" ]
363+ put "lc-iphone" into tArray [3 ]["icon" ]
364+ put "lc-iphone-filled" into tArray [3 ]["hoverIcon" ]
365+
366+ put "X/XS/11 Pro" into tArray [4 ]["label" ]
367+ put "newIphoneXXS11Pro" into tArray [4 ]["tag" ]
368+ put "lc-iphone" into tArray [4 ]["icon" ]
369+ put "lc-iphone-filled" into tArray [4 ]["hoverIcon" ]
370+
371+ put "XR/11" into tArray [5 ]["label" ]
372+ put "newIphoneXR11" into tArray [5 ]["tag" ]
346373 put "lc-iphone" into tArray [5 ]["icon" ]
347374 put "lc-iphone-filled" into tArray [5 ]["hoverIcon" ]
348375
349- put "iPhone 5 " into tArray [6 ]["label" ]
350- put "newIphone5 " into tArray [6 ]["tag" ]
376+ put "XS Max/11 Pro Max " into tArray [6 ]["label" ]
377+ put "newIphoneXSMax11ProMax " into tArray [6 ]["tag" ]
351378 put "lc-iphone" into tArray [6 ]["icon" ]
352379 put "lc-iphone-filled" into tArray [6 ]["hoverIcon" ]
353380
354- put "iPhone 4" into tArray [7 ]["label" ]
355- put "newIphone4" into tArray [7 ]["tag" ]
356- put "lc-iphone" into tArray [7 ]["icon" ]
357- put "lc-iphone-filled" into tArray [7 ]["hoverIcon" ]
381+ break
382+ case "newTabletPortrait"
383+ put "9.7-inch" into tArray [1 ]["label" ]
384+ put "newTablet9.7portrait" into tArray [1 ]["tag" ]
385+ put "lc-ipad-portrait" into tArray [1 ]["icon" ]
386+ put "lc-ipad-portrait-filled" into tArray [1 ]["hoverIcon" ]
387+
388+ put "10.2-inch" into tArray [2 ]["label" ]
389+ put "newTablet10.2portrait" into tArray [2 ]["tag" ]
390+ put "lc-ipad-portrait" into tArray [2 ]["icon" ]
391+ put "lc-ipad-portrait-filled" into tArray [2 ]["hoverIcon" ]
392+
393+ put "10.5-inch" into tArray [3 ]["label" ]
394+ put "newTablet10.5portrait" into tArray [3 ]["tag" ]
395+ put "lc-ipad-portrait" into tArray [3 ]["icon" ]
396+ put "lc-ipad-portrait-filled" into tArray [3 ]["hoverIcon" ]
397+
398+ put "11-inch" into tArray [4 ]["label" ]
399+ put "newTablet11portrait" into tArray [4 ]["tag" ]
400+ put "lc-ipad-portrait" into tArray [4 ]["icon" ]
401+ put "lc-ipad-portrait-filled" into tArray [4 ]["hoverIcon" ]
402+
403+ put "12.9-inch" into tArray [5 ]["label" ]
404+ put "newTablet12.9portrait" into tArray [5 ]["tag" ]
405+ put "lc-ipad-portrait" into tArray [5 ]["icon" ]
406+ put "lc-ipad-portrait-filled" into tArray [5 ]["hoverIcon" ]
407+ break
408+ case "newTabletLandscape"
409+ put "9.7-inch" into tArray [1 ]["label" ]
410+ put "newTablet9.7landscape" into tArray [1 ]["tag" ]
411+ put "lc-ipad-landscape" into tArray [1 ]["icon" ]
412+ put "lc-ipad-landscape-filled" into tArray [1 ]["hoverIcon" ]
358413
414+ put "10.2-inch" into tArray [2 ]["label" ]
415+ put "newTablet10.2landscape" into tArray [2 ]["tag" ]
416+ put "lc-ipad-landscape" into tArray [2 ]["icon" ]
417+ put "lc-ipad-landscape-filled" into tArray [2 ]["hoverIcon" ]
418+
419+ put "10.5-inch" into tArray [3 ]["label" ]
420+ put "newTablet10.5landscape" into tArray [3 ]["tag" ]
421+ put "lc-ipad-landscape" into tArray [3 ]["icon" ]
422+ put "lc-ipad-landscape-filled" into tArray [3 ]["hoverIcon" ]
423+
424+ put "11-inch" into tArray [4 ]["label" ]
425+ put "newTablet11landscape" into tArray [4 ]["tag" ]
426+ put "lc-ipad-landscape" into tArray [4 ]["icon" ]
427+ put "lc-ipad-landscape-filled" into tArray [4 ]["hoverIcon" ]
428+
429+ put "12.9-inch" into tArray [5 ]["label" ]
430+ put "newTablet12.9landscape" into tArray [5 ]["tag" ]
431+ put "lc-ipad-landscape" into tArray [5 ]["icon" ]
432+ put "lc-ipad-landscape-filled" into tArray [5 ]["hoverIcon" ]
359433 break
360434 end switch
361435 return tArray
@@ -496,6 +570,20 @@ on startCenterAction pAction
496570 put tilesArray(pAction ) into tArray
497571 tilesUpdate tArray
498572 break
573+ case "newiphone"
574+ put "Home / New / iPhone" into field "breadcrumb"
575+ set the textStyle of word 1 of field "breadcrumb" to "link"
576+ put tilesArray(pAction ) into tArray
577+ tilesUpdate tArray
578+ break
579+ case "newTabletPortrait"
580+ case "newTabletLandscape"
581+ put "Home / New / Tablet" into field "breadcrumb"
582+ set the textStyle of word 1 of field "breadcrumb" to "link"
583+ put tilesArray(pAction ) into tArray
584+ tilesUpdate tArray
585+ break
586+
499587 case "samples"
500588 revIDELaunchResource "sample stacks"
501589 break
@@ -550,20 +638,53 @@ on startCenterAction pAction
550638 case "newScriptOnlyStack"
551639 revIDEActionNewScriptOnlyStack
552640 break
553- case "newTabletPortrait"
641+ case "newIphoneSE"
642+ revIDEActionNewMainstack "iPhone SE (320x568)"
643+ break
644+ case "newIphone6s78"
645+ revIDEActionNewMainstack "iPhone 6s/7/8 (375x667)"
646+ break
647+ case "newIphone6sPlus7Plus8Plus"
648+ revIDEActionNewMainstack "iPhone 6s+/7+/8+ (414x736)"
649+ break
650+ case "newIphoneXXS11Pro"
651+ revIDEActionNewMainstack "iPhone X/XS/11 Pro (375x812)"
652+ break
653+ case "newIphoneXR11"
654+ revIDEActionNewMainstack "iPhone XR/11 (414x896)"
655+ break
656+ case "newIphoneXSMax11ProMax"
657+ revIDEActionNewMainstack "iPhone XS Max / 11 Pro Max (414x896)"
658+ break
659+ case "newTablet9.7portrait"
554660 revIDEActionNewMainstack "iPad/Tablet Portrait (768x1024)"
555661 break
556- case "newTabletLandscape"
557- revIDEActionNewMainstack "iPad/Tablet Lanscape (1024x768)"
662+ case "newTablet10.2portrait"
663+ revIDEActionNewMainstack "iPad/Tablet Portrait (810x1080)"
664+ break
665+ case "newTablet10.5portrait"
666+ revIDEActionNewMainstack "iPad/Tablet Portrait (834x1112)"
667+ break
668+ case "newTablet11portrait"
669+ revIDEActionNewMainstack "iPad/Tablet Portrait (834x1194)"
670+ break
671+ case "newTablet12.9portrait"
672+ revIDEActionNewMainstack "iPad 12.9-inch/Tablet Portrait (1024x1366)"
673+ break
674+ case "newTablet9.7landscape"
675+ revIDEActionNewMainstack "iPad/Tablet Landscape (1024x768)"
676+ break
677+ case "newTablet10.2landscape"
678+ revIDEActionNewMainstack "iPad/Tablet Landscape (1080x810)"
558679 break
559- case "newIphone6 "
560- revIDEActionNewMainstack "iPhone 6 (375x667 )"
680+ case "newTablet10.5landscape "
681+ revIDEActionNewMainstack "iPad/Tablet Landscape (1112x834 )"
561682 break
562- case "newIphone5 "
563- revIDEActionNewMainstack "iPhone 5 (320x568 )"
683+ case "newTablet11landscape "
684+ revIDEActionNewMainstack "iPad/Tablet Landscape (1194x834 )"
564685 break
565- case "newIphone4 "
566- revIDEActionNewMainstack "iPhone 4 (320x480 )"
686+ case "newTablet12.9landscape "
687+ revIDEActionNewMainstack "iPad 12.9-inch/Tablet Landscape (1366x1024 )"
567688 break
568689 end switch
569690end startCenterAction
0 commit comments