From 0e1a276f19ea70009c5a649e9667861d7c346a7e Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Wed, 6 Jun 2012 00:25:27 -0700 Subject: first iteration of adding serializable to ninja plus other changes to run the latest montage Signed-off-by: Valerio Virgillito --- .../ink-bottle-properties.js | 65 ++++++++++++++++++++++ 1 file changed, 65 insertions(+) (limited to 'js/components/tools-properties/ink-bottle-properties.reel') diff --git a/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.js b/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.js index 945df857..8b4cc327 100755 --- a/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.js +++ b/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.js @@ -11,6 +11,71 @@ var Montage = require("montage/core/core").Montage, var InkBottleProperties = exports.InkBottleProperties = Montage.create(ToolProperties, { addedColorChips: { value: false }, + _strokeColorCtrl: { + value: null, + serializable: true + }, + + useBorderWidth: { + value: null, + serializable: true + }, + + borderWidthLabel: { + value: null, + serializable: true + }, + + _borderWidth: { + value: null, + serializable: true + }, + + useBorderStyle: { + value: null, + serializable: true + }, + + borderStyleLabel: { + value: null, + serializable: true + }, + + _borderStyle: { + value: null, + serializable: true + }, + + useStrokeSize: { + value: null, + serializable: true + }, + + strokeSizeLabel: { + value: null, + serializable: true + }, + + _strokeSize: { + value: null, + serializable: true + }, + + _useWebGL: { + value: null, + serializable: true + }, + + _materialsContainer: { + value: null, + serializable: true + }, + + _strokeMaterial: { + value: null, + serializable: true + }, + _stroke: { enumerable: false, value: { colorMode: 'rgb', color: { r: 255, g: 255, b: 255, a: 1, css: 'rgb(255,255,255)', mode: 'rgb', wasSetByCode: true, type: 'change' }, webGlColor: [1, 1, 1, 1] } -- cgit v1.2.3