From b89a7ee8b956c96a1dcee995ea840feddc5d4b27 Mon Sep 17 00:00:00 2001 From: Pierre Frisch Date: Thu, 22 Dec 2011 07:25:50 -0800 Subject: First commit of Ninja to ninja-internal Signed-off-by: Valerio Virgillito --- js/models/shape-model.js | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 js/models/shape-model.js (limited to 'js/models/shape-model.js') diff --git a/js/models/shape-model.js b/js/models/shape-model.js new file mode 100644 index 00000000..9d4fff6f --- /dev/null +++ b/js/models/shape-model.js @@ -0,0 +1,40 @@ +/* +This file contains proprietary software owned by Motorola Mobility, Inc.
+No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
+(c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. +
*/ + +var Montage = require("montage/core/core").Montage, + Component = require("montage/ui/component").Component; + +exports.ShapeModel = Montage.create(Component, { + + shapeCount: { value: 0 }, + + GLWorld: { value: null }, + GLGeomObj: { value: null }, + + strokeSize: { value: null }, + stroke: { value: null }, + strokeMaterial: { value: null }, + strokeMaterialIndex: { value: null }, + strokeStyle: { value: null }, + strokeStyleIndex: { value: null }, + + fill: { value: null }, + fillMaterial: { value: null }, + fillMaterialIndex: { value: null }, + + // Line-specific + slope: { value: null }, + + // Oval-specific + innerRadius: { value: null }, + + // Rectangle-specific + tlRadius: { value: null }, + trRadius: { value: null }, + blRadius: { value: null }, + brRadius: { value: null } + +}); \ No newline at end of file -- cgit v1.2.3