diff options
Diffstat (limited to 'js/panels/_color/colorpanel.js')
-rwxr-xr-x | js/panels/_color/colorpanel.js | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/js/panels/_color/colorpanel.js b/js/panels/_color/colorpanel.js deleted file mode 100755 index 3a603e98..00000000 --- a/js/panels/_color/colorpanel.js +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | /* <copyright> | ||
2 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
3 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
5 | </copyright> */ | ||
6 | |||
7 | //////////////////////////////////////////////////////////////////////// | ||
8 | // | ||
9 | var Montage = require("montage/core/core").Montage, | ||
10 | PanelBase = require("js/panels/panelbase").PanelBase; | ||
11 | //////////////////////////////////////////////////////////////////////// | ||
12 | //Exporting as ColorPanel | ||
13 | exports.ColorPanel = Montage.create(PanelBase, { | ||
14 | //////////////////////////////////////////////////////////////////// | ||
15 | //Panel Configuration | ||
16 | panelName: {value: "Color", writable: true, enumerable: true, configurable: true}, | ||
17 | panelHeaderID: {value: "colorPanelHeader", writable: true, enumerable: true, configurable: true}, | ||
18 | disclosureIconID: {value: "colorPanelDisclosureIcon", writable: true, enumerable: true, configurable: true}, | ||
19 | closeButtonID: {value: "colorPanelCloseButton", writable: true, enumerable: true, configurable: true}, | ||
20 | panelContentID: {value: "colorPanelContent", writable: true, enumerable: true, configurable: true}, | ||
21 | //////////////////////////////////////////////////////////////////// | ||
22 | //Creating panel from base view class | ||
23 | init: { | ||
24 | enumerable: true, | ||
25 | value: function() { | ||
26 | //Initializing Wrapper | ||
27 | this.minHeight = 200; | ||
28 | this.maxHeight = 200; | ||
29 | this.contentHeight = 200; | ||
30 | this.isStatic = true; | ||
31 | this.scrollable = false; | ||
32 | //Getting view from base in controller | ||
33 | this.content = this.application.ninja.colorController.colorView = this.application.ninja.colorController.colorPanelBase.create(); | ||
34 | //Checking for first draw to apply default colors | ||
35 | this.content.addEventListener('firstDraw', this, false); | ||
36 | |||
37 | |||
38 | //////////////////////////////////////////////////////////// | ||
39 | //////////////////////////////////////////////////////////// | ||
40 | //TODO: Remove and add via toolbar draw loop | ||
41 | |||
42 | //////////////////////////////////////////////////////////// | ||
43 | //////////////////////////////////////////////////////////// | ||
44 | |||
45 | |||
46 | } | ||
47 | }, | ||
48 | //////////////////////////////////////////////////////////////////// | ||
49 | //Applying default colors only on first draw | ||
50 | |||
51 | //////////////////////////////////////////////////////////////////// | ||
52 | //////////////////////////////////////////////////////////////////// | ||
53 | }); \ No newline at end of file | ||