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 --- .../brush-properties.reel/brush-properties.js | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'js/components/tools-properties/brush-properties.reel/brush-properties.js') diff --git a/js/components/tools-properties/brush-properties.reel/brush-properties.js b/js/components/tools-properties/brush-properties.reel/brush-properties.js index 7a0d21f1..1af128af 100755 --- a/js/components/tools-properties/brush-properties.reel/brush-properties.js +++ b/js/components/tools-properties/brush-properties.reel/brush-properties.js @@ -11,6 +11,46 @@ var ToolProperties = require("js/components/tools-properties/tool-properties").T var BrushProperties = exports.BrushProperties = Montage.create(ToolProperties, { addedColorChips: { value: false }, + _fillColorCtrl: { + value: null, + serializable: true + }, + + _strokeSize: { + value: null, + serializable: true + }, + + _strokeHardness: { + value: null, + serializable: true + }, + + _doSmoothing: { + value: null, + serializable: true + }, + + _smoothingAmount: { + value: null, + serializable: true + }, + + _useCalligraphic: { + value: null, + serializable: true + }, + + _strokeAngle: { + value: null, + serializable: true + }, + + _angleLabel: { + value: null, + serializable: true + }, + _fill: { enumerable: false, value: { colorMode: 'rgb', color: { r: 0, g: 0, b: 0, a: 1, css: 'rgb(0,0,0)', mode: 'rgb', wasSetByCode: true, type: 'change' }, webGlColor: [0, 0, 0, 1] } -- cgit v1.2.3