aboutsummaryrefslogtreecommitdiff
path: root/js/components/tools-properties/pen-properties.reel/pen-properties.html
blob: 9bae188e613243ce562f926f325aaf733741b017 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE HTML>
<!-- <copyright>
 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
 (c) Copyright 2011 Motorola Mobility, Inc.  All Rights Reserved.
 </copyright> -->
<html>
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <link rel="stylesheet" type="text/css" href="pen-properties.css">

        <script type="text/montage-serialization">
        {

            "strokeSizeHT": {
                "prototype": "js/components/hottextunit.reel[HotTextUnit]",
                "properties": {
                    "element": {"#": "strokeSize"},
                    "minValue": 1,
                    "maxValue": 100,
                    "value": 1,
                    "decimalPlace": 10,
                    "acceptableUnits" : ["px", "pt"]
                }
            },

            "owner": {
                "prototype": "js/components/tools-properties/pen-properties.reel",
                "properties": {
                    "element": {"#": "penProperties"},
                    "_fillColorCtrl": {"#": "fillColorCtrl"},
                    "_strokeColorCtrl": {"#": "strokeColorCtrl"},
                    "_strokeSize": {"@": "strokeSizeHT"}
                }
            }
    	}
        </script>
       
    </head>

    <body>
    <div data-montage-id="penProperties" class="subToolHolderPanel optionsPenTool">
        <div class="colorCtrlIcon PencilTool"></div>
        <div data-montage-id="strokeColorCtrl" class="strokeColorCtrl"></div>
        <div class="colorCtrlIcon FillTool"></div>
        <div data-montage-id="fillColorCtrl" class="fillColorCtrl"></div>
        <div class="nj-divider divider-vertical">&nbsp;</div>
        <label class="label"> Stroke:</label>
        <div id="strokeSize" class="label"></div>
    </div>
    </body>

</html>