1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22//  RID_SIDEBAR_POSSIZE_PANEL--------------------------------------------------------------
23#define FT_WIDTH                                            1
24#define MTR_FLD_WIDTH										2
25#define FT_HEIGHT                                           3
26#define MTR_FLD_HEIGHT										4
27#define CBX_SCALE										    5
28#define FT_SBSHAPE_HORIZONTAL                               7
29#define MF_SBSHAPE_HORIZONTAL                               8
30#define FT_SBSHAPE_VERTICAL                                 9
31#define MF_SBSHAPE_VERTICAL                                 10
32#define FT_SBSHAPE_POSREFERENCE                             11
33#define CTL_SBSHAPE_POSREFERENCE                            12
34#define FT_ANGLE											13
35#define MTR_FLD_ANGLE										14
36#define TBX_FLIP                                            15
37#define DIAL_CONTROL										17
38#define FLIP_HORIZONTAL										18
39#define FLIP_VERTICAL										19
40#define IMG_HORI_FLIP										20
41#define IMG_VERT_FLIP									    21
42#define FT_FLIP												22
43#define STR_QH_HORI_FLIP									23
44#define STR_QH_VERT_FLIP									24
45
46#define IMG_DIACONTROL_NORMAL		                        25
47#define IMG_DIACONTROL_H			                        26
48
49#define MBOX_WIDTH						50
50#define TEXT_WIDTH                      40
51#define FLIP_BUTTON_SIZE                13
52#define ALIGNMENT_TBX_HEIGHT  17
53#define ALIGNMENT_TBX_WIDTH   13
54
55#define FT_POSITION_X_X							SECTIONPAGE_MARGIN_HORIZONTAL
56#define FT_POSITION_X_Y							SECTIONPAGE_MARGIN_VERTICAL_TOP
57#define MF_POSITION_X_X							FT_POSITION_X_X
58#define MF_POSITION_X_Y							FT_POSITION_X_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL
59#define FT_POSITION_Y_X							FT_POSITION_X_X + MBOX_WIDTH + CONTROL_SPACING_HORIZONTAL
60#define FT_POSITION_Y_Y							FT_POSITION_X_Y
61#define MF_POSITION_Y_X							FT_POSITION_Y_X
62#define MF_POSITION_Y_Y							MF_POSITION_X_Y
63
64#define FT_WIDTH_X								SECTIONPAGE_MARGIN_HORIZONTAL
65#define FT_WIDTH_Y								MF_POSITION_X_Y + MBOX_HEIGHT + CONTROL_SPACING_VERTICAL
66#define FLD_WIDTH_X								FT_WIDTH_X
67#define FLD_WIDTH_Y								FT_WIDTH_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL
68#define FT_HEIGHT_X								FT_WIDTH_X + MBOX_WIDTH + CONTROL_SPACING_HORIZONTAL
69#define FT_HEIGHT_Y								FT_WIDTH_Y
70#define FLD_HEIGHT_X							FT_HEIGHT_X
71#define FLD_HEIGHT_Y							FLD_WIDTH_Y
72#define CBX_X                                   FT_WIDTH_X
73#define CBX_Y									FLD_WIDTH_Y + MBOX_HEIGHT + CONTROL_SPACING_VERTICAL
74/////////////////////
75#define FT_ROTATION_X							FT_WIDTH_X
76#define FT_ROTATION_Y							CBX_Y + CONTROL_SPACING_VERTICAL + TEXT_HEIGHT
77
78#define MF_ROTATION_X							FT_ROTATION_X + 40 + CONTROL_SPACING_HORIZONTAL
79#define MF_ROTATION_Y							FT_ROTATION_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL
80
81#define ROTATE_CONTROL_X						FT_ROTATION_X
82#define ROTATE_CONTROL_Y						MF_ROTATION_Y + 4
83
84#define FT_FLIP_X                               MF_ROTATION_X
85#define FT_FLIP_Y								MF_ROTATION_Y + MBOX_HEIGHT + CONTROL_SPACING_VERTICAL + 5
86
87#define BTN_FLIP_HORI_X                         PROPERTYPAGE_WIDTH - SECTIONPAGE_MARGIN_HORIZONTAL - TOOLBOX_ITEM_WIDTH * 2 - 1   // wj for 7926
88#define BTN_FLIP_HORI_Y							FT_FLIP_Y - 5
89////////////////////////////////
90
91#define FT_ANGLE_X                              FLD_WIDTH_X
92#define FT_ANGLE_Y								FLD_WIDTH_Y + 4
93
94#define MF_ANGLE_X2								MF_ROTATION_X
95#define MF_ANGLE_Y2								FT_ANGLE_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL
96
97#define ROTATE_CONTROL_X2						FT_ANGLE_X
98#define ROTATE_CONTROL_Y2						MF_ANGLE_Y2 + 4
99
100#define FT_FLIP_X2                              MF_ANGLE_X2
101#define FT_FLIP_Y2								MF_ANGLE_Y2 + MBOX_HEIGHT + CONTROL_SPACING_VERTICAL + 5
102
103#define FLIP_HORI_X2							PROPERTYPAGE_WIDTH - SECTIONPAGE_MARGIN_HORIZONTAL - TOOLBOX_ITEM_WIDTH * 2		//FT_FLIP_X2 + 22
104#define FLIP_HORI_Y2							FT_FLIP_Y2 - 5
105
106#define PS_SECTIONPAGE_HEIGHT                   BTN_FLIP_HORI_Y + ALIGNMENT_TBX_HEIGHT + SECTIONPAGE_MARGIN_VERTICAL_BOT + 2
107#define PS_SECTIONPAGE_HEIGHT2                  FLIP_HORI_Y2 + ALIGNMENT_TBX_HEIGHT + SECTIONPAGE_MARGIN_VERTICAL_BOT + 2
108#define PS_SECTIONPAGE_HEIGHT3                  FT_WIDTH_Y + TEXT_HEIGHT + SECTIONPAGE_MARGIN_VERTICAL_BOT
109#define PS_SECTIONPAGE_HEIGHT4                  CBX_Y + CBOX_HEIGHT + SECTIONPAGE_MARGIN_VERTICAL_BOT
110
111// eof
112