aboutsummaryrefslogtreecommitdiff
path: root/js/components/tools-properties/brush-properties.reel/brush-properties.html
blob: 7d99a42aebf2c8ba78c3aa8deb1f1a2cb653c01a (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!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="brush-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"]
                }
            },

            "strokeHardnessHT": {
                "prototype": "js/components/hottextunit.reel[HotTextUnit]",
                "properties": {
                    "element": {"#": "strokeHardness"},
                    "minValue": 0,
                    "maxValue": 100,
                    "value": 100,
                    "decimalPlace": 10,
                    "acceptableUnits" : ["%"],
                    "units" : "%"
                }
            },

            "strokeAngleHT": {
                "prototype": "js/components/hottextunit.reel[HotTextUnit]",
                "properties": {
                    "element": {"#": "strokeAngle"},
                    "minValue": -90,
                    "maxValue": 90,
                    "value": 0,
                    "decimalPlace": 10,
                    "acceptableUnits" : ["deg."],
                    "units" : "deg."
                }
            },

            "smoothingAmountHT": {
                "prototype": "js/components/hottext.reel[HotText]",
                "properties": {
                    "element": {"#": "smoothingAmount"},
                    "minValue": 0,
                    "maxValue": 100,
                    "value": 0,
                    "decimalPlace": 10
                }
            },

            "owner": {
                "prototype": "js/components/tools-properties/brush-properties.reel",
                "properties": {
                    "element": {"#": "brushProperties"},
                    "_fillColorCtrl": {"#": "fillColorCtrl"},
                    "_strokeSize": {"@": "strokeSizeHT"},
                    "_strokeHardness": {"@": "strokeHardnessHT"},
                    "_doSmoothing": {"#": "doSmoothing"},
                    "_smoothingAmount": {"@": "smoothingAmountHT"},
                    "_useCalligraphic":{"#": "useCalligraphic"},
                    "_strokeAngle": {"@": "strokeAngleHT"},
                    "_angleLabel": {"#": "angleLabel"}
                }
            }
    	}
	    </script>

    </head>

    <body>
        <div data-montage-id="brushProperties" class="subToolHolderPanel toolOptionsFloatChildren">
            <div class="toolColorChipIcon FillTool"></div>
            <div data-montage-id="fillColorCtrl" class="toolColorChipCtrl"></div>
            <div class="nj-divider divider-vertical">&nbsp;</div>
            <label class="label"> Width:</label>
            <div data-montage-id="strokeSize" class="label"></div>
            <label class="label"> Hardness:</label>
            <div data-montage-id="strokeHardness" class="label"></div>
            <input data-montage-id="doSmoothing" type="checkbox" name="doSmoothingControl" class="nj-skinned"/><label class="label">Smoothing</label>
            <div data-montage-id="smoothingAmount" class="label"></div>
            <input data-montage-id="useCalligraphic" type="checkbox" name="useCalligraphicControl" class="nj-skinned"/><label class="label">Calligraphic</label>
            <label data-montage-id="angleLabel" class="label"">Angle:</label>
            <div data-montage-id="strokeAngle" class="label"></div>
        </div>
    </body>

</html>