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 MBOX_WIDTH 50 47#define TEXT_WIDTH 40 48#define FLIP_BUTTON_SIZE 13 49#define ALIGNMENT_TBX_HEIGHT 17 50#define ALIGNMENT_TBX_WIDTH 13 51 52#define FT_POSITION_X_X SECTIONPAGE_MARGIN_HORIZONTAL 53#define FT_POSITION_X_Y SECTIONPAGE_MARGIN_VERTICAL_TOP 54#define MF_POSITION_X_X FT_POSITION_X_X 55#define MF_POSITION_X_Y FT_POSITION_X_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL 56#define FT_POSITION_Y_X FT_POSITION_X_X + MBOX_WIDTH + CONTROL_SPACING_HORIZONTAL 57#define FT_POSITION_Y_Y FT_POSITION_X_Y 58#define MF_POSITION_Y_X FT_POSITION_Y_X 59#define MF_POSITION_Y_Y MF_POSITION_X_Y 60 61#define FT_WIDTH_X SECTIONPAGE_MARGIN_HORIZONTAL 62#define FT_WIDTH_Y MF_POSITION_X_Y + MBOX_HEIGHT + CONTROL_SPACING_VERTICAL 63#define FLD_WIDTH_X FT_WIDTH_X 64#define FLD_WIDTH_Y FT_WIDTH_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL 65#define FT_HEIGHT_X FT_WIDTH_X + MBOX_WIDTH + CONTROL_SPACING_HORIZONTAL 66#define FT_HEIGHT_Y FT_WIDTH_Y 67#define FLD_HEIGHT_X FT_HEIGHT_X 68#define FLD_HEIGHT_Y FLD_WIDTH_Y 69#define CBX_X FT_WIDTH_X 70#define CBX_Y FLD_WIDTH_Y + MBOX_HEIGHT + CONTROL_SPACING_VERTICAL 71///////////////////// 72#define FT_ROTATION_X FT_WIDTH_X 73#define FT_ROTATION_Y CBX_Y + CONTROL_SPACING_VERTICAL + TEXT_HEIGHT 74 75#define MF_ROTATION_X FT_ROTATION_X + 40 + CONTROL_SPACING_HORIZONTAL 76#define MF_ROTATION_Y FT_ROTATION_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL 77 78#define ROTATE_CONTROL_X FT_ROTATION_X 79#define ROTATE_CONTROL_Y MF_ROTATION_Y + 4 80 81#define FT_FLIP_X MF_ROTATION_X 82#define FT_FLIP_Y MF_ROTATION_Y + MBOX_HEIGHT + CONTROL_SPACING_VERTICAL + 5 83 84#define BTN_FLIP_HORI_X PROPERTYPAGE_WIDTH - SECTIONPAGE_MARGIN_HORIZONTAL - TOOLBOX_ITEM_WIDTH * 2 - 1 // wj for 7926 85#define BTN_FLIP_HORI_Y FT_FLIP_Y - 5 86//////////////////////////////// 87 88#define FT_ANGLE_X FLD_WIDTH_X 89#define FT_ANGLE_Y FLD_WIDTH_Y + 4 90 91#define MF_ANGLE_X2 MF_ROTATION_X 92#define MF_ANGLE_Y2 FT_ANGLE_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL 93 94#define ROTATE_CONTROL_X2 FT_ANGLE_X 95#define ROTATE_CONTROL_Y2 MF_ANGLE_Y2 + 4 96 97#define FT_FLIP_X2 MF_ANGLE_X2 98#define FT_FLIP_Y2 MF_ANGLE_Y2 + MBOX_HEIGHT + CONTROL_SPACING_VERTICAL + 5 99 100#define FLIP_HORI_X2 PROPERTYPAGE_WIDTH - SECTIONPAGE_MARGIN_HORIZONTAL - TOOLBOX_ITEM_WIDTH * 2 //FT_FLIP_X2 + 22 101#define FLIP_HORI_Y2 FT_FLIP_Y2 - 5 102 103#define PS_SECTIONPAGE_HEIGHT BTN_FLIP_HORI_Y + ALIGNMENT_TBX_HEIGHT + SECTIONPAGE_MARGIN_VERTICAL_BOT + 2 104#define PS_SECTIONPAGE_HEIGHT2 FLIP_HORI_Y2 + ALIGNMENT_TBX_HEIGHT + SECTIONPAGE_MARGIN_VERTICAL_BOT + 2 105#define PS_SECTIONPAGE_HEIGHT3 FT_WIDTH_Y + TEXT_HEIGHT + SECTIONPAGE_MARGIN_VERTICAL_BOT 106#define PS_SECTIONPAGE_HEIGHT4 CBX_Y + CBOX_HEIGHT + SECTIONPAGE_MARGIN_VERTICAL_BOT 107 108// eof 109