166c1fc23SArmin Le Grand/************************************************************** 2*72c96935Smseidel * 366c1fc23SArmin Le Grand * Licensed to the Apache Software Foundation (ASF) under one 466c1fc23SArmin Le Grand * or more contributor license agreements. See the NOTICE file 566c1fc23SArmin Le Grand * distributed with this work for additional information 666c1fc23SArmin Le Grand * regarding copyright ownership. The ASF licenses this file 766c1fc23SArmin Le Grand * to you under the Apache License, Version 2.0 (the 866c1fc23SArmin Le Grand * "License"); you may not use this file except in compliance 966c1fc23SArmin Le Grand * with the License. You may obtain a copy of the License at 10*72c96935Smseidel * 1166c1fc23SArmin Le Grand * http://www.apache.org/licenses/LICENSE-2.0 12*72c96935Smseidel * 1366c1fc23SArmin Le Grand * Unless required by applicable law or agreed to in writing, 1466c1fc23SArmin Le Grand * software distributed under the License is distributed on an 1566c1fc23SArmin Le Grand * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 1666c1fc23SArmin Le Grand * KIND, either express or implied. See the License for the 1766c1fc23SArmin Le Grand * specific language governing permissions and limitations 1866c1fc23SArmin Le Grand * under the License. 19*72c96935Smseidel * 2066c1fc23SArmin Le Grand *************************************************************/ 2166c1fc23SArmin Le Grand 22*72c96935Smseidel 23*72c96935Smseidel 2402c50d82SAndre Fischer#include "AreaPropertyPanel.hrc" 25d29c2fc2SAndre Fischer#include <sfx2/sidebar/ResourceDefinitions.hrc> 2666c1fc23SArmin Le Grand#include <svx/dialogs.hrc> 2766c1fc23SArmin Le Grand#include "helpid.hrc" 2866c1fc23SArmin Le Grand 29*72c96935Smseidel#define TOOLBOX_WIDTH 50 30*72c96935Smseidel#define TOOLBOX_HEIGHT 17 3166c1fc23SArmin Le Grand 3266c1fc23SArmin Le GrandControl RID_SIDEBAR_AREA_PANEL 3366c1fc23SArmin Le Grand{ 34*72c96935Smseidel OutputSize = TRUE ; 35*72c96935Smseidel DialogControl = TRUE ; 36*72c96935Smseidel Border = FALSE ; 37*72c96935Smseidel 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 ) ; 3866c1fc23SArmin Le Grand HelpID = HID_PROPERTYPANEL_AREA_SECTION ; 39*72c96935Smseidel Text [ en-US ] = "Area" ; 4066c1fc23SArmin Le Grand 4166c1fc23SArmin Le Grand FixedText FT_COLOR_LIST 4266c1fc23SArmin Le Grand { 43*72c96935Smseidel Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP ) ; 44*72c96935Smseidel Size = MAP_APPFONT ( FIXED_TEXT_WIDTH + 50, FIXED_TEXT_HEIGHT ) ; 45*72c96935Smseidel Text [ en-US ] = "~Fill:" ; 4666c1fc23SArmin Le Grand }; 4766c1fc23SArmin Le Grand FixedText FL_TRSP_TEXT 4866c1fc23SArmin Le Grand { 49*72c96935Smseidel Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + FIXED_TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL ) ; 50*72c96935Smseidel Size = MAP_APPFONT ( FIXED_TEXT_WIDTH + 50, FIXED_TEXT_HEIGHT ) ; 51*72c96935Smseidel Text [ en-US ] = "~Transparency:" ; 5266c1fc23SArmin Le Grand }; 5366c1fc23SArmin Le Grand ToolBox TB_COLOR 5466c1fc23SArmin Le Grand { 5566c1fc23SArmin Le Grand HelpID = HID_PPROPERTYPANEL_AREA_TBX_COLOR; 5666c1fc23SArmin Le Grand SVLook = TRUE ; 57*72c96935Smseidel Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + MBOX_WIDTH + CONTROL_SPACING_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + FIXED_TEXT_HEIGHT + 1 ) ; 58*72c96935Smseidel Size = MAP_APPFONT ( TOOLBOX_WIDTH, TOOLBOX_HEIGHT ) ; 5966c1fc23SArmin Le Grand TabStop = TRUE ; 60*72c96935Smseidel Text = "Color" ; 6166c1fc23SArmin Le Grand ItemList = 6266c1fc23SArmin Le Grand { 6366c1fc23SArmin Le Grand ToolBoxItem 6466c1fc23SArmin Le Grand { 6566c1fc23SArmin Le Grand Identifier = TBI_COLOR ; 66*72c96935Smseidel HelpID = HID_PPROPERTYPANEL_AREA_TBI_COLOR ; 6766c1fc23SArmin Le Grand DropDown = TRUE ; 6866c1fc23SArmin Le Grand Text = "Color" ; 6966c1fc23SArmin Le Grand }; 7066c1fc23SArmin Le Grand }; 7166c1fc23SArmin Le Grand }; 7266c1fc23SArmin Le Grand String STR_HELP_COLOR 7366c1fc23SArmin Le Grand { 7466c1fc23SArmin Le Grand Text [ en-US ] = "Select the color to apply." ; 7566c1fc23SArmin Le Grand }; 7666c1fc23SArmin Le Grand String STR_HELP_TYPE 7766c1fc23SArmin Le Grand { 78*72c96935Smseidel Text [ en-US ] = "Select the fill type to apply." ; 7966c1fc23SArmin Le Grand }; 8066c1fc23SArmin Le Grand String STR_HELP_ATTR 8166c1fc23SArmin Le Grand { 82*72c96935Smseidel Text [ en-US ] = "Select the effect to apply." ; 8366c1fc23SArmin Le Grand }; 8466c1fc23SArmin Le Grand Image IMG_AXIAL 8566c1fc23SArmin Le Grand { 86*72c96935Smseidel ImageBitmap = Bitmap {File = "symphony/axial.png" ;} ; 8766c1fc23SArmin Le Grand }; 8866c1fc23SArmin Le Grand Image IMG_ELLI 8966c1fc23SArmin Le Grand { 90*72c96935Smseidel ImageBitmap = Bitmap {File = "symphony/ellipsoid.png" ;} ; 9166c1fc23SArmin Le Grand }; 9266c1fc23SArmin Le Grand Image IMG_QUAD 9366c1fc23SArmin Le Grand { 94*72c96935Smseidel ImageBitmap = Bitmap {File = "symphony/Quadratic.png" ;} ; 9566c1fc23SArmin Le Grand }; 9666c1fc23SArmin Le Grand Image IMG_RADIAL 9766c1fc23SArmin Le Grand { 98*72c96935Smseidel ImageBitmap = Bitmap {File = "symphony/radial.png" ;} ; 9966c1fc23SArmin Le Grand }; 10066c1fc23SArmin Le Grand Image IMG_SQUARE 10166c1fc23SArmin Le Grand { 102*72c96935Smseidel ImageBitmap = Bitmap {File = "symphony/Square.png" ;} ; 10366c1fc23SArmin Le Grand }; 10466c1fc23SArmin Le Grand Image IMG_LINEAR 10566c1fc23SArmin Le Grand { 106*72c96935Smseidel ImageBitmap = Bitmap {File = "symphony/linear.png" ;} ; 10766c1fc23SArmin Le Grand }; 10866c1fc23SArmin Le Grand Image IMG_COLOR 10966c1fc23SArmin Le Grand { 110*72c96935Smseidel ImageBitmap = Bitmap {File = "symphony/fill_color.png" ;} ; 11166c1fc23SArmin Le Grand }; 112*72c96935Smseidel 113*72c96935Smseidel // high contract 11466c1fc23SArmin Le Grand Image IMG_AXIAL_H 11566c1fc23SArmin Le Grand { 116*72c96935Smseidel ImageBitmap = Bitmap {File = "symphony/axial_h.png" ;} ; 11766c1fc23SArmin Le Grand }; 11866c1fc23SArmin Le Grand Image IMG_ELLI_H 11966c1fc23SArmin Le Grand { 120*72c96935Smseidel ImageBitmap = Bitmap {File = "symphony/ellipsoid_h.png" ;} ; 12166c1fc23SArmin Le Grand }; 12266c1fc23SArmin Le Grand Image IMG_QUAD_H 12366c1fc23SArmin Le Grand { 124*72c96935Smseidel ImageBitmap = Bitmap {File = "symphony/Quadratic_h.png" ;} ; 12566c1fc23SArmin Le Grand }; 12666c1fc23SArmin Le Grand Image IMG_RADIAL_H 12766c1fc23SArmin Le Grand { 128*72c96935Smseidel ImageBitmap = Bitmap {File = "symphony/radial_h.png" ;} ; 12966c1fc23SArmin Le Grand }; 13066c1fc23SArmin Le Grand Image IMG_SQUARE_H 13166c1fc23SArmin Le Grand { 132*72c96935Smseidel ImageBitmap = Bitmap {File = "symphony/Square_h.png" ;} ; 13366c1fc23SArmin Le Grand }; 13466c1fc23SArmin Le Grand Image IMG_LINEAR_H 13566c1fc23SArmin Le Grand { 136*72c96935Smseidel ImageBitmap = Bitmap {File = "symphony/linear_h.png" ;} ; 13766c1fc23SArmin Le Grand }; 13866c1fc23SArmin Le Grand Image IMG_COLOR_H 13966c1fc23SArmin Le Grand { 140*72c96935Smseidel ImageBitmap = Bitmap {File = "symphony/fill_color_h.png" ;} ; 14166c1fc23SArmin Le Grand }; 142*72c96935Smseidel 14366c1fc23SArmin Le Grand //===================================================================================================================================== 14466c1fc23SArmin Le Grand ListBox LB_TRGR_TYPES 14566c1fc23SArmin Le Grand { 14666c1fc23SArmin Le Grand Border = TRUE ; 147*72c96935Smseidel Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + 2 * ( FIXED_TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL ) + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL ) ; 148*72c96935Smseidel Size = MAP_APPFONT ( MBOX_WIDTH, LISTBOX_HEIGHT ) ; 149*72c96935Smseidel QuickHelpText [ en-US ] = "Select the type of transparency to apply." ; 15066c1fc23SArmin Le Grand TabStop = TRUE ; 15166c1fc23SArmin Le Grand DropDown = TRUE ; 15266c1fc23SArmin Le Grand HelpID = HID_PPROPERTYPANEL_AREA_LB_TRGR_TYPES ; 153*72c96935Smseidel StringList [ en-US ] = 154*72c96935Smseidel { 155*72c96935Smseidel < "None" ; Default ; > ; 156*72c96935Smseidel < "Solid" ; Default ; > ; 157*72c96935Smseidel < "Linear" ; Default ; > ; 158*72c96935Smseidel < "Axial" ; Default ; > ; 159*72c96935Smseidel < "Radial" ; Default ; > ; 160*72c96935Smseidel < "Ellipsoid" ; Default ; > ; 161*72c96935Smseidel < "Quadratic" ; Default ; > ; 162*72c96935Smseidel < "Square" ; Default ; > ; 163*72c96935Smseidel }; 164*72c96935Smseidel }; 165*72c96935Smseidel 16666c1fc23SArmin Le Grand MetricField MTR_TRANSPARENT 16766c1fc23SArmin Le Grand { 16866c1fc23SArmin Le Grand Border = TRUE ; 169*72c96935Smseidel 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 ) ; 170*72c96935Smseidel Size = MAP_APPFONT ( MBOX_WIDTH + 1, MBOX_HEIGHT ) ; 171*72c96935Smseidel HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRANSPARENT ; 172*72c96935Smseidel QuickHelpText [ en-US ] = "Specify 0 % for fully opaque through 100 % for fully transparent." ; 17366c1fc23SArmin Le Grand TabStop = TRUE ; 17466c1fc23SArmin Le Grand Repeat = TRUE ; 17566c1fc23SArmin Le Grand Spin = TRUE ; 17666c1fc23SArmin Le Grand Maximum = 100 ; 17766c1fc23SArmin Le Grand StrictFormat = TRUE ; 1787ea7a1ccSTsutomu Uchino Unit = FUNIT_PERCENT ; 17966c1fc23SArmin Le Grand Last = 100 ; 18066c1fc23SArmin Le Grand SpinSize = 5 ; 18166c1fc23SArmin Le Grand }; 182*72c96935Smseidel 18366c1fc23SArmin Le Grand ToolBox BTN_GRADIENT 18466c1fc23SArmin Le Grand { 185*72c96935Smseidel 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 ) ; 186*72c96935Smseidel HelpID = HID_PPROPERTYPANEL_AREA_TBX_GRADIENT ; 18766c1fc23SArmin Le Grand SVLook = TRUE ; 18866c1fc23SArmin Le Grand Border = FALSE ; 18966c1fc23SArmin Le Grand TabStop = TRUE ; 190*72c96935Smseidel Text = "Gradient" ; 19166c1fc23SArmin Le Grand ItemList = 19266c1fc23SArmin Le Grand { 19366c1fc23SArmin Le Grand ToolBoxItem 19466c1fc23SArmin Le Grand { 19566c1fc23SArmin Le Grand Identifier = TBI_BTX_GRADIENT ; 196*72c96935Smseidel HelpID = HID_PPROPERTYPANEL_AREA_TBI_GRADIENT ; 19766c1fc23SArmin Le Grand ItemBitmap = Bitmap 19866c1fc23SArmin Le Grand { 199e6c5eacbSArmin Le Grand File = "symphony/linear.png" ; 20066c1fc23SArmin Le Grand }; 201*72c96935Smseidel DropDown = TRUE ; 20266c1fc23SArmin Le Grand Text = "Gradient" ; 20366c1fc23SArmin Le Grand }; 20466c1fc23SArmin Le Grand }; 20566c1fc23SArmin Le Grand }; 20666c1fc23SArmin Le Grand String STR_HELP_GRADIENT 20766c1fc23SArmin Le Grand { 20866c1fc23SArmin Le Grand Text [ en-US ] = "Specify the variation of gradient transparency." ; 20966c1fc23SArmin Le Grand }; 21066c1fc23SArmin Le Grand}; 21166c1fc23SArmin Le Grand 21266c1fc23SArmin Le GrandControl RID_POPUPPANEL_AREAPAGE_TRGR 21366c1fc23SArmin Le Grand{ 214*72c96935Smseidel OutputSize = TRUE ; 215*72c96935Smseidel DialogControl = TRUE ; 216*72c96935Smseidel Border = FALSE ; 217*72c96935Smseidel 218*72c96935Smseidel// Size = MAP_APPFONT ( POP_WIDTH, POP_HEIGHT ) ; 219*72c96935Smseidel 22066c1fc23SArmin Le Grand FixedText FT_TRGR_CENTER_X 22166c1fc23SArmin Le Grand { 222*72c96935Smseidel Size = MAP_APPFONT ( CONTROL_WIDTH, FIXED_TEXT_HEIGHT ) ; 223*72c96935Smseidel Text [ en-US ] = "Center ~X:" ; 22466c1fc23SArmin Le Grand }; 22566c1fc23SArmin Le Grand MetricField MTR_TRGR_CENTER_X 22666c1fc23SArmin Le Grand { 22766c1fc23SArmin Le Grand Border = TRUE ; 228*72c96935Smseidel Size = MAP_APPFONT ( CONTROL_WIDTH, MBOX_HEIGHT ) ; 229*72c96935Smseidel HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_CENTER_X ; 230*72c96935Smseidel QuickHelpText [ en-US ] = "Specify the horizontal offset percentage from the center for the gradient shading style. 50 % is the horizontal center." ; 23166c1fc23SArmin Le Grand TabStop = TRUE ; 23266c1fc23SArmin Le Grand Repeat = TRUE ; 23366c1fc23SArmin Le Grand Spin = TRUE ; 23466c1fc23SArmin Le Grand Maximum = 100 ; 23566c1fc23SArmin Le Grand StrictFormat = TRUE ; 2367ea7a1ccSTsutomu Uchino Unit = FUNIT_PERCENT ; 23766c1fc23SArmin Le Grand Last = 100 ; 23866c1fc23SArmin Le Grand SpinSize = 5 ; 23966c1fc23SArmin Le Grand }; 24066c1fc23SArmin Le Grand FixedText FT_TRGR_CENTER_Y 24166c1fc23SArmin Le Grand { 242*72c96935Smseidel Size = MAP_APPFONT ( CONTROL_WIDTH + POPUPPANEL_MARGIN_HORIZONTAL, FIXED_TEXT_HEIGHT ) ; // wj 243*72c96935Smseidel Text [ en-US ] = "Center ~Y:" ; 24466c1fc23SArmin Le Grand }; 24566c1fc23SArmin Le Grand MetricField MTR_TRGR_CENTER_Y 24666c1fc23SArmin Le Grand { 24766c1fc23SArmin Le Grand Border = TRUE ; 248*72c96935Smseidel Size = MAP_APPFONT ( CONTROL_WIDTH, MBOX_HEIGHT ) ; 249*72c96935Smseidel HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_CENTER_Y ; 250*72c96935Smseidel QuickHelpText [ en-US ] = "Specify the vertical offset percentage from the center for the gradient shading style. 50 % is the vertical center." ; 25166c1fc23SArmin Le Grand TabStop = TRUE ; 25266c1fc23SArmin Le Grand Repeat = TRUE ; 25366c1fc23SArmin Le Grand Spin = TRUE ; 25466c1fc23SArmin Le Grand Maximum = 100 ; 25566c1fc23SArmin Le Grand StrictFormat = TRUE ; 2567ea7a1ccSTsutomu Uchino Unit = FUNIT_PERCENT ; 25766c1fc23SArmin Le Grand Last = 100 ; 25866c1fc23SArmin Le Grand SpinSize = 5 ; 25966c1fc23SArmin Le Grand }; 26066c1fc23SArmin Le Grand FixedText FT_TRGR_ANGLE 26166c1fc23SArmin Le Grand { 262*72c96935Smseidel Size = MAP_APPFONT ( CONTROL_WIDTH * 2 + POPUPPANEL_MARGIN_HORIZONTAL + CONTROL_SPACING_HORIZONTAL, FIXED_TEXT_HEIGHT ) ; // wj 263*72c96935Smseidel Text [ en-US ] = "~Angle:" ; 26466c1fc23SArmin Le Grand }; 26566c1fc23SArmin Le Grand MetricField MTR_TRGR_ANGLE 26666c1fc23SArmin Le Grand { 26766c1fc23SArmin Le Grand Border = TRUE ; 268*72c96935Smseidel Size = MAP_APPFONT ( CONTROL_WIDTH, MBOX_HEIGHT ) ; 269*72c96935Smseidel HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_ANGLE ; 270*72c96935Smseidel QuickHelpText [ en-US ] = "Specify the angle of rotation for the gradient shading style." ; 27166c1fc23SArmin Le Grand TabStop = FALSE ; 27266c1fc23SArmin Le Grand Repeat = TRUE ; 27366c1fc23SArmin Le Grand Spin = TRUE ; 27466c1fc23SArmin Le Grand Minimum = -9999 ; 27566c1fc23SArmin Le Grand Maximum = 9999 ; 27666c1fc23SArmin Le Grand Unit = FUNIT_CUSTOM ; 27766c1fc23SArmin Le Grand SpinSize = 1 ; 278*72c96935Smseidel CustomUnitText [ en-US ] = " degrees" ; 279*72c96935Smseidel }; 28066c1fc23SArmin Le Grand FixedText FT_TRGR_START_VALUE 28166c1fc23SArmin Le Grand { 282*72c96935Smseidel Size = MAP_APPFONT ( CONTROL_WIDTH, FIXED_TEXT_HEIGHT ) ; 283*72c96935Smseidel Text [ en-US ] = "~Start value:" ; 28466c1fc23SArmin Le Grand }; 28566c1fc23SArmin Le Grand MetricField MTR_TRGR_START_VALUE 28666c1fc23SArmin Le Grand { 28766c1fc23SArmin Le Grand Border = TRUE ; 288*72c96935Smseidel Size = MAP_APPFONT ( CONTROL_WIDTH, MBOX_HEIGHT ) ; 289*72c96935Smseidel HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_SVALUE ; 290*72c96935Smseidel QuickHelpText [ en-US ] = "Enter a transparency value for the beginning point of the gradient, where 0 % is fully opaque and 100 % is fully transparent." ; 29166c1fc23SArmin Le Grand TabStop = TRUE ; 29266c1fc23SArmin Le Grand Repeat = TRUE ; 29366c1fc23SArmin Le Grand Spin = TRUE ; 29466c1fc23SArmin Le Grand Maximum = 100 ; 29566c1fc23SArmin Le Grand StrictFormat = TRUE ; 2967ea7a1ccSTsutomu Uchino Unit = FUNIT_PERCENT ; 29766c1fc23SArmin Le Grand Last = 100 ; 29866c1fc23SArmin Le Grand SpinSize = 5 ; 29966c1fc23SArmin Le Grand }; 30066c1fc23SArmin Le Grand FixedText FT_TRGR_END_VALUE 30166c1fc23SArmin Le Grand { 302*72c96935Smseidel Size = MAP_APPFONT ( CONTROL_WIDTH + POPUPPANEL_MARGIN_HORIZONTAL, FIXED_TEXT_HEIGHT ) ; //wj 303*72c96935Smseidel Text [ en-US ] = "~End value:" ; 30466c1fc23SArmin Le Grand }; 30566c1fc23SArmin Le Grand MetricField MTR_TRGR_END_VALUE 30666c1fc23SArmin Le Grand { 30766c1fc23SArmin Le Grand Border = TRUE ; 308*72c96935Smseidel Size = MAP_APPFONT ( CONTROL_WIDTH, MBOX_HEIGHT ) ; 309*72c96935Smseidel HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_EVALUE ; 310*72c96935Smseidel QuickHelpText [ en-US ] = "Enter a transparency value for the endpoint of the gradient, where 0 % is fully opaque and 100 % is fully transparent." ; 31166c1fc23SArmin Le Grand TabStop = TRUE ; 31266c1fc23SArmin Le Grand Repeat = TRUE ; 31366c1fc23SArmin Le Grand Spin = TRUE ; 31466c1fc23SArmin Le Grand Maximum = 100 ; 31566c1fc23SArmin Le Grand StrictFormat = TRUE ; 3167ea7a1ccSTsutomu Uchino Unit = FUNIT_PERCENT ; 31766c1fc23SArmin Le Grand Last = 100 ; 31866c1fc23SArmin Le Grand SpinSize = 5 ; 31966c1fc23SArmin Le Grand }; 32066c1fc23SArmin Le Grand FixedText FT_TRGR_BORDER 32166c1fc23SArmin Le Grand { 322*72c96935Smseidel Size = MAP_APPFONT ( CONTROL_WIDTH * 2 + POPUPPANEL_MARGIN_HORIZONTAL + CONTROL_SPACING_HORIZONTAL, FIXED_TEXT_HEIGHT ) ; 323*72c96935Smseidel Text [ en-US ] = "~Border:" ; 32466c1fc23SArmin Le Grand }; 32566c1fc23SArmin Le Grand MetricField MTR_TRGR_BORDER 32666c1fc23SArmin Le Grand { 32766c1fc23SArmin Le Grand Border = TRUE ; 328*72c96935Smseidel Size = MAP_APPFONT ( CONTROL_WIDTH, MBOX_HEIGHT ) ; 329*72c96935Smseidel HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_BORDER ; 330*72c96935Smseidel QuickHelpText [ en-US ] = "Specify the border value of gradient transparency." ; 33166c1fc23SArmin Le Grand TabStop = TRUE ; 33266c1fc23SArmin Le Grand Repeat = TRUE ; 33366c1fc23SArmin Le Grand Spin = TRUE ; 33466c1fc23SArmin Le Grand Maximum = 100 ; 33566c1fc23SArmin Le Grand StrictFormat = TRUE ; 3367ea7a1ccSTsutomu Uchino Unit = FUNIT_PERCENT ; 33766c1fc23SArmin Le Grand Last = 100 ; 33866c1fc23SArmin Le Grand SpinSize = 5 ; 339*72c96935Smseidel }; 34066c1fc23SArmin Le Grand //===================================================================================================================================== 34166c1fc23SArmin Le Grand 34266c1fc23SArmin Le Grand ToolBox BTN_LEFT_SECOND 34366c1fc23SArmin Le Grand { 344*72c96935Smseidel Border = FALSE ; 34566c1fc23SArmin Le Grand HelpID = HID_PPROPERTYPANEL_AREA_BTN_LEFT_SECOND ; 34666c1fc23SArmin Le Grand SVLook = TRUE ; 34766c1fc23SArmin Le Grand Border = FALSE ; 34866c1fc23SArmin Le Grand TabStop = TRUE ; 349*72c96935Smseidel Text = "Rotate Left" ; 35066c1fc23SArmin Le Grand ItemList = 35166c1fc23SArmin Le Grand { 35266c1fc23SArmin Le Grand ToolBoxItem 35366c1fc23SArmin Le Grand { 35466c1fc23SArmin Le Grand Identifier = TBI_LEFT ; 35566c1fc23SArmin Le Grand Text = "Rotate Left" ; 35666c1fc23SArmin Le Grand ItemBitmap = Bitmap 35766c1fc23SArmin Le Grand { 358e6c5eacbSArmin Le Grand // File = "symphony/rotate_left.png" ; 35966c1fc23SArmin Le Grand }; 36066c1fc23SArmin Le Grand }; 361*72c96935Smseidel }; 36266c1fc23SArmin Le Grand }; 36366c1fc23SArmin Le Grand ToolBox BTN_RIGHT_FIRST 36466c1fc23SArmin Le Grand { 365*72c96935Smseidel Border = FALSE ; 36666c1fc23SArmin Le Grand HelpID = HID_PPROPERTYPANEL_AREA_BTN_RIGHT_FIRST ; 36766c1fc23SArmin Le Grand SVLook = TRUE ; 36866c1fc23SArmin Le Grand Border = FALSE ; 36966c1fc23SArmin Le Grand TabStop = TRUE ; 370*72c96935Smseidel Text = "Rotate Right" ; 37166c1fc23SArmin Le Grand ItemList = 37266c1fc23SArmin Le Grand { 37366c1fc23SArmin Le Grand ToolBoxItem 37466c1fc23SArmin Le Grand { 37566c1fc23SArmin Le Grand Identifier = TBI_RIGHT ; 37666c1fc23SArmin Le Grand Text = "Rotate Right" ; 37766c1fc23SArmin Le Grand ItemBitmap = Bitmap 37866c1fc23SArmin Le Grand { 379e6c5eacbSArmin Le Grand // File = "symphony/rotate_right.png" ; 38066c1fc23SArmin Le Grand }; 38166c1fc23SArmin Le Grand }; 382*72c96935Smseidel }; 38366c1fc23SArmin Le Grand }; 38466c1fc23SArmin Le Grand String STR_HELP_LEFT 38566c1fc23SArmin Le Grand { 38666c1fc23SArmin Le Grand Text [ en-US ] = "Rotate counterclockwise by 45 degrees." ; 38766c1fc23SArmin Le Grand }; 38866c1fc23SArmin Le Grand String STR_HELP_RIGHT 38966c1fc23SArmin Le Grand { 39066c1fc23SArmin Le Grand Text [ en-US ] = "Rotate clockwise by 45 degrees." ; 39166c1fc23SArmin Le Grand }; 39266c1fc23SArmin Le Grand Image IMG_ROT_LEFT 39366c1fc23SArmin Le Grand { 394*72c96935Smseidel ImageBitmap = Bitmap {File = "symphony/rotate_left.png" ;} ; 39566c1fc23SArmin Le Grand }; 39666c1fc23SArmin Le Grand Image IMG_ROT_RIGHT 39766c1fc23SArmin Le Grand { 398*72c96935Smseidel ImageBitmap = Bitmap {File = "symphony/rotate_right.png" ;} ; 39966c1fc23SArmin Le Grand }; 40066c1fc23SArmin Le Grand}; 40166c1fc23SArmin Le GrandControl RID_POPUPPANEL_AERAPAGE_COLOR 40266c1fc23SArmin Le Grand{ 403*72c96935Smseidel OutputSize = TRUE ; 404*72c96935Smseidel DialogControl = TRUE ; 405*72c96935Smseidel Border = FALSE ; 406*72c96935Smseidel Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH, POPUP_COLOR_PICKER_HEIGHT ) ; 407*72c96935Smseidel 40866c1fc23SArmin Le Grand Control VS_COLOR 40966c1fc23SArmin Le Grand { 410*72c96935Smseidel HelpID = HID_PPROPERTYPANEL_AREA_COLOR_VS ; 411*72c96935Smseidel Hide = TRUE ; 412*72c96935Smseidel Pos = MAP_APPFONT ( OFFSET_X, OFFSET_Y ) ; 413*72c96935Smseidel Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2 ) ; 41466c1fc23SArmin Le Grand TabStop = TRUE ; 415*72c96935Smseidel Text = "Color" ; 41666c1fc23SArmin Le Grand }; 41766c1fc23SArmin Le Grand}; 41866c1fc23SArmin Le Grand 419*72c96935Smseidel// ********************************************************************** EOF 420