aboutsummaryrefslogtreecommitdiff
path: root/js/data/pi/pi-data.js
diff options
context:
space:
mode:
authorhwc4872012-03-29 17:13:50 -0700
committerhwc4872012-03-29 17:13:50 -0700
commit7805cc9c59d218ae9fe9cf3fac4fcec1fdf10fae (patch)
tree6bae9126296292e4f14a34aab7a1044da607fe02 /js/data/pi/pi-data.js
parent50125608bba2ebfae24c1e13ec030fe7a7128158 (diff)
parentf4949cab544886702e7ad6eeaa6215125c7b067a (diff)
downloadninja-7805cc9c59d218ae9fe9cf3fac4fcec1fdf10fae.tar.gz
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into Snapping
Diffstat (limited to 'js/data/pi/pi-data.js')
-rwxr-xr-xjs/data/pi/pi-data.js141
1 files changed, 140 insertions, 1 deletions
diff --git a/js/data/pi/pi-data.js b/js/data/pi/pi-data.js
index 52360302..7edc90d8 100755
--- a/js/data/pi/pi-data.js
+++ b/js/data/pi/pi-data.js
@@ -653,7 +653,146 @@ exports.PiData = Montage.create( Montage, {
653 ] 653 ]
654 } 654 }
655 ] 655 ]
656 } 656 },
657 SubpathPi: {
658 value: [
659 {
660 label: "Stroke",
661
662 Section: [
663 [
664 {
665 type : "color",
666 prop: "border",
667 id : "stroke"
668 },
669 {
670 type : "color",
671 id : "fill",
672 prop: "background",
673 divider : true
674 }
675 ],
676 [
677 {
678 type : "hottext",
679 id : "strokeSize",
680 prop : "strokeSize",
681 label : "Stroke",
682 valueMutator: parseFloat,
683 min : 1,
684 max : 100,
685 value : 1,
686 unit : "px",
687 acceptableUnits: ["pt", "px"]
688 }
689 ]
690 ]
691 }
692 ]
693 },
694 BrushStrokePi: {
695 value: [
696 {
697 label: "Stroke",
698
699 Section: [
700 [
701 {
702 type : "color",
703 prop: "border",
704 id : "stroke"
705 },
706 {
707 type : "color",
708 id : "fill",
709 prop: "background",
710 visible : false,
711 divider : true
712 }
713 ],
714 [
715 {
716 type : "hottext",
717 id : "strokeSize",
718 prop : "strokeSize",
719 label : "Stroke",
720 valueMutator: parseInt,
721 min : 1,
722 max : 100,
723 value : 1,
724 unit : "px",
725 acceptableUnits: ["pt", "px"]
726 },
727 {
728 type : "hottext",
729 id : "strokeHardness",
730 prop : "strokeHardness",
731 label : "Hardness",
732 valueMutator: parseInt,
733 min : 0,
734 max : 100,
735 value : 100,
736 unit : "%",
737 acceptableUnits: ["%"]
738 }
739 ]
740 ]
741 },
742 {
743 label: "Smoothing",
744 Section: [
745 [
746 {
747 type: "checkbox",
748 id: "doSmoothing",
749 prop: "doSmoothing",
750 defaultValue: false,
751 value: "Y/N",
752 checked: false
753 },
754 {
755 type : "hottext",
756 id : "strokeSmoothing",
757 prop : "strokeSmoothing",
758 label : "Amount",
759 valueMutator: parseFloat,
760 min : 0,
761 max : 100,
762 value : 0
763 }
764 ]
765 ]
766 },
767 {
768 label: "Calligraphic",
769 Section: [
770 [
771 {
772 type: "checkbox",
773 id: "isCalligraphic",
774 prop: "isCalligraphic",
775 defaultValue: false,
776 value: "Y/N",
777 checked: false,
778 divider : true
779 },
780 {
781 type : "hottext",
782 id : "strokeAngle",
783 prop : "strokeAngle",
784 label : "Angle",
785 valueMutator: parseFloat,
786 min : -90,
787 max : 90,
788 value : 0,
789 unit : "deg."
790 }
791 ]
792 ]
793 }
794 ] //value: [
795 } //BrushStrokePi: {
657}); 796});
658 797
659 798