1*b1cdbd2cSJim Jagielski/************************************************************** 2*b1cdbd2cSJim Jagielski * 3*b1cdbd2cSJim Jagielski * Licensed to the Apache Software Foundation (ASF) under one 4*b1cdbd2cSJim Jagielski * or more contributor license agreements. See the NOTICE file 5*b1cdbd2cSJim Jagielski * distributed with this work for additional information 6*b1cdbd2cSJim Jagielski * regarding copyright ownership. The ASF licenses this file 7*b1cdbd2cSJim Jagielski * to you under the Apache License, Version 2.0 (the 8*b1cdbd2cSJim Jagielski * "License"); you may not use this file except in compliance 9*b1cdbd2cSJim Jagielski * with the License. You may obtain a copy of the License at 10*b1cdbd2cSJim Jagielski * 11*b1cdbd2cSJim Jagielski * http://www.apache.org/licenses/LICENSE-2.0 12*b1cdbd2cSJim Jagielski * 13*b1cdbd2cSJim Jagielski * Unless required by applicable law or agreed to in writing, 14*b1cdbd2cSJim Jagielski * software distributed under the License is distributed on an 15*b1cdbd2cSJim Jagielski * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*b1cdbd2cSJim Jagielski * KIND, either express or implied. See the License for the 17*b1cdbd2cSJim Jagielski * specific language governing permissions and limitations 18*b1cdbd2cSJim Jagielski * under the License. 19*b1cdbd2cSJim Jagielski * 20*b1cdbd2cSJim Jagielski *************************************************************/ 21*b1cdbd2cSJim Jagielski 22*b1cdbd2cSJim Jagielski#include "AreaPropertyPanel.hrc" 23*b1cdbd2cSJim Jagielski#include <sfx2/sidebar/ResourceDefinitions.hrc> 24*b1cdbd2cSJim Jagielski#include <svx/dialogs.hrc> 25*b1cdbd2cSJim Jagielski#include "helpid.hrc" 26*b1cdbd2cSJim Jagielski 27*b1cdbd2cSJim Jagielski#define TOOLBOX_WIDTH 50 28*b1cdbd2cSJim Jagielski#define TOOLBOX_HEIGHT 17 29*b1cdbd2cSJim Jagielski 30*b1cdbd2cSJim JagielskiControl RID_SIDEBAR_AREA_PANEL 31*b1cdbd2cSJim Jagielski{ 32*b1cdbd2cSJim Jagielski OutputSize = TRUE; 33*b1cdbd2cSJim Jagielski DialogControl = TRUE; 34*b1cdbd2cSJim Jagielski Border = FALSE; 35*b1cdbd2cSJim Jagielski Size = MAP_APPFONT( PROPERTYPAGE_WIDTH, SECTIONPAGE_MARGIN_VERTICAL_TOP + SECTIONPAGE_MARGIN_VERTICAL_BOT + 2*( FIXED_TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL + CBOX_HEIGHT) + CONTROL_SPACING_VERTICAL ); 36*b1cdbd2cSJim Jagielski HelpID = HID_PROPERTYPANEL_AREA_SECTION ; 37*b1cdbd2cSJim Jagielski Text [ en-US ] = "Area"; 38*b1cdbd2cSJim Jagielski 39*b1cdbd2cSJim Jagielski FixedText FT_COLOR_LIST 40*b1cdbd2cSJim Jagielski { 41*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP ) ; 42*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( FIXED_TEXT_WIDTH + 50, FIXED_TEXT_HEIGHT ) ; 43*b1cdbd2cSJim Jagielski Text [ en-US ] = "~Fill:"; 44*b1cdbd2cSJim Jagielski }; 45*b1cdbd2cSJim Jagielski FixedText FL_TRSP_TEXT 46*b1cdbd2cSJim Jagielski { 47*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP + FIXED_TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL ) ; 48*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( FIXED_TEXT_WIDTH + 50, FIXED_TEXT_HEIGHT ) ; 49*b1cdbd2cSJim Jagielski Text [ en-US ] = "~Transparency:"; 50*b1cdbd2cSJim Jagielski }; 51*b1cdbd2cSJim Jagielski ToolBox TB_COLOR 52*b1cdbd2cSJim Jagielski { 53*b1cdbd2cSJim Jagielski HelpID = HID_PPROPERTYPANEL_AREA_TBX_COLOR; 54*b1cdbd2cSJim Jagielski SVLook = TRUE ; 55*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + MBOX_WIDTH + CONTROL_SPACING_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + FIXED_TEXT_HEIGHT + 1) ; 56*b1cdbd2cSJim Jagielski Size = MAP_APPFONT (TOOLBOX_WIDTH ,TOOLBOX_HEIGHT ) ; 57*b1cdbd2cSJim Jagielski TabStop = TRUE ; 58*b1cdbd2cSJim Jagielski Text = "Color"; 59*b1cdbd2cSJim Jagielski ItemList = 60*b1cdbd2cSJim Jagielski { 61*b1cdbd2cSJim Jagielski ToolBoxItem 62*b1cdbd2cSJim Jagielski { 63*b1cdbd2cSJim Jagielski Identifier = TBI_COLOR ; 64*b1cdbd2cSJim Jagielski HelpID = HID_PPROPERTYPANEL_AREA_TBI_COLOR; 65*b1cdbd2cSJim Jagielski DropDown = TRUE ; 66*b1cdbd2cSJim Jagielski Text = "Color" ; 67*b1cdbd2cSJim Jagielski }; 68*b1cdbd2cSJim Jagielski }; 69*b1cdbd2cSJim Jagielski }; 70*b1cdbd2cSJim Jagielski String STR_HELP_COLOR 71*b1cdbd2cSJim Jagielski { 72*b1cdbd2cSJim Jagielski Text [ en-US ] = "Select the color to apply." ; 73*b1cdbd2cSJim Jagielski }; 74*b1cdbd2cSJim Jagielski String STR_HELP_TYPE 75*b1cdbd2cSJim Jagielski { 76*b1cdbd2cSJim Jagielski Text [en-US] = "Select the fill type to apply."; 77*b1cdbd2cSJim Jagielski }; 78*b1cdbd2cSJim Jagielski String STR_HELP_ATTR 79*b1cdbd2cSJim Jagielski { 80*b1cdbd2cSJim Jagielski Text [en-US] = "Select the effect to apply."; 81*b1cdbd2cSJim Jagielski }; 82*b1cdbd2cSJim Jagielski Image IMG_AXIAL 83*b1cdbd2cSJim Jagielski { 84*b1cdbd2cSJim Jagielski ImageBitmap = Bitmap{File = "symphony/axial.png";}; 85*b1cdbd2cSJim Jagielski }; 86*b1cdbd2cSJim Jagielski Image IMG_ELLI 87*b1cdbd2cSJim Jagielski { 88*b1cdbd2cSJim Jagielski ImageBitmap = Bitmap{File = "symphony/ellipsoid.png";}; 89*b1cdbd2cSJim Jagielski }; 90*b1cdbd2cSJim Jagielski Image IMG_QUAD 91*b1cdbd2cSJim Jagielski { 92*b1cdbd2cSJim Jagielski ImageBitmap = Bitmap{File = "symphony/Quadratic.png";}; 93*b1cdbd2cSJim Jagielski }; 94*b1cdbd2cSJim Jagielski Image IMG_RADIAL 95*b1cdbd2cSJim Jagielski { 96*b1cdbd2cSJim Jagielski ImageBitmap = Bitmap{File = "symphony/radial.png";}; 97*b1cdbd2cSJim Jagielski }; 98*b1cdbd2cSJim Jagielski Image IMG_SQUARE 99*b1cdbd2cSJim Jagielski { 100*b1cdbd2cSJim Jagielski ImageBitmap = Bitmap{File = "symphony/Square.png";}; 101*b1cdbd2cSJim Jagielski }; 102*b1cdbd2cSJim Jagielski Image IMG_LINEAR 103*b1cdbd2cSJim Jagielski { 104*b1cdbd2cSJim Jagielski ImageBitmap = Bitmap{File = "symphony/linear.png";}; 105*b1cdbd2cSJim Jagielski }; 106*b1cdbd2cSJim Jagielski Image IMG_COLOR 107*b1cdbd2cSJim Jagielski { 108*b1cdbd2cSJim Jagielski ImageBitmap = Bitmap{File = "symphony/fill_color.png";}; 109*b1cdbd2cSJim Jagielski }; 110*b1cdbd2cSJim Jagielski 111*b1cdbd2cSJim Jagielski //high contract 112*b1cdbd2cSJim Jagielski Image IMG_AXIAL_H 113*b1cdbd2cSJim Jagielski { 114*b1cdbd2cSJim Jagielski ImageBitmap = Bitmap{File = "symphony/axial_h.png";}; 115*b1cdbd2cSJim Jagielski }; 116*b1cdbd2cSJim Jagielski Image IMG_ELLI_H 117*b1cdbd2cSJim Jagielski { 118*b1cdbd2cSJim Jagielski ImageBitmap = Bitmap{File = "symphony/ellipsoid_h.png";}; 119*b1cdbd2cSJim Jagielski }; 120*b1cdbd2cSJim Jagielski Image IMG_QUAD_H 121*b1cdbd2cSJim Jagielski { 122*b1cdbd2cSJim Jagielski ImageBitmap = Bitmap{File = "symphony/Quadratic_h.png";}; 123*b1cdbd2cSJim Jagielski }; 124*b1cdbd2cSJim Jagielski Image IMG_RADIAL_H 125*b1cdbd2cSJim Jagielski { 126*b1cdbd2cSJim Jagielski ImageBitmap = Bitmap{File = "symphony/radial_h.png";}; 127*b1cdbd2cSJim Jagielski }; 128*b1cdbd2cSJim Jagielski Image IMG_SQUARE_H 129*b1cdbd2cSJim Jagielski { 130*b1cdbd2cSJim Jagielski ImageBitmap = Bitmap{File = "symphony/Square_h.png";}; 131*b1cdbd2cSJim Jagielski }; 132*b1cdbd2cSJim Jagielski Image IMG_LINEAR_H 133*b1cdbd2cSJim Jagielski { 134*b1cdbd2cSJim Jagielski ImageBitmap = Bitmap{File = "symphony/linear_h.png";}; 135*b1cdbd2cSJim Jagielski }; 136*b1cdbd2cSJim Jagielski Image IMG_COLOR_H 137*b1cdbd2cSJim Jagielski { 138*b1cdbd2cSJim Jagielski ImageBitmap = Bitmap{File = "symphony/fill_color_h.png";}; 139*b1cdbd2cSJim Jagielski }; 140*b1cdbd2cSJim Jagielski 141*b1cdbd2cSJim Jagielski //===================================================================================================================================== 142*b1cdbd2cSJim Jagielski ListBox LB_TRGR_TYPES 143*b1cdbd2cSJim Jagielski { 144*b1cdbd2cSJim Jagielski Border = TRUE ; 145*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP + 2*(FIXED_TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL ) ; 146*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( MBOX_WIDTH , LISTBOX_HEIGHT ) ; 147*b1cdbd2cSJim Jagielski QuickHelpText [ en-US ] = "Select the type of transparency to apply." ; 148*b1cdbd2cSJim Jagielski TabStop = TRUE ; 149*b1cdbd2cSJim Jagielski DropDown = TRUE ; 150*b1cdbd2cSJim Jagielski HelpID = HID_PPROPERTYPANEL_AREA_LB_TRGR_TYPES ; 151*b1cdbd2cSJim Jagielski StringList [ en-US ] = 152*b1cdbd2cSJim Jagielski { 153*b1cdbd2cSJim Jagielski < "None" ; Default ; > ; 154*b1cdbd2cSJim Jagielski < "Solid" ; Default ; > ; 155*b1cdbd2cSJim Jagielski < "Linear" ; Default ; > ; 156*b1cdbd2cSJim Jagielski < "Axial" ; Default ; > ; 157*b1cdbd2cSJim Jagielski < "Radial" ; Default ; > ; 158*b1cdbd2cSJim Jagielski < "Ellipsoid" ; Default ; > ; 159*b1cdbd2cSJim Jagielski < "Quadratic" ; Default ; > ; 160*b1cdbd2cSJim Jagielski < "Square" ; Default ; > ; 161*b1cdbd2cSJim Jagielski }; 162*b1cdbd2cSJim Jagielski }; 163*b1cdbd2cSJim Jagielski 164*b1cdbd2cSJim Jagielski MetricField MTR_TRANSPARENT 165*b1cdbd2cSJim Jagielski { 166*b1cdbd2cSJim Jagielski Border = TRUE ; 167*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + MBOX_WIDTH + CONTROL_SPACING_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP + 2*(FIXED_TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL ) ; 168*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( MBOX_WIDTH + 1 ,MBOX_HEIGHT ) ; 169*b1cdbd2cSJim Jagielski HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRANSPARENT ; 170*b1cdbd2cSJim Jagielski QuickHelpText [ en-US ] = "Specify 0 % for fully opaque through 100 % for fully transparent." ; 171*b1cdbd2cSJim Jagielski TabStop = TRUE ; 172*b1cdbd2cSJim Jagielski Repeat = TRUE ; 173*b1cdbd2cSJim Jagielski Spin = TRUE ; 174*b1cdbd2cSJim Jagielski Maximum = 100 ; 175*b1cdbd2cSJim Jagielski StrictFormat = TRUE ; 176*b1cdbd2cSJim Jagielski Unit = FUNIT_PERCENT ; 177*b1cdbd2cSJim Jagielski Last = 100 ; 178*b1cdbd2cSJim Jagielski SpinSize = 5 ; 179*b1cdbd2cSJim Jagielski }; 180*b1cdbd2cSJim Jagielski 181*b1cdbd2cSJim Jagielski ToolBox BTN_GRADIENT 182*b1cdbd2cSJim Jagielski { 183*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + MBOX_WIDTH + CONTROL_SPACING_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP + 2*(FIXED_TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL ) ; 184*b1cdbd2cSJim Jagielski HelpID = HID_PPROPERTYPANEL_AREA_TBX_GRADIENT ; 185*b1cdbd2cSJim Jagielski SVLook = TRUE ; 186*b1cdbd2cSJim Jagielski Border = FALSE ; 187*b1cdbd2cSJim Jagielski TabStop = TRUE ; 188*b1cdbd2cSJim Jagielski Text = "Gradient"; 189*b1cdbd2cSJim Jagielski ItemList = 190*b1cdbd2cSJim Jagielski { 191*b1cdbd2cSJim Jagielski ToolBoxItem 192*b1cdbd2cSJim Jagielski { 193*b1cdbd2cSJim Jagielski Identifier = TBI_BTX_GRADIENT ; 194*b1cdbd2cSJim Jagielski HelpID = HID_PPROPERTYPANEL_AREA_TBI_GRADIENT ; 195*b1cdbd2cSJim Jagielski ItemBitmap = Bitmap 196*b1cdbd2cSJim Jagielski { 197*b1cdbd2cSJim Jagielski File = "symphony/linear.png" ; 198*b1cdbd2cSJim Jagielski }; 199*b1cdbd2cSJim Jagielski DropDown = TRUE; 200*b1cdbd2cSJim Jagielski Text = "Gradient" ; 201*b1cdbd2cSJim Jagielski }; 202*b1cdbd2cSJim Jagielski }; 203*b1cdbd2cSJim Jagielski }; 204*b1cdbd2cSJim Jagielski String STR_HELP_GRADIENT 205*b1cdbd2cSJim Jagielski { 206*b1cdbd2cSJim Jagielski Text [ en-US ] = "Specify the variation of gradient transparency." ; 207*b1cdbd2cSJim Jagielski }; 208*b1cdbd2cSJim Jagielski}; 209*b1cdbd2cSJim Jagielski 210*b1cdbd2cSJim JagielskiControl RID_POPUPPANEL_AREAPAGE_TRGR 211*b1cdbd2cSJim Jagielski{ 212*b1cdbd2cSJim Jagielski OutputSize = TRUE; 213*b1cdbd2cSJim Jagielski DialogControl = TRUE; 214*b1cdbd2cSJim Jagielski Border = FALSE; 215*b1cdbd2cSJim Jagielski 216*b1cdbd2cSJim Jagielski// Size = MAP_APPFONT( POP_WIDTH, POP_HEIGHT ); 217*b1cdbd2cSJim Jagielski 218*b1cdbd2cSJim Jagielski FixedText FT_TRGR_CENTER_X 219*b1cdbd2cSJim Jagielski { 220*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( CONTROL_WIDTH , FIXED_TEXT_HEIGHT ) ; 221*b1cdbd2cSJim Jagielski Text [ en-US ] = "Center ~X:"; 222*b1cdbd2cSJim Jagielski }; 223*b1cdbd2cSJim Jagielski MetricField MTR_TRGR_CENTER_X 224*b1cdbd2cSJim Jagielski { 225*b1cdbd2cSJim Jagielski Border = TRUE ; 226*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( CONTROL_WIDTH , MBOX_HEIGHT ) ; 227*b1cdbd2cSJim Jagielski HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_CENTER_X ; 228*b1cdbd2cSJim Jagielski QuickHelpText [ en-US ] = "Specify the horizontal offset percentage from the center for the gradient shading style. 50 % is the horizontal center." ; 229*b1cdbd2cSJim Jagielski TabStop = TRUE ; 230*b1cdbd2cSJim Jagielski Repeat = TRUE ; 231*b1cdbd2cSJim Jagielski Spin = TRUE ; 232*b1cdbd2cSJim Jagielski Maximum = 100 ; 233*b1cdbd2cSJim Jagielski StrictFormat = TRUE ; 234*b1cdbd2cSJim Jagielski Unit = FUNIT_PERCENT ; 235*b1cdbd2cSJim Jagielski Last = 100 ; 236*b1cdbd2cSJim Jagielski SpinSize = 5 ; 237*b1cdbd2cSJim Jagielski }; 238*b1cdbd2cSJim Jagielski FixedText FT_TRGR_CENTER_Y 239*b1cdbd2cSJim Jagielski { 240*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( CONTROL_WIDTH + POPUPPANEL_MARGIN_HORIZONTAL, FIXED_TEXT_HEIGHT ) ;//wj 241*b1cdbd2cSJim Jagielski Text [ en-US ] = "Center ~Y:"; 242*b1cdbd2cSJim Jagielski }; 243*b1cdbd2cSJim Jagielski MetricField MTR_TRGR_CENTER_Y 244*b1cdbd2cSJim Jagielski { 245*b1cdbd2cSJim Jagielski Border = TRUE ; 246*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( CONTROL_WIDTH , MBOX_HEIGHT ) ; 247*b1cdbd2cSJim Jagielski HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_CENTER_Y ; 248*b1cdbd2cSJim Jagielski QuickHelpText [ en-US ] = "Specify the vertical offset percentage from the center for the gradient shading style. 50 % is the vertical center." ; 249*b1cdbd2cSJim Jagielski TabStop = TRUE ; 250*b1cdbd2cSJim Jagielski Repeat = TRUE ; 251*b1cdbd2cSJim Jagielski Spin = TRUE ; 252*b1cdbd2cSJim Jagielski Maximum = 100 ; 253*b1cdbd2cSJim Jagielski StrictFormat = TRUE ; 254*b1cdbd2cSJim Jagielski Unit = FUNIT_PERCENT ; 255*b1cdbd2cSJim Jagielski Last = 100 ; 256*b1cdbd2cSJim Jagielski SpinSize = 5 ; 257*b1cdbd2cSJim Jagielski }; 258*b1cdbd2cSJim Jagielski FixedText FT_TRGR_ANGLE 259*b1cdbd2cSJim Jagielski { 260*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( CONTROL_WIDTH * 2 + POPUPPANEL_MARGIN_HORIZONTAL + CONTROL_SPACING_HORIZONTAL, FIXED_TEXT_HEIGHT ) ;//wj 261*b1cdbd2cSJim Jagielski Text [ en-US ] = "~Angle:"; 262*b1cdbd2cSJim Jagielski }; 263*b1cdbd2cSJim Jagielski MetricField MTR_TRGR_ANGLE 264*b1cdbd2cSJim Jagielski { 265*b1cdbd2cSJim Jagielski Border = TRUE ; 266*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( CONTROL_WIDTH , MBOX_HEIGHT ) ; 267*b1cdbd2cSJim Jagielski HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_ANGLE ; 268*b1cdbd2cSJim Jagielski QuickHelpText [ en-US ] = "Specify the angle of rotation for the gradient shading style." ; 269*b1cdbd2cSJim Jagielski TabStop = FALSE ; 270*b1cdbd2cSJim Jagielski Repeat = TRUE ; 271*b1cdbd2cSJim Jagielski Spin = TRUE ; 272*b1cdbd2cSJim Jagielski Minimum = -9999 ; 273*b1cdbd2cSJim Jagielski Maximum = 9999 ; 274*b1cdbd2cSJim Jagielski Unit = FUNIT_CUSTOM ; 275*b1cdbd2cSJim Jagielski SpinSize = 1 ; 276*b1cdbd2cSJim Jagielski CustomUnitText [ en-US ] = " degrees"; 277*b1cdbd2cSJim Jagielski }; 278*b1cdbd2cSJim Jagielski FixedText FT_TRGR_START_VALUE 279*b1cdbd2cSJim Jagielski { 280*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( CONTROL_WIDTH , FIXED_TEXT_HEIGHT ) ; 281*b1cdbd2cSJim Jagielski Text [ en-US ] = "~Start value:"; 282*b1cdbd2cSJim Jagielski }; 283*b1cdbd2cSJim Jagielski MetricField MTR_TRGR_START_VALUE 284*b1cdbd2cSJim Jagielski { 285*b1cdbd2cSJim Jagielski Border = TRUE ; 286*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( CONTROL_WIDTH , MBOX_HEIGHT ) ; 287*b1cdbd2cSJim Jagielski HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_SVALUE ; 288*b1cdbd2cSJim Jagielski QuickHelpText [ en-US ] = "Enter a transparency value for the beginning point of the gradient, where 0 % is fully opaque and 100 % is fully transparent." ; 289*b1cdbd2cSJim Jagielski TabStop = TRUE ; 290*b1cdbd2cSJim Jagielski Repeat = TRUE ; 291*b1cdbd2cSJim Jagielski Spin = TRUE ; 292*b1cdbd2cSJim Jagielski Maximum = 100 ; 293*b1cdbd2cSJim Jagielski StrictFormat = TRUE ; 294*b1cdbd2cSJim Jagielski Unit = FUNIT_PERCENT ; 295*b1cdbd2cSJim Jagielski Last = 100 ; 296*b1cdbd2cSJim Jagielski SpinSize = 5 ; 297*b1cdbd2cSJim Jagielski }; 298*b1cdbd2cSJim Jagielski FixedText FT_TRGR_END_VALUE 299*b1cdbd2cSJim Jagielski { 300*b1cdbd2cSJim Jagielski Size = MAP_APPFONT (CONTROL_WIDTH + POPUPPANEL_MARGIN_HORIZONTAL, FIXED_TEXT_HEIGHT ) ; //wj 301*b1cdbd2cSJim Jagielski Text [ en-US ] = "~End value:"; 302*b1cdbd2cSJim Jagielski }; 303*b1cdbd2cSJim Jagielski MetricField MTR_TRGR_END_VALUE 304*b1cdbd2cSJim Jagielski { 305*b1cdbd2cSJim Jagielski Border = TRUE ; 306*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( CONTROL_WIDTH , MBOX_HEIGHT ) ; 307*b1cdbd2cSJim Jagielski HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_EVALUE ; 308*b1cdbd2cSJim Jagielski QuickHelpText [ en-US ] = "Enter a transparency value for the endpoint of the gradient, where 0 % is fully opaque and 100 % is fully transparent." ; 309*b1cdbd2cSJim Jagielski TabStop = TRUE ; 310*b1cdbd2cSJim Jagielski Repeat = TRUE ; 311*b1cdbd2cSJim Jagielski Spin = TRUE ; 312*b1cdbd2cSJim Jagielski Maximum = 100 ; 313*b1cdbd2cSJim Jagielski StrictFormat = TRUE ; 314*b1cdbd2cSJim Jagielski Unit = FUNIT_PERCENT ; 315*b1cdbd2cSJim Jagielski Last = 100 ; 316*b1cdbd2cSJim Jagielski SpinSize = 5 ; 317*b1cdbd2cSJim Jagielski }; 318*b1cdbd2cSJim Jagielski FixedText FT_TRGR_BORDER 319*b1cdbd2cSJim Jagielski { 320*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( CONTROL_WIDTH * 2 + POPUPPANEL_MARGIN_HORIZONTAL + CONTROL_SPACING_HORIZONTAL, FIXED_TEXT_HEIGHT ) ; // 321*b1cdbd2cSJim Jagielski Text [ en-US ] = "~Border:"; 322*b1cdbd2cSJim Jagielski }; 323*b1cdbd2cSJim Jagielski MetricField MTR_TRGR_BORDER 324*b1cdbd2cSJim Jagielski { 325*b1cdbd2cSJim Jagielski Border = TRUE ; 326*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( CONTROL_WIDTH , MBOX_HEIGHT ) ; 327*b1cdbd2cSJim Jagielski HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_BORDER ; 328*b1cdbd2cSJim Jagielski QuickHelpText [ en-US ] = "Specify the border value of gradient transparency." ; 329*b1cdbd2cSJim Jagielski TabStop = TRUE ; 330*b1cdbd2cSJim Jagielski Repeat = TRUE ; 331*b1cdbd2cSJim Jagielski Spin = TRUE ; 332*b1cdbd2cSJim Jagielski Maximum = 100 ; 333*b1cdbd2cSJim Jagielski StrictFormat = TRUE ; 334*b1cdbd2cSJim Jagielski Unit = FUNIT_PERCENT ; 335*b1cdbd2cSJim Jagielski Last = 100 ; 336*b1cdbd2cSJim Jagielski SpinSize = 5 ; 337*b1cdbd2cSJim Jagielski }; 338*b1cdbd2cSJim Jagielski //===================================================================================================================================== 339*b1cdbd2cSJim Jagielski 340*b1cdbd2cSJim Jagielski ToolBox BTN_LEFT_SECOND 341*b1cdbd2cSJim Jagielski { 342*b1cdbd2cSJim Jagielski Border = FALSE ; 343*b1cdbd2cSJim Jagielski HelpID = HID_PPROPERTYPANEL_AREA_BTN_LEFT_SECOND ; 344*b1cdbd2cSJim Jagielski SVLook = TRUE ; 345*b1cdbd2cSJim Jagielski Border = FALSE ; 346*b1cdbd2cSJim Jagielski TabStop = TRUE ; 347*b1cdbd2cSJim Jagielski Text = "Rotate Left"; 348*b1cdbd2cSJim Jagielski ItemList = 349*b1cdbd2cSJim Jagielski { 350*b1cdbd2cSJim Jagielski ToolBoxItem 351*b1cdbd2cSJim Jagielski { 352*b1cdbd2cSJim Jagielski Identifier = TBI_LEFT ; 353*b1cdbd2cSJim Jagielski Text = "Rotate Left" ; 354*b1cdbd2cSJim Jagielski ItemBitmap = Bitmap 355*b1cdbd2cSJim Jagielski { 356*b1cdbd2cSJim Jagielski // File = "symphony/rotate_left.png" ; 357*b1cdbd2cSJim Jagielski }; 358*b1cdbd2cSJim Jagielski }; 359*b1cdbd2cSJim Jagielski }; 360*b1cdbd2cSJim Jagielski }; 361*b1cdbd2cSJim Jagielski ToolBox BTN_RIGHT_FIRST 362*b1cdbd2cSJim Jagielski { 363*b1cdbd2cSJim Jagielski Border = FALSE ; 364*b1cdbd2cSJim Jagielski HelpID = HID_PPROPERTYPANEL_AREA_BTN_RIGHT_FIRST ; 365*b1cdbd2cSJim Jagielski SVLook = TRUE ; 366*b1cdbd2cSJim Jagielski Border = FALSE ; 367*b1cdbd2cSJim Jagielski TabStop = TRUE ; 368*b1cdbd2cSJim Jagielski Text = "Rotate Right"; 369*b1cdbd2cSJim Jagielski ItemList = 370*b1cdbd2cSJim Jagielski { 371*b1cdbd2cSJim Jagielski ToolBoxItem 372*b1cdbd2cSJim Jagielski { 373*b1cdbd2cSJim Jagielski Identifier = TBI_RIGHT ; 374*b1cdbd2cSJim Jagielski Text = "Rotate Right" ; 375*b1cdbd2cSJim Jagielski ItemBitmap = Bitmap 376*b1cdbd2cSJim Jagielski { 377*b1cdbd2cSJim Jagielski // File = "symphony/rotate_right.png" ; 378*b1cdbd2cSJim Jagielski }; 379*b1cdbd2cSJim Jagielski }; 380*b1cdbd2cSJim Jagielski }; 381*b1cdbd2cSJim Jagielski }; 382*b1cdbd2cSJim Jagielski String STR_HELP_LEFT 383*b1cdbd2cSJim Jagielski { 384*b1cdbd2cSJim Jagielski Text [ en-US ] = "Rotate counterclockwise by 45 degrees." ; 385*b1cdbd2cSJim Jagielski }; 386*b1cdbd2cSJim Jagielski String STR_HELP_RIGHT 387*b1cdbd2cSJim Jagielski { 388*b1cdbd2cSJim Jagielski Text [ en-US ] = "Rotate clockwise by 45 degrees." ; 389*b1cdbd2cSJim Jagielski }; 390*b1cdbd2cSJim Jagielski Image IMG_ROT_LEFT 391*b1cdbd2cSJim Jagielski { 392*b1cdbd2cSJim Jagielski ImageBitmap = Bitmap{File = "symphony/rotate_left.png";}; 393*b1cdbd2cSJim Jagielski }; 394*b1cdbd2cSJim Jagielski Image IMG_ROT_RIGHT 395*b1cdbd2cSJim Jagielski { 396*b1cdbd2cSJim Jagielski ImageBitmap = Bitmap{File = "symphony/rotate_right.png";}; 397*b1cdbd2cSJim Jagielski }; 398*b1cdbd2cSJim Jagielski}; 399*b1cdbd2cSJim JagielskiControl RID_POPUPPANEL_AERAPAGE_COLOR 400*b1cdbd2cSJim Jagielski{ 401*b1cdbd2cSJim Jagielski OutputSize = TRUE; 402*b1cdbd2cSJim Jagielski DialogControl = TRUE; 403*b1cdbd2cSJim Jagielski Border = FALSE; 404*b1cdbd2cSJim Jagielski Size = MAP_APPFONT( POPUP_COLOR_PICKER_WIDTH , POPUP_COLOR_PICKER_HEIGHT ); 405*b1cdbd2cSJim Jagielski 406*b1cdbd2cSJim Jagielski Control VS_COLOR 407*b1cdbd2cSJim Jagielski { 408*b1cdbd2cSJim Jagielski HelpID = HID_PPROPERTYPANEL_AREA_COLOR_VS; 409*b1cdbd2cSJim Jagielski Hide = TRUE ; 410*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( OFFSET_X , OFFSET_Y ); 411*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2); 412*b1cdbd2cSJim Jagielski TabStop = TRUE ; 413*b1cdbd2cSJim Jagielski Text = "Color"; 414*b1cdbd2cSJim Jagielski }; 415*b1cdbd2cSJim Jagielski}; 416*b1cdbd2cSJim Jagielski 417*b1cdbd2cSJim Jagielski// eof 418