aboutsummaryrefslogtreecommitdiff
path: root/js/panels
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels')
-rw-r--r--js/panels/CSSPanel/CSSPanel.js53
-rw-r--r--js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.css464
-rw-r--r--js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.html64
-rw-r--r--js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.js2885
-rw-r--r--js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html48
-rw-r--r--js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.js192
-rw-r--r--js/panels/CSSPanel/ComputedStyleSubPanel.reel/computed-style-sub-panel.css62
-rw-r--r--js/panels/CSSPanel/css-property-name-list.js336
-rw-r--r--js/panels/CSSPanel/css-shorthand-map.js77
-rw-r--r--js/panels/CSSPanel/css-value-completion-map.js404
-rw-r--r--js/panels/Color/colorbutton-manager.js44
-rw-r--r--js/panels/Color/colorchippopup.reel/.sass-cache/2fbca323ccf38cf180e7675ba0d8d3e07adeffea/ColorPanelPopup.scsscbin0 -> 15335 bytes
-rw-r--r--js/panels/Color/colorchippopup.reel/.sass-cache/6f8390f69a31f1a976968b9c18d0824d78460db2/ColorPanelPopup.scsscbin0 -> 17879 bytes
-rw-r--r--js/panels/Color/colorchippopup.reel/.sass-cache/de22270a8ac487505e8876f1cd16286e094a5127/ColorPanelBase.scsscbin0 -> 23592 bytes
-rw-r--r--js/panels/Color/colorchippopup.reel/colorchippopup.html63
-rw-r--r--js/panels/Color/colorchippopup.reel/colorchippopup.js590
-rwxr-xr-xjs/panels/Color/colorchippopup.reel/config.rb9
-rw-r--r--js/panels/Color/colorchippopup.reel/css/colorchippopup.css239
-rwxr-xr-xjs/panels/Color/colorchippopup.reel/css/colorchippopup.scss240
-rw-r--r--js/panels/Color/colorchippopup.reel/img/icon_bitmap.pngbin0 -> 3072 bytes
-rw-r--r--js/panels/Color/colorchippopup.reel/img/icon_colorwheel.pngbin0 -> 3420 bytes
-rw-r--r--js/panels/Color/colorchippopup.reel/img/icon_gradient.pngbin0 -> 2815 bytes
-rw-r--r--js/panels/Color/colorchippopup.reel/img/icon_nofill.pngbin0 -> 2951 bytes
-rw-r--r--js/panels/Color/colorchippopup.reel/img/knob.pngbin0 -> 1036 bytes
-rw-r--r--js/panels/Color/colorpanel.js60
-rw-r--r--js/panels/Color/colorpanelbase.reel/colorpanelbase.html76
-rw-r--r--js/panels/Color/colorpanelbase.reel/colorpanelbase.js1641
-rwxr-xr-xjs/panels/Color/colorpanelbase.reel/config.rb9
-rw-r--r--js/panels/Color/colorpanelbase.reel/css/colorpanelbase.css332
-rwxr-xr-xjs/panels/Color/colorpanelbase.reel/css/colorpanelbase.scss339
-rw-r--r--js/panels/Color/colorpanelbase.reel/img/icon_default.pngbin0 -> 3011 bytes
-rw-r--r--js/panels/Color/colorpanelbase.reel/img/icon_nocolor.pngbin0 -> 3036 bytes
-rw-r--r--js/panels/Color/colorpanelbase.reel/img/icon_swap.pngbin0 -> 2961 bytes
-rw-r--r--js/panels/Color/colorpanelbase.reel/img/knob.pngbin0 -> 1036 bytes
-rw-r--r--js/panels/Color/colorpanelpopup.reel/colorpanelpopup.html68
-rw-r--r--js/panels/Color/colorpanelpopup.reel/colorpanelpopup.js461
-rwxr-xr-xjs/panels/Color/colorpanelpopup.reel/config.rb9
-rw-r--r--js/panels/Color/colorpanelpopup.reel/css/colorpanelpopup.css239
-rw-r--r--js/panels/Color/colorpanelpopup.reel/css/colorpanelpopup.scss240
-rw-r--r--js/panels/Color/colorpanelpopup.reel/img/icon_bitmap.pngbin0 -> 3072 bytes
-rw-r--r--js/panels/Color/colorpanelpopup.reel/img/icon_colorwheel.pngbin0 -> 3420 bytes
-rw-r--r--js/panels/Color/colorpanelpopup.reel/img/icon_gradient.pngbin0 -> 2815 bytes
-rw-r--r--js/panels/Color/colorpanelpopup.reel/img/icon_nofill.pngbin0 -> 2951 bytes
-rw-r--r--js/panels/Color/colorpanelpopup.reel/img/knob.pngbin0 -> 1036 bytes
-rw-r--r--js/panels/Color/colorpopup-manager.js543
-rw-r--r--js/panels/Color/colortoolbar.reel/colortoolbar.html54
-rw-r--r--js/panels/Color/colortoolbar.reel/colortoolbar.js176
-rwxr-xr-xjs/panels/Color/colortoolbar.reel/config.rb9
-rw-r--r--js/panels/Color/colortoolbar.reel/css/colortoolbar.css45
-rwxr-xr-xjs/panels/Color/colortoolbar.reel/css/colortoolbar.scss52
-rw-r--r--js/panels/Components/Components.xml28
-rw-r--r--js/panels/Components/ComponentsPanel.js47
-rw-r--r--js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.css11
-rw-r--r--js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.html34
-rw-r--r--js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js145
-rw-r--r--js/panels/Materials/Materials.xml11
-rw-r--r--js/panels/Materials/MaterialsPanel.js44
-rw-r--r--js/panels/Materials/materials-library-panel.reel/materials-library-panel.css47
-rw-r--r--js/panels/Materials/materials-library-panel.reel/materials-library-panel.html40
-rw-r--r--js/panels/Materials/materials-library-panel.reel/materials-library-panel.js205
-rw-r--r--js/panels/Materials/materials-popup.reel/materials-popup.css162
-rw-r--r--js/panels/Materials/materials-popup.reel/materials-popup.html122
-rw-r--r--js/panels/Materials/materials-popup.reel/materials-popup.js674
-rw-r--r--js/panels/Panel.reel/Panel.html62
-rw-r--r--js/panels/Panel.reel/Panel.js233
-rw-r--r--js/panels/PanelBase.js105
-rw-r--r--js/panels/PanelContainer/PanelContainer.reel/PanelContainer.html62
-rw-r--r--js/panels/PanelContainer/PanelContainer.reel/PanelContainer.js382
-rw-r--r--js/panels/Project/ProjectPanel.js43
-rw-r--r--js/panels/Project/projectpanelbase.reel/ProjectPanelBase.js1968
-rw-r--r--js/panels/Project/projectpanelbase.reel/projectpanelbase.html108
-rw-r--r--js/panels/Resizer.js199
-rw-r--r--js/panels/Splitter.js127
-rw-r--r--js/panels/Timeline/TimelineController.js13
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.css6
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.html33
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js295
-rw-r--r--js/panels/properties/content.reel/content.css299
-rw-r--r--js/panels/properties/content.reel/content.html161
-rw-r--r--js/panels/properties/content.reel/content.js328
-rw-r--r--js/panels/properties/properties-panel.js15
-rw-r--r--js/panels/properties/section.reel/section.html50
-rw-r--r--js/panels/properties/section.reel/section.js30
-rw-r--r--js/panels/properties/sections/custom-rows/color-select.reel/color-select.html51
-rw-r--r--js/panels/properties/sections/custom-rows/color-select.reel/color-select.js62
-rw-r--r--js/panels/properties/sections/custom-rows/dual-row.reel/dual-row.html67
-rw-r--r--js/panels/properties/sections/custom-rows/dual-row.reel/dual-row.js53
-rw-r--r--js/panels/properties/sections/custom-rows/single-row.reel/single-row.html47
-rw-r--r--js/panels/properties/sections/custom-rows/single-row.reel/single-row.js50
-rw-r--r--js/panels/properties/sections/custom.reel/custom.html61
-rw-r--r--js/panels/properties/sections/custom.reel/custom.js296
-rw-r--r--js/panels/properties/sections/position-and-size.reel/position-and-size.css14
-rw-r--r--js/panels/properties/sections/position-and-size.reel/position-and-size.html142
-rw-r--r--js/panels/properties/sections/position-and-size.reel/position-and-size.js203
-rw-r--r--js/panels/properties/sections/three-d-view.reel/three-d-view.html348
-rw-r--r--js/panels/properties/sections/three-d-view.reel/three-d-view.js219
96 files changed, 17825 insertions, 0 deletions
diff --git a/js/panels/CSSPanel/CSSPanel.js b/js/panels/CSSPanel/CSSPanel.js
new file mode 100644
index 00000000..94860b30
--- /dev/null
+++ b/js/panels/CSSPanel/CSSPanel.js
@@ -0,0 +1,53 @@
1/* <copyright>
2This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3No 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
7var Montage = require("montage/core/core").Montage,
8 PanelBase = require("js/panels/PanelBase").PanelBase;
9
10var CSSPanelBase = require("js/panels/CSSPanel/CSSPanelBase.reel").CSSPanelBase;
11
12exports.CSSPanel = Montage.create(PanelBase, {
13 id : {value : "cssPanel", writable:true, enumerable:true, configurable:true},
14 panelName : {value : "CSS", writable:true, enumerable:true, configurable:true},
15 panelHeaderID : {value : "cssPanelHeader", writable:true, enumerable:true, configurable:true},
16 disclosureIconID : {value : "cssPanelDisclosureIcon", writable:true, enumerable:true, configurable:true},
17 closeButtonID : {value : "cssPanelCloseButton", writable:true, enumerable:true, configurable:true},
18 panelContentID : {value : "cssPanelContent", writable:true, enumerable:true, configurable:true},
19
20 init : {
21 enumerable:true,
22 value : function (){
23 this.minHeight = 300;
24 this.contentHeight = 300;
25 this.defaultHeight= 300;
26
27 /* OLD WAY -- Removing the temporary div
28 // TODO: Remove this comment once this is tested.
29
30 var panelContainer = document.createElement("div");
31 this._cssPanelBase = CSSPanelBase.create();
32 this._cssPanelBase.element = panelContainer;
33
34 this.content = this._cssPanelBase;
35 this._cssPanelBase.needsDraw = true;
36 */
37 //debugger;
38 this.content = CSSPanelBase.create();
39 }
40 },
41 reinit : {
42 value : function() {
43 this._cssPanelBase.clearStyleSheetList();
44 this._cssPanelBase.clearCSSRules();
45 this._cssPanelBase.populateStyleSheetList();
46 }
47 },
48 _cssPanelBase : {
49 enumerable: true,
50 value: null,
51 writable:true
52 }
53}); \ No newline at end of file
diff --git a/js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.css b/js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.css
new file mode 100644
index 00000000..ff70b5b6
--- /dev/null
+++ b/js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.css
@@ -0,0 +1,464 @@
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.css_panel {
8 background-color: #FFF;
9 display: -webkit-box;
10 -webkit-box-orient: vertical;