166c1fc23SArmin Le Grand/************************************************************** 272c96935Smseidel * 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 1072c96935Smseidel * 1166c1fc23SArmin Le Grand * http://www.apache.org/licenses/LICENSE-2.0 1272c96935Smseidel * 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. 1972c96935Smseidel * 2066c1fc23SArmin Le Grand *************************************************************/ 2166c1fc23SArmin Le Grand 2202c50d82SAndre Fischer#include "AreaPropertyPanel.hrc" 23d29c2fc2SAndre Fischer#include <sfx2/sidebar/ResourceDefinitions.hrc> 2466c1fc23SArmin Le Grand#include <svx/dialogs.hrc> 2566c1fc23SArmin Le Grand#include "helpid.hrc" 2666c1fc23SArmin Le Grand 2772c96935Smseidel#define TOOLBOX_WIDTH 50 2872c96935Smseidel#define TOOLBOX_HEIGHT 17 2966c1fc23SArmin Le Grand 3066c1fc23SArmin Le GrandControl RID_SIDEBAR_AREA_PANEL 3166c1fc23SArmin Le Grand{ 3272c96935Smseidel OutputSize = TRUE ; 3372c96935Smseidel DialogControl = TRUE ; 3472c96935Smseidel Border = FALSE ; 3572c96935Smseidel 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 ) ; 3666c1fc23SArmin Le Grand HelpID = HID_PROPERTYPANEL_AREA_SECTION ; 3772c96935Smseidel Text [ en-US ] = "Area" ; 3866c1fc23SArmin Le Grand 3966c1fc23SArmin Le Grand FixedText FT_COLOR_LIST 4066c1fc23SArmin Le Grand { 4172c96935Smseidel Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP ) ; 4272c96935Smseidel Size = MAP_APPFONT ( FIXED_TEXT_WIDTH + 50, FIXED_TEXT_HEIGHT ) ; 4372c96935Smseidel Text [ en-US ] = "~Fill:" ; 4466c1fc23SArmin Le Grand }; 4566c1fc23SArmin Le Grand FixedText FL_TRSP_TEXT 4666c1fc23SArmin Le Grand { 4772c96935Smseidel Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + FIXED_TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL ) ; 4872c96935Smseidel Size = MAP_APPFONT ( FIXED_TEXT_WIDTH + 50, FIXED_TEXT_HEIGHT ) ; 4972c96935Smseidel Text [ en-US ] = "~Transparency:" ; 5066c1fc23SArmin Le Grand }; 5166c1fc23SArmin Le Grand ToolBox TB_COLOR 5266c1fc23SArmin Le Grand { 5366c1fc23SArmin Le Grand HelpID = HID_PPROPERTYPANEL_AREA_TBX_COLOR; 5466c1fc23SArmin Le Grand SVLook = TRUE ; 5572c96935Smseidel Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + MBOX_WIDTH + CONTROL_SPACING_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + FIXED_TEXT_HEIGHT + 1 ) ; 5672c96935Smseidel Size = MAP_APPFONT ( TOOLBOX_WIDTH, TOOLBOX_HEIGHT ) ; 5766c1fc23SArmin Le Grand TabStop = TRUE ; 5872c96935Smseidel Text = "Color" ; 5966c1fc23SArmin Le Grand ItemList = 6066c1fc23SArmin Le Grand { 6166c1fc23SArmin Le Grand ToolBoxItem 6266c1fc23SArmin Le Grand { 6366c1fc23SArmin Le Grand Identifier = TBI_COLOR ; 6472c96935Smseidel HelpID = HID_PPROPERTYPANEL_AREA_TBI_COLOR ; 6566c1fc23SArmin Le Grand DropDown = TRUE ; 6666c1fc23SArmin Le Grand Text = "Color" ; 6766c1fc23SArmin Le Grand }; 6866c1fc23SArmin Le Grand }; 6966c1fc23SArmin Le Grand }; 7066c1fc23SArmin Le Grand String STR_HELP_COLOR 7166c1fc23SArmin Le Grand { 7266c1fc23SArmin Le Grand Text [ en-US ] = "Select the color to apply." ; 7366c1fc23SArmin Le Grand }; 7466c1fc23SArmin Le Grand String STR_HELP_TYPE 7566c1fc23SArmin Le Grand { 7672c96935Smseidel Text [ en-US ] = "Select the fill type to apply." ; 7766c1fc23SArmin Le Grand }; 7866c1fc23SArmin Le Grand String STR_HELP_ATTR 7966c1fc23SArmin Le Grand { 8072c96935Smseidel Text [ en-US ] = "Select the effect to apply." ; 8166c1fc23SArmin Le Grand }; 8266c1fc23SArmin Le Grand Image IMG_AXIAL 8366c1fc23SArmin Le Grand { 8472c96935Smseidel ImageBitmap = Bitmap {File = "symphony/axial.png" ;} ; 8566c1fc23SArmin Le Grand }; 8666c1fc23SArmin Le Grand Image IMG_ELLI 8766c1fc23SArmin Le Grand { 8872c96935Smseidel ImageBitmap = Bitmap {File = "symphony/ellipsoid.png" ;} ; 8966c1fc23SArmin Le Grand }; 9066c1fc23SArmin Le Grand Image IMG_QUAD 9166c1fc23SArmin Le Grand { 9272c96935Smseidel ImageBitmap = Bitmap {File = "symphony/Quadratic.png" ;} ; 9366c1fc23SArmin Le Grand }; 9466c1fc23SArmin Le Grand Image IMG_RADIAL 9566c1fc23SArmin Le Grand { 9672c96935Smseidel ImageBitmap = Bitmap {File = "symphony/radial.png" ;} ; 9766c1fc23SArmin Le Grand }; 9866c1fc23SArmin Le Grand Image IMG_SQUARE 9966c1fc23SArmin Le Grand { 10072c96935Smseidel ImageBitmap = Bitmap {File = "symphony/Square.png" ;} ; 10166c1fc23SArmin Le Grand }; 10266c1fc23SArmin Le Grand Image IMG_LINEAR 10366c1fc23SArmin Le Grand { 10472c96935Smseidel ImageBitmap = Bitmap {File = "symphony/linear.png" ;} ; 10566c1fc23SArmin Le Grand }; 10666c1fc23SArmin Le Grand Image IMG_COLOR 10766c1fc23SArmin Le Grand { 10872c96935Smseidel ImageBitmap = Bitmap {File = "symphony/fill_color.png" ;} ; 10966c1fc23SArmin Le Grand }; 11072c96935Smseidel 11172c96935Smseidel // high contract 11266c1fc23SArmin Le Grand Image IMG_AXIAL_H 11366c1fc23SArmin Le Grand { 11472c96935Smseidel ImageBitmap = Bitmap {File = "symphony/axial_h.png" ;} ; 11566c1fc23SArmin Le Grand }; 11666c1fc23SArmin Le Grand Image IMG_ELLI_H 11766c1fc23SArmin Le Grand { 11872c96935Smseidel ImageBitmap = Bitmap {File = "symphony/ellipsoid_h.png" ;} ; 11966c1fc23SArmin Le Grand }; 12066c1fc23SArmin Le Grand Image IMG_QUAD_H 12166c1fc23SArmin Le Grand { 12272c96935Smseidel ImageBitmap = Bitmap {File = "symphony/Quadratic_h.png" ;} ; 12366c1fc23SArmin Le Grand }; 12466c1fc23SArmin Le Grand Image IMG_RADIAL_H 12566c1fc23SArmin Le Grand { 12672c96935Smseidel ImageBitmap = Bitmap {File = "symphony/radial_h.png" ;} ; 12766c1fc23SArmin Le Grand }; 12866c1fc23SArmin Le Grand Image IMG_SQUARE_H 12966c1fc23SArmin Le Grand { 13072c96935Smseidel ImageBitmap = Bitmap {File = "symphony/Square_h.png" ;} ; 13166c1fc23SArmin Le Grand }; 13266c1fc23SArmin Le Grand Image IMG_LINEAR_H 13366c1fc23SArmin Le Grand { 13472c96935Smseidel ImageBitmap = Bitmap {File = "symphony/linear_h.png" ;} ; 13566c1fc23SArmin Le Grand }; 13666c1fc23SArmin Le Grand Image IMG_COLOR_H 13766c1fc23SArmin Le Grand { 13872c96935Smseidel ImageBitmap = Bitmap {File = "symphony/fill_color_h.png" ;} ; 13966c1fc23SArmin Le Grand }; 14072c96935Smseidel 14166c1fc23SArmin Le Grand //===================================================================================================================================== 14266c1fc23SArmin Le Grand ListBox LB_TRGR_TYPES 14366c1fc23SArmin Le Grand { 14466c1fc23SArmin Le Grand Border = TRUE ; 14572c96935Smseidel Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + 2 * ( FIXED_TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL ) + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL ) ; 14672c96935Smseidel Size = MAP_APPFONT ( MBOX_WIDTH, LISTBOX_HEIGHT ) ; 14772c96935Smseidel QuickHelpText [ en-US ] = "Select the type of transparency to apply." ; 14866c1fc23SArmin Le Grand TabStop = TRUE ; 14966c1fc23SArmin Le Grand DropDown = TRUE ; 15066c1fc23SArmin Le Grand HelpID = HID_PPROPERTYPANEL_AREA_LB_TRGR_TYPES ; 15172c96935Smseidel StringList [ en-US ] = 15272c96935Smseidel { 15372c96935Smseidel < "None" ; Default ; > ; 15472c96935Smseidel < "Solid" ; Default ; > ; 15572c96935Smseidel < "Linear" ; Default ; > ; 15672c96935Smseidel < "Axial" ; Default ; > ; 15772c96935Smseidel < "Radial" ; Default ; > ; 15872c96935Smseidel < "Ellipsoid" ; Default ; > ; 15972c96935Smseidel < "Quadratic" ; Default ; > ; 16072c96935Smseidel < "Square" ; Default ; > ; 16172c96935Smseidel }; 16272c96935Smseidel }; 16372c96935Smseidel 16466c1fc23SArmin Le Grand MetricField MTR_TRANSPARENT 16566c1fc23SArmin Le Grand { 16666c1fc23SArmin Le Grand Border = TRUE ; 16772c96935Smseidel 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 ) ; 16872c96935Smseidel Size = MAP_APPFONT ( MBOX_WIDTH + 1, MBOX_HEIGHT ) ; 16972c96935Smseidel HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRANSPARENT ; 170*45079588Smseidel QuickHelpText [ en-US ] = "Specify 0% for fully opaque through 100% for fully transparent." ; 17166c1fc23SArmin Le Grand TabStop = TRUE ; 17266c1fc23SArmin Le Grand Repeat = TRUE ; 17366c1fc23SArmin Le Grand Spin = TRUE ; 17466c1fc23SArmin Le Grand Maximum = 100 ; 17566c1fc23SArmin Le Grand StrictFormat = TRUE ; 1767ea7a1ccSTsutomu Uchino Unit = FUNIT_PERCENT ; 17766c1fc23SArmin Le Grand Last = 100 ; 17866c1fc23SArmin Le Grand SpinSize = 5 ; 17966c1fc23SArmin Le Grand }; 18072c96935Smseidel 18166c1fc23SArmin Le Grand ToolBox BTN_GRADIENT 18266c1fc23SArmin Le Grand { 18372c96935Smseidel 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 ) ; 18472c96935Smseidel HelpID = HID_PPROPERTYPANEL_AREA_TBX_GRADIENT ; 18566c1fc23SArmin Le Grand SVLook = TRUE ; 18666c1fc23SArmin Le Grand Border = FALSE ; 18766c1fc23SArmin Le Grand TabStop = TRUE ; 18872c96935Smseidel Text = "Gradient" ; 18966c1fc23SArmin Le Grand ItemList = 19066c1fc23SArmin Le Grand { 19166c1fc23SArmin Le Grand ToolBoxItem 19266c1fc23SArmin Le Grand { 19366c1fc23SArmin Le Grand Identifier = TBI_BTX_GRADIENT ; 19472c96935Smseidel HelpID = HID_PPROPERTYPANEL_AREA_TBI_GRADIENT ; 19566c1fc23SArmin Le Grand ItemBitmap = Bitmap 19666c1fc23SArmin Le Grand { 197e6c5eacbSArmin Le Grand File = "symphony/linear.png" ; 19866c1fc23SArmin Le Grand }; 19972c96935Smseidel DropDown = TRUE ; 20066c1fc23SArmin Le Grand Text = "Gradient" ; 20166c1fc23SArmin Le Grand }; 20266c1fc23SArmin Le Grand }; 20366c1fc23SArmin Le Grand }; 20466c1fc23SArmin Le Grand String STR_HELP_GRADIENT 20566c1fc23SArmin Le Grand { 20666c1fc23SArmin Le Grand Text [ en-US ] = "Specify the variation of gradient transparency." ; 20766c1fc23SArmin Le Grand }; 20866c1fc23SArmin Le Grand}; 20966c1fc23SArmin Le Grand 21066c1fc23SArmin Le GrandControl RID_POPUPPANEL_AREAPAGE_TRGR 21166c1fc23SArmin Le Grand{ 21272c96935Smseidel OutputSize = TRUE ; 21372c96935Smseidel DialogControl = TRUE ; 21472c96935Smseidel Border = FALSE ; 21572c96935Smseidel 21672c96935Smseidel// Size = MAP_APPFONT ( POP_WIDTH, POP_HEIGHT ) ; 21772c96935Smseidel 21866c1fc23SArmin Le Grand FixedText FT_TRGR_CENTER_X 21966c1fc23SArmin Le Grand { 22072c96935Smseidel Size = MAP_APPFONT ( CONTROL_WIDTH, FIXED_TEXT_HEIGHT ) ; 22172c96935Smseidel Text [ en-US ] = "Center ~X:" ; 22266c1fc23SArmin Le Grand }; 22366c1fc23SArmin Le Grand MetricField MTR_TRGR_CENTER_X 22466c1fc23SArmin Le Grand { 22566c1fc23SArmin Le Grand Border = TRUE ; 22672c96935Smseidel Size = MAP_APPFONT ( CONTROL_WIDTH, MBOX_HEIGHT ) ; 22772c96935Smseidel HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_CENTER_X ; 228*45079588Smseidel QuickHelpText [ en-US ] = "Specify the horizontal offset percentage from the center for the gradient shading style. 50% is the horizontal center." ; 22966c1fc23SArmin Le Grand TabStop = TRUE ; 23066c1fc23SArmin Le Grand Repeat = TRUE ; 23166c1fc23SArmin Le Grand Spin = TRUE ; 23266c1fc23SArmin Le Grand Maximum = 100 ; 23366c1fc23SArmin Le Grand StrictFormat = TRUE ; 2347ea7a1ccSTsutomu Uchino Unit = FUNIT_PERCENT ; 23566c1fc23SArmin Le Grand Last = 100 ; 23666c1fc23SArmin Le Grand SpinSize = 5 ; 23766c1fc23SArmin Le Grand }; 23866c1fc23SArmin Le Grand FixedText FT_TRGR_CENTER_Y 23966c1fc23SArmin Le Grand { 24072c96935Smseidel Size = MAP_APPFONT ( CONTROL_WIDTH + POPUPPANEL_MARGIN_HORIZONTAL, FIXED_TEXT_HEIGHT ) ; // wj 24172c96935Smseidel Text [ en-US ] = "Center ~Y:" ; 24266c1fc23SArmin Le Grand }; 24366c1fc23SArmin Le Grand MetricField MTR_TRGR_CENTER_Y 24466c1fc23SArmin Le Grand { 24566c1fc23SArmin Le Grand Border = TRUE ; 24672c96935Smseidel Size = MAP_APPFONT ( CONTROL_WIDTH, MBOX_HEIGHT ) ; 24772c96935Smseidel HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_CENTER_Y ; 248*45079588Smseidel QuickHelpText [ en-US ] = "Specify the vertical offset percentage from the center for the gradient shading style. 50% is the vertical center." ; 24966c1fc23SArmin Le Grand TabStop = TRUE ; 25066c1fc23SArmin Le Grand Repeat = TRUE ; 25166c1fc23SArmin Le Grand Spin = TRUE ; 25266c1fc23SArmin Le Grand Maximum = 100 ; 25366c1fc23SArmin Le Grand StrictFormat = TRUE ; 2547ea7a1ccSTsutomu Uchino Unit = FUNIT_PERCENT ; 25566c1fc23SArmin Le Grand Last = 100 ; 25666c1fc23SArmin Le Grand SpinSize = 5 ; 25766c1fc23SArmin Le Grand }; 25866c1fc23SArmin Le Grand FixedText FT_TRGR_ANGLE 25966c1fc23SArmin Le Grand { 26072c96935Smseidel Size = MAP_APPFONT ( CONTROL_WIDTH * 2 + POPUPPANEL_MARGIN_HORIZONTAL + CONTROL_SPACING_HORIZONTAL, FIXED_TEXT_HEIGHT ) ; // wj 26172c96935Smseidel Text [ en-US ] = "~Angle:" ; 26266c1fc23SArmin Le Grand }; 26366c1fc23SArmin Le Grand MetricField MTR_TRGR_ANGLE 26466c1fc23SArmin Le Grand { 26566c1fc23SArmin Le Grand Border = TRUE ; 26672c96935Smseidel Size = MAP_APPFONT ( CONTROL_WIDTH, MBOX_HEIGHT ) ; 26772c96935Smseidel HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_ANGLE ; 26872c96935Smseidel QuickHelpText [ en-US ] = "Specify the angle of rotation for the gradient shading style." ; 26966c1fc23SArmin Le Grand TabStop = FALSE ; 27066c1fc23SArmin Le Grand Repeat = TRUE ; 27166c1fc23SArmin Le Grand Spin = TRUE ; 27266c1fc23SArmin Le Grand Minimum = -9999 ; 27366c1fc23SArmin Le Grand Maximum = 9999 ; 27466c1fc23SArmin Le Grand Unit = FUNIT_CUSTOM ; 27566c1fc23SArmin Le Grand SpinSize = 1 ; 27672c96935Smseidel CustomUnitText [ en-US ] = " degrees" ; 27772c96935Smseidel }; 27866c1fc23SArmin Le Grand FixedText FT_TRGR_START_VALUE 27966c1fc23SArmin Le Grand { 28072c96935Smseidel Size = MAP_APPFONT ( CONTROL_WIDTH, FIXED_TEXT_HEIGHT ) ; 28172c96935Smseidel Text [ en-US ] = "~Start value:" ; 28266c1fc23SArmin Le Grand }; 28366c1fc23SArmin Le Grand MetricField MTR_TRGR_START_VALUE 28466c1fc23SArmin Le Grand { 28566c1fc23SArmin Le Grand Border = TRUE ; 28672c96935Smseidel Size = MAP_APPFONT ( CONTROL_WIDTH, MBOX_HEIGHT ) ; 28772c96935Smseidel HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_SVALUE ; 288*45079588Smseidel QuickHelpText [ en-US ] = "Enter a transparency value for the beginning point of the gradient, where 0% is fully opaque and 100% is fully transparent." ; 28966c1fc23SArmin Le Grand TabStop = TRUE ; 29066c1fc23SArmin Le Grand Repeat = TRUE ; 29166c1fc23SArmin Le Grand Spin = TRUE ; 29266c1fc23SArmin Le Grand Maximum = 100 ; 29366c1fc23SArmin Le Grand StrictFormat = TRUE ; 2947ea7a1ccSTsutomu Uchino Unit = FUNIT_PERCENT ; 29566c1fc23SArmin Le Grand Last = 100 ; 29666c1fc23SArmin Le Grand SpinSize = 5 ; 29766c1fc23SArmin Le Grand }; 29866c1fc23SArmin Le Grand FixedText FT_TRGR_END_VALUE 29966c1fc23SArmin Le Grand { 30072c96935Smseidel Size = MAP_APPFONT ( CONTROL_WIDTH + POPUPPANEL_MARGIN_HORIZONTAL, FIXED_TEXT_HEIGHT ) ; //wj 30172c96935Smseidel Text [ en-US ] = "~End value:" ; 30266c1fc23SArmin Le Grand }; 30366c1fc23SArmin Le Grand MetricField MTR_TRGR_END_VALUE 30466c1fc23SArmin Le Grand { 30566c1fc23SArmin Le Grand Border = TRUE ; 30672c96935Smseidel Size = MAP_APPFONT ( CONTROL_WIDTH, MBOX_HEIGHT ) ; 30772c96935Smseidel HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_EVALUE ; 308*45079588Smseidel QuickHelpText [ en-US ] = "Enter a transparency value for the endpoint of the gradient, where 0% is fully opaque and 100% is fully transparent." ; 30966c1fc23SArmin Le Grand TabStop = TRUE ; 31066c1fc23SArmin Le Grand Repeat = TRUE ; 31166c1fc23SArmin Le Grand Spin = TRUE ; 31266c1fc23SArmin Le Grand Maximum = 100 ; 31366c1fc23SArmin Le Grand StrictFormat = TRUE ; 3147ea7a1ccSTsutomu Uchino Unit = FUNIT_PERCENT ; 31566c1fc23SArmin Le Grand Last = 100 ; 31666c1fc23SArmin Le Grand SpinSize = 5 ; 31766c1fc23SArmin Le Grand }; 31866c1fc23SArmin Le Grand FixedText FT_TRGR_BORDER 31966c1fc23SArmin Le Grand { 32072c96935Smseidel Size = MAP_APPFONT ( CONTROL_WIDTH * 2 + POPUPPANEL_MARGIN_HORIZONTAL + CONTROL_SPACING_HORIZONTAL, FIXED_TEXT_HEIGHT ) ; 32172c96935Smseidel Text [ en-US ] = "~Border:" ; 32266c1fc23SArmin Le Grand }; 32366c1fc23SArmin Le Grand MetricField MTR_TRGR_BORDER 32466c1fc23SArmin Le Grand { 32566c1fc23SArmin Le Grand Border = TRUE ; 32672c96935Smseidel Size = MAP_APPFONT ( CONTROL_WIDTH, MBOX_HEIGHT ) ; 32772c96935Smseidel HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_BORDER ; 32872c96935Smseidel QuickHelpText [ en-US ] = "Specify the border value of gradient transparency." ; 32966c1fc23SArmin Le Grand TabStop = TRUE ; 33066c1fc23SArmin Le Grand Repeat = TRUE ; 33166c1fc23SArmin Le Grand Spin = TRUE ; 33266c1fc23SArmin Le Grand Maximum = 100 ; 33366c1fc23SArmin Le Grand StrictFormat = TRUE ; 3347ea7a1ccSTsutomu Uchino Unit = FUNIT_PERCENT ; 33566c1fc23SArmin Le Grand Last = 100 ; 33666c1fc23SArmin Le Grand SpinSize = 5 ; 33772c96935Smseidel }; 33866c1fc23SArmin Le Grand //===================================================================================================================================== 33966c1fc23SArmin Le Grand 34066c1fc23SArmin Le Grand ToolBox BTN_LEFT_SECOND 34166c1fc23SArmin Le Grand { 34272c96935Smseidel Border = FALSE ; 34366c1fc23SArmin Le Grand HelpID = HID_PPROPERTYPANEL_AREA_BTN_LEFT_SECOND ; 34466c1fc23SArmin Le Grand SVLook = TRUE ; 34566c1fc23SArmin Le Grand Border = FALSE ; 34666c1fc23SArmin Le Grand TabStop = TRUE ; 34772c96935Smseidel Text = "Rotate Left" ; 34866c1fc23SArmin Le Grand ItemList = 34966c1fc23SArmin Le Grand { 35066c1fc23SArmin Le Grand ToolBoxItem 35166c1fc23SArmin Le Grand { 35266c1fc23SArmin Le Grand Identifier = TBI_LEFT ; 35366c1fc23SArmin Le Grand Text = "Rotate Left" ; 35466c1fc23SArmin Le Grand ItemBitmap = Bitmap 35566c1fc23SArmin Le Grand { 356e6c5eacbSArmin Le Grand // File = "symphony/rotate_left.png" ; 35766c1fc23SArmin Le Grand }; 35866c1fc23SArmin Le Grand }; 35972c96935Smseidel }; 36066c1fc23SArmin Le Grand }; 36166c1fc23SArmin Le Grand ToolBox BTN_RIGHT_FIRST 36266c1fc23SArmin Le Grand { 36372c96935Smseidel Border = FALSE ; 36466c1fc23SArmin Le Grand HelpID = HID_PPROPERTYPANEL_AREA_BTN_RIGHT_FIRST ; 36566c1fc23SArmin Le Grand SVLook = TRUE ; 36666c1fc23SArmin Le Grand Border = FALSE ; 36766c1fc23SArmin Le Grand TabStop = TRUE ; 36872c96935Smseidel Text = "Rotate Right" ; 36966c1fc23SArmin Le Grand ItemList = 37066c1fc23SArmin Le Grand { 37166c1fc23SArmin Le Grand ToolBoxItem 37266c1fc23SArmin Le Grand { 37366c1fc23SArmin Le Grand Identifier = TBI_RIGHT ; 37466c1fc23SArmin Le Grand Text = "Rotate Right" ; 37566c1fc23SArmin Le Grand ItemBitmap = Bitmap 37666c1fc23SArmin Le Grand { 377e6c5eacbSArmin Le Grand // File = "symphony/rotate_right.png" ; 37866c1fc23SArmin Le Grand }; 37966c1fc23SArmin Le Grand }; 38072c96935Smseidel }; 38166c1fc23SArmin Le Grand }; 38266c1fc23SArmin Le Grand String STR_HELP_LEFT 38366c1fc23SArmin Le Grand { 38466c1fc23SArmin Le Grand Text [ en-US ] = "Rotate counterclockwise by 45 degrees." ; 38566c1fc23SArmin Le Grand }; 38666c1fc23SArmin Le Grand String STR_HELP_RIGHT 38766c1fc23SArmin Le Grand { 38866c1fc23SArmin Le Grand Text [ en-US ] = "Rotate clockwise by 45 degrees." ; 38966c1fc23SArmin Le Grand }; 39066c1fc23SArmin Le Grand Image IMG_ROT_LEFT 39166c1fc23SArmin Le Grand { 39272c96935Smseidel ImageBitmap = Bitmap {File = "symphony/rotate_left.png" ;} ; 39366c1fc23SArmin Le Grand }; 39466c1fc23SArmin Le Grand Image IMG_ROT_RIGHT 39566c1fc23SArmin Le Grand { 39672c96935Smseidel ImageBitmap = Bitmap {File = "symphony/rotate_right.png" ;} ; 39766c1fc23SArmin Le Grand }; 39866c1fc23SArmin Le Grand}; 39966c1fc23SArmin Le GrandControl RID_POPUPPANEL_AERAPAGE_COLOR 40066c1fc23SArmin Le Grand{ 40172c96935Smseidel OutputSize = TRUE ; 40272c96935Smseidel DialogControl = TRUE ; 40372c96935Smseidel Border = FALSE ; 40472c96935Smseidel Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH, POPUP_COLOR_PICKER_HEIGHT ) ; 40572c96935Smseidel 40666c1fc23SArmin Le Grand Control VS_COLOR 40766c1fc23SArmin Le Grand { 40872c96935Smseidel HelpID = HID_PPROPERTYPANEL_AREA_COLOR_VS ; 40972c96935Smseidel Hide = TRUE ; 41072c96935Smseidel Pos = MAP_APPFONT ( OFFSET_X, OFFSET_Y ) ; 41172c96935Smseidel Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2 ) ; 41266c1fc23SArmin Le Grand TabStop = TRUE ; 41372c96935Smseidel Text = "Color" ; 41466c1fc23SArmin Le Grand }; 41566c1fc23SArmin Le Grand}; 41666c1fc23SArmin Le Grand 41772c96935Smseidel// ********************************************************************** EOF 418