aboutsummaryrefslogtreecommitdiff
path: root/js/components/tools-properties/brush-properties.reel/brush-properties.html
blob: d9c35dc22b748a195fb7cd96bd224e035b7f3569 (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
100
101
102
103
<!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": {
                "module": "js/components/hottextunit.reel",
                "name": "HotTextUnit",
                "properties": {
                    "element": {"#": "strokeSize"},
                    "minValue": 1,
                    "maxValue": 100,
                    "value": 1,
                    "decimalPlace": 10,
                    "acceptableUnits" : ["px", "pt"]
                }
            },

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

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

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

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

    </head>

    <body>
        <div data-montage-id="brushProperties" class="subToolHolderPanel">
            <div id="strokesContainer" class="leftLabel" style="margin-left:25px; padding-top: 3px;">
                <label class="label"> Width:</label>
                <div id="strokeSize" class="label"></div>
                <label class="label"> Hardness:</label>
                <div id="strokeHardness" class="label"></div>
                <label class="label"><input id="doSmoothing" type="checkbox" name="doSmoothingControl" class="checkBoxAlign"/>Smoothing</label>
                <div id="smoothingAmount" class="label"></div>
                <label class="label"><input id="useCalligraphic" type="checkbox" name="useCalligraphicControl" class="checkBoxAlign"/>Calligraphic</label>
                <label class="label" id="angleLabel"> Angle:</label>
                <div id="strokeAngle" class="label"></div>

            </div>
        </div>
    </body>

</html>