aboutsummaryrefslogtreecommitdiff
path: root/js/data/pi
diff options
context:
space:
mode:
authorhwc4872012-04-19 13:01:43 -0700
committerhwc4872012-04-19 13:01:43 -0700
commite6a20fe64574763483dc602bd759278ccf5e5e68 (patch)
tree69defe7200206f0257fe90697136fadef59d521e /js/data/pi
parentae7eb87564632ce7c676bd728b8ff2710ff0bb83 (diff)
parent9284c19f076dec3b47ece7dc7bcd22d74e4246c3 (diff)
downloadninja-e6a20fe64574763483dc602bd759278ccf5e5e68.tar.gz
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into Textures
Conflicts: js/lib/drawing/world.js js/lib/geom/geom-obj.js js/lib/rdge/materials/cloud-material.js js/lib/rdge/materials/deform-material.js js/lib/rdge/materials/flat-material.js js/lib/rdge/materials/material.js js/lib/rdge/materials/pulse-material.js js/lib/rdge/materials/relief-tunnel-material.js js/lib/rdge/materials/square-tunnel-material.js js/lib/rdge/materials/star-material.js js/lib/rdge/materials/taper-material.js js/lib/rdge/materials/tunnel-material.js js/lib/rdge/materials/twist-material.js js/lib/rdge/materials/twist-vert-material.js js/lib/rdge/materials/uber-material.js js/lib/rdge/materials/water-material.js js/lib/rdge/materials/z-invert-material.js
Diffstat (limited to 'js/data/pi')
-rwxr-xr-xjs/data/pi/pi-data.js145
1 files changed, 143 insertions, 2 deletions
diff --git a/js/data/pi/pi-data.js b/js/data/pi/pi-data.js
index 52360302..157c54ec 100755
--- a/js/data/pi/pi-data.js
+++ b/js/data/pi/pi-data.js
@@ -131,6 +131,8 @@ exports.PiData = Montage.create( Montage, {
131 type : "hottext", 131 type : "hottext",
132 id : "borderWidth", 132 id : "borderWidth",
133 prop : "border-width", 133 prop : "border-width",
134 defaultValue: 0,
135 valueMutator: parseFloat,
134 label : "Border", 136 label : "Border",
135 min : 0, 137 min : 0,
136 max : 100, 138 max : 100,
@@ -578,7 +580,7 @@ exports.PiData = Montage.create( Montage, {
578 valueMutator: parseFloat, 580 valueMutator: parseFloat,
579 value : 0, 581 value : 0,
580 min : 0, 582 min : 0,
581 max : 100, 583 max : 99,
582 unit : "%", 584 unit : "%",
583 acceptableUnits: ["%"] 585 acceptableUnits: ["%"]
584 586
@@ -653,7 +655,146 @@ exports.PiData = Montage.create( Montage, {
653 ] 655 ]
654 } 656 }
655 ] 657 ]
656 } 658 },
659 SubpathPi: {
660 value: [
661 {
662 label: "Stroke",
663
664 Section: [
665 [
666 {
667 type : "color",
668 prop: "border",
669 id : "stroke"
670 },
671 {
672 type : "color",
673 id : "fill",
674 prop: "background",
675 divider : true
676 }
677 ],
678 [
679 {
680 type : "hottext",
681 id : "strokeSize",
682 prop : "strokeSize",
683 label : "Stroke",
684 valueMutator: parseFloat,
685 min : 1,
686 max : 100,
687 value : 1,
688 unit : "px",
689 acceptableUnits: ["pt", "px"]
690 }
691 ]
692 ]
693 }
694 ]
695 },
696 BrushStrokePi: {
697 value: [
698 {
699 label: "Stroke",
700
701 Section: [
702 [
703 {
704 type : "color",
705 prop: "border",
706 id : "stroke"
707 },
708 {
709 type : "color",
710 id : "fill",
711 prop: "background",
712 visible : false,
713 divider : true
714 }
715 ],
716 [
717 {
718 type : "hottext",
719 id : "strokeSize",
720 prop : "strokeSize",
721 label : "Stroke",
722 valueMutator: parseInt,
723 min : 1,
724 max : 100,
725 value : 1,
726 unit : "px",
727 acceptableUnits: ["pt", "px"]
728 },
729 {
730 type : "hottext",
731 id : "strokeHardness",
732 prop : "strokeHardness",
733 label : "Hardness",
734 valueMutator: parseInt,
735 min : 0,
736 max : 100,
737 value : 100,
738 unit : "%",
739 acceptableUnits: ["%"]
740 }
741 ]
742 ]
743 },
744 {
745 label: "Smoothing",
746 Section: [
747 [
748 {
749 type: "checkbox",
750 id: "doSmoothing",
751 prop: "doSmoothing",
752 defaultValue: false,
753 value: "Y/N",
754 checked: false
755 },
756 {
757 type : "hottext",
758 id : "strokeSmoothing",
759 prop : "strokeSmoothing",
760 label : "Amount",
761 valueMutator: parseFloat,
762 min : 0,
763 max : 100,
764 value : 0
765 }
766 ]
767 ]
768 },
769 {
770 label: "Calligraphic",
771 Section: [
772 [
773 {
774 type: "checkbox",
775 id: "isCalligraphic",
776 prop: "isCalligraphic",
777 defaultValue: false,
778 value: "Y/N",
779 checked: false,
780 divider : true
781 },
782 {
783 type : "hottext",
784 id : "strokeAngle",
785 prop : "strokeAngle",
786 label : "Angle",
787 valueMutator: parseFloat,
788 min : -90,
789 max : 90,
790 value : 0,
791 unit : "deg."
792 }
793 ]
794 ]
795 }
796 ] //value: [
797 } //BrushStrokePi: {
657}); 798});
658 799
659 800