xref: /trunk/main/svx/source/sidebar/area/AreaPropertyPanel.src (revision 38b885b74d08288e2136f990676957bd24aa340d)
18dcb2a10SAndre Fischer/**************************************************************
28dcb2a10SAndre Fischer *
38dcb2a10SAndre Fischer * Licensed to the Apache Software Foundation (ASF) under one
48dcb2a10SAndre Fischer * or more contributor license agreements.  See the NOTICE file
58dcb2a10SAndre Fischer * distributed with this work for additional information
68dcb2a10SAndre Fischer * regarding copyright ownership.  The ASF licenses this file
78dcb2a10SAndre Fischer * to you under the Apache License, Version 2.0 (the
88dcb2a10SAndre Fischer * "License"); you may not use this file except in compliance
98dcb2a10SAndre Fischer * with the License.  You may obtain a copy of the License at
108dcb2a10SAndre Fischer *
118dcb2a10SAndre Fischer *   http://www.apache.org/licenses/LICENSE-2.0
128dcb2a10SAndre Fischer *
138dcb2a10SAndre Fischer * Unless required by applicable law or agreed to in writing,
148dcb2a10SAndre Fischer * software distributed under the License is distributed on an
158dcb2a10SAndre Fischer * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
168dcb2a10SAndre Fischer * KIND, either express or implied.  See the License for the
178dcb2a10SAndre Fischer * specific language governing permissions and limitations
188dcb2a10SAndre Fischer * under the License.
198dcb2a10SAndre Fischer *
208dcb2a10SAndre Fischer *************************************************************/
218dcb2a10SAndre Fischer
228dcb2a10SAndre Fischer#include "AreaPropertyPanel.hrc"
23d29c2fc2SAndre Fischer#include <sfx2/sidebar/ResourceDefinitions.hrc>
248dcb2a10SAndre Fischer#include <svx/dialogs.hrc>
258dcb2a10SAndre Fischer#include "helpid.hrc"
268dcb2a10SAndre Fischer
278dcb2a10SAndre Fischer#define TOOLBOX_WIDTH   50
288dcb2a10SAndre Fischer#define TOOLBOX_HEIGHT  17
298dcb2a10SAndre Fischer
308dcb2a10SAndre FischerControl RID_SIDEBAR_AREA_PANEL
318dcb2a10SAndre Fischer{
328dcb2a10SAndre Fischer    OutputSize = TRUE ;
338dcb2a10SAndre Fischer    DialogControl = TRUE ;
348dcb2a10SAndre Fischer    Border = FALSE ;
358dcb2a10SAndre Fischer    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 ) ;
368dcb2a10SAndre Fischer    HelpID = HID_PROPERTYPANEL_AREA_SECTION ;
378dcb2a10SAndre Fischer    Text [ en-US ] = "Area" ;
388dcb2a10SAndre Fischer
398dcb2a10SAndre Fischer    FixedText FT_COLOR_LIST
408dcb2a10SAndre Fischer    {
418dcb2a10SAndre Fischer        Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP ) ;
428dcb2a10SAndre Fischer        Size = MAP_APPFONT ( FIXED_TEXT_WIDTH + 50, FIXED_TEXT_HEIGHT ) ;
438dcb2a10SAndre Fischer        Text [ en-US ] = "~Fill:" ;
448dcb2a10SAndre Fischer    };
458dcb2a10SAndre Fischer    FixedText FL_TRSP_TEXT
468dcb2a10SAndre Fischer    {
478dcb2a10SAndre Fischer        Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + FIXED_TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL ) ;
488dcb2a10SAndre Fischer        Size = MAP_APPFONT ( FIXED_TEXT_WIDTH + 50, FIXED_TEXT_HEIGHT ) ;
498dcb2a10SAndre Fischer        Text [ en-US ] = "~Transparency:" ;
508dcb2a10SAndre Fischer    };
518dcb2a10SAndre Fischer    ToolBox TB_COLOR
528dcb2a10SAndre Fischer    {
538dcb2a10SAndre Fischer        HelpID = HID_PPROPERTYPANEL_AREA_TBX_COLOR;
548dcb2a10SAndre Fischer        SVLook = TRUE ;
558dcb2a10SAndre Fischer        Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + MBOX_WIDTH + CONTROL_SPACING_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + FIXED_TEXT_HEIGHT + 1 ) ;
568dcb2a10SAndre Fischer        Size = MAP_APPFONT ( TOOLBOX_WIDTH, TOOLBOX_HEIGHT ) ;
578dcb2a10SAndre Fischer        TabStop = TRUE ;
588dcb2a10SAndre Fischer        Text = "Color" ;
598dcb2a10SAndre Fischer        ItemList =
608dcb2a10SAndre Fischer        {
618dcb2a10SAndre Fischer            ToolBoxItem
628dcb2a10SAndre Fischer            {
638dcb2a10SAndre Fischer                Identifier = TBI_COLOR ;
648dcb2a10SAndre Fischer                HelpID = HID_PPROPERTYPANEL_AREA_TBI_COLOR ;
658dcb2a10SAndre Fischer                DropDown = TRUE ;
668dcb2a10SAndre Fischer                Text = "Color" ;
678dcb2a10SAndre Fischer            };
688dcb2a10SAndre Fischer        };
698dcb2a10SAndre Fischer    };
708dcb2a10SAndre Fischer    String STR_HELP_COLOR
718dcb2a10SAndre Fischer    {
728dcb2a10SAndre Fischer        Text [ en-US ] = "Select the color to apply." ;
738dcb2a10SAndre Fischer    };
748dcb2a10SAndre Fischer    String STR_HELP_TYPE
758dcb2a10SAndre Fischer    {
768dcb2a10SAndre Fischer        Text [ en-US ] = "Select the fill type to apply." ;
778dcb2a10SAndre Fischer    };
788dcb2a10SAndre Fischer    String STR_HELP_ATTR
798dcb2a10SAndre Fischer    {
808dcb2a10SAndre Fischer        Text [ en-US ] = "Select the effect to apply." ;
818dcb2a10SAndre Fischer    };
828dcb2a10SAndre Fischer    Image IMG_AXIAL
838dcb2a10SAndre Fischer    {
84*38b885b7SMatthias Seidel        ImageBitmap = Bitmap {File = "sidebar/axial.png" ;} ;
858dcb2a10SAndre Fischer    };
868dcb2a10SAndre Fischer    Image IMG_ELLI
878dcb2a10SAndre Fischer    {
88*38b885b7SMatthias Seidel        ImageBitmap = Bitmap {File = "sidebar/ellipsoid.png" ;} ;
898dcb2a10SAndre Fischer    };
908dcb2a10SAndre Fischer    Image IMG_QUAD
918dcb2a10SAndre Fischer    {
92*38b885b7SMatthias Seidel        ImageBitmap = Bitmap {File = "sidebar/Quadratic.png" ;} ;
938dcb2a10SAndre Fischer    };
948dcb2a10SAndre Fischer    Image IMG_RADIAL
958dcb2a10SAndre Fischer    {
96*38b885b7SMatthias Seidel        ImageBitmap = Bitmap {File = "sidebar/radial.png" ;} ;
978dcb2a10SAndre Fischer    };
988dcb2a10SAndre Fischer    Image IMG_SQUARE
998dcb2a10SAndre Fischer    {
100*38b885b7SMatthias Seidel        ImageBitmap = Bitmap {File = "sidebar/Square.png" ;} ;
1018dcb2a10SAndre Fischer    };
1028dcb2a10SAndre Fischer    Image IMG_LINEAR
1038dcb2a10SAndre Fischer    {
104*38b885b7SMatthias Seidel        ImageBitmap = Bitmap {File = "sidebar/linear.png" ;} ;
1058dcb2a10SAndre Fischer    };
1068dcb2a10SAndre Fischer    Image IMG_COLOR
1078dcb2a10SAndre Fischer    {
108*38b885b7SMatthias Seidel        ImageBitmap = Bitmap {File = "sidebar/fill_color.png" ;} ;
1098dcb2a10SAndre Fischer    };
1108dcb2a10SAndre Fischer
1118dcb2a10SAndre Fischer    // high contract
1128dcb2a10SAndre Fischer    Image IMG_AXIAL_H
1138dcb2a10SAndre Fischer    {
114*38b885b7SMatthias Seidel        ImageBitmap = Bitmap {File = "sidebar/axial_h.png" ;} ;
1158dcb2a10SAndre Fischer    };
1168dcb2a10SAndre Fischer    Image IMG_ELLI_H
1178dcb2a10SAndre Fischer    {
118*38b885b7SMatthias Seidel        ImageBitmap = Bitmap {File = "sidebar/ellipsoid_h.png" ;} ;
1198dcb2a10SAndre Fischer    };
1208dcb2a10SAndre Fischer    Image IMG_QUAD_H
1218dcb2a10SAndre Fischer    {
122*38b885b7SMatthias Seidel        ImageBitmap = Bitmap {File = "sidebar/Quadratic_h.png" ;} ;
1238dcb2a10SAndre Fischer    };
1248dcb2a10SAndre Fischer    Image IMG_RADIAL_H
1258dcb2a10SAndre Fischer    {
126*38b885b7SMatthias Seidel        ImageBitmap = Bitmap {File = "sidebar/radial_h.png" ;} ;
1278dcb2a10SAndre Fischer    };
1288dcb2a10SAndre Fischer    Image IMG_SQUARE_H
1298dcb2a10SAndre Fischer    {
130*38b885b7SMatthias Seidel        ImageBitmap = Bitmap {File = "sidebar/Square_h.png" ;} ;
1318dcb2a10SAndre Fischer    };
1328dcb2a10SAndre Fischer    Image IMG_LINEAR_H
1338dcb2a10SAndre Fischer    {
134*38b885b7SMatthias Seidel        ImageBitmap = Bitmap {File = "sidebar/linear_h.png" ;} ;
1358dcb2a10SAndre Fischer    };
1368dcb2a10SAndre Fischer    Image IMG_COLOR_H
1378dcb2a10SAndre Fischer    {
138*38b885b7SMatthias Seidel        ImageBitmap = Bitmap {File = "sidebar/fill_color_h.png" ;} ;
1398dcb2a10SAndre Fischer    };
1408dcb2a10SAndre Fischer
1418dcb2a10SAndre Fischer    //=====================================================================================================================================
1428dcb2a10SAndre Fischer    ListBox LB_TRGR_TYPES
1438dcb2a10SAndre Fischer    {
1448dcb2a10SAndre Fischer        Border = TRUE ;
1458dcb2a10SAndre Fischer        Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + 2 * ( FIXED_TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL ) + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL ) ;
1468dcb2a10SAndre Fischer        Size = MAP_APPFONT ( MBOX_WIDTH, LISTBOX_HEIGHT ) ;
1473ec054f2SJürgen Schmidt        QuickHelpText [ en-US ] = "Select the type of transparency to apply." ;
1488dcb2a10SAndre Fischer        TabStop = TRUE ;
1498dcb2a10SAndre Fischer        DropDown = TRUE ;
1508dcb2a10SAndre Fischer        HelpID = HID_PPROPERTYPANEL_AREA_LB_TRGR_TYPES ;
1518dcb2a10SAndre Fischer        StringList [ en-US ] =
1528dcb2a10SAndre Fischer        {
1538dcb2a10SAndre Fischer            < "None" ; Default ;        > ;
1548dcb2a10SAndre Fischer            < "Solid" ; Default ;       > ;
1558dcb2a10SAndre Fischer            < "Linear" ; Default ;      > ;
1568dcb2a10SAndre Fischer            < "Axial" ; Default ;       > ;
1578dcb2a10SAndre Fischer            < "Radial" ; Default ;      > ;
1588dcb2a10SAndre Fischer            < "Ellipsoid" ; Default ;   > ;
1598dcb2a10SAndre Fischer            < "Quadratic" ; Default ;   > ;
1608dcb2a10SAndre Fischer            < "Square" ; Default ;      > ;
1618dcb2a10SAndre Fischer        };
1628dcb2a10SAndre Fischer    };
1638dcb2a10SAndre Fischer
1648dcb2a10SAndre Fischer    MetricField MTR_TRANSPARENT
1658dcb2a10SAndre Fischer    {
1668dcb2a10SAndre Fischer        Border = TRUE ;
1678dcb2a10SAndre Fischer        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 ) ;
1688dcb2a10SAndre Fischer        Size = MAP_APPFONT ( MBOX_WIDTH + 1, MBOX_HEIGHT ) ;
1698dcb2a10SAndre Fischer        HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRANSPARENT ;
1708dcb2a10SAndre Fischer        QuickHelpText [ en-US ] = "Specify 0% for fully opaque through 100% for fully transparent." ;
1718dcb2a10SAndre Fischer        TabStop = TRUE ;
1728dcb2a10SAndre Fischer        Repeat = TRUE ;
1738dcb2a10SAndre Fischer        Spin = TRUE ;
1748dcb2a10SAndre Fischer        Maximum = 100 ;
1758dcb2a10SAndre Fischer        StrictFormat = TRUE ;
1767ea7a1ccSTsutomu Uchino        Unit = FUNIT_PERCENT ;
1778dcb2a10SAndre Fischer        Last = 100 ;
1788dcb2a10SAndre Fischer        SpinSize = 5 ;
1798dcb2a10SAndre Fischer    };
1808dcb2a10SAndre Fischer
1818dcb2a10SAndre Fischer    ToolBox BTN_GRADIENT
1828dcb2a10SAndre Fischer    {
1838dcb2a10SAndre Fischer        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 ) ;
1848dcb2a10SAndre Fischer        HelpID = HID_PPROPERTYPANEL_AREA_TBX_GRADIENT ;
1858dcb2a10SAndre Fischer        SVLook = TRUE ;
1868dcb2a10SAndre Fischer        Border = FALSE ;
1878dcb2a10SAndre Fischer        TabStop = TRUE ;
1888dcb2a10SAndre Fischer        Text = "Gradient" ;
1898dcb2a10SAndre Fischer        ItemList =
1908dcb2a10SAndre Fischer        {
1918dcb2a10SAndre Fischer            ToolBoxItem
1928dcb2a10SAndre Fischer            {
1938dcb2a10SAndre Fischer                Identifier = TBI_BTX_GRADIENT ;
1948dcb2a10SAndre Fischer                HelpID = HID_PPROPERTYPANEL_AREA_TBI_GRADIENT ;
1958dcb2a10SAndre Fischer                ItemBitmap = Bitmap
1968dcb2a10SAndre Fischer                {
197*38b885b7SMatthias Seidel                    File = "sidebar/linear.png" ;
1988dcb2a10SAndre Fischer                };
1998dcb2a10SAndre Fischer                DropDown = TRUE ;
2008dcb2a10SAndre Fischer                Text = "Gradient" ;
2018dcb2a10SAndre Fischer            };
2028dcb2a10SAndre Fischer        };
2038dcb2a10SAndre Fischer    };
2048dcb2a10SAndre Fischer    String STR_HELP_GRADIENT
2058dcb2a10SAndre Fischer    {
2068dcb2a10SAndre Fischer        Text [ en-US ] = "Specify the variation of gradient transparency." ;
2078dcb2a10SAndre Fischer    };
2088dcb2a10SAndre Fischer};
2098dcb2a10SAndre Fischer
2108dcb2a10SAndre FischerControl RID_POPUPPANEL_AREAPAGE_TRGR
2118dcb2a10SAndre Fischer{
2128dcb2a10SAndre Fischer    OutputSize = TRUE ;
2138dcb2a10SAndre Fischer    DialogControl = TRUE ;
2148dcb2a10SAndre Fischer    Border = FALSE ;
2158dcb2a10SAndre Fischer
2168dcb2a10SAndre Fischer//  Size = MAP_APPFONT ( POP_WIDTH, POP_HEIGHT ) ;
2178dcb2a10SAndre Fischer
2188dcb2a10SAndre Fischer    FixedText FT_TRGR_CENTER_X
2198dcb2a10SAndre Fischer    {
2208dcb2a10SAndre Fischer        Size = MAP_APPFONT ( CONTROL_WIDTH, FIXED_TEXT_HEIGHT ) ;
2218dcb2a10SAndre Fischer        Text [ en-US ] = "Center ~X:" ;
2228dcb2a10SAndre Fischer    };
2238dcb2a10SAndre Fischer    MetricField MTR_TRGR_CENTER_X
2248dcb2a10SAndre Fischer    {
2258dcb2a10SAndre Fischer        Border = TRUE ;
2268dcb2a10SAndre Fischer        Size = MAP_APPFONT ( CONTROL_WIDTH, MBOX_HEIGHT ) ;
2278dcb2a10SAndre Fischer        HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_CENTER_X ;
2288dcb2a10SAndre Fischer        QuickHelpText [ en-US ] = "Specify the horizontal offset percentage from the center for the gradient shading style. 50% is the horizontal center." ;
2298dcb2a10SAndre Fischer        TabStop = TRUE ;
2308dcb2a10SAndre Fischer        Repeat = TRUE ;
2318dcb2a10SAndre Fischer        Spin = TRUE ;
2328dcb2a10SAndre Fischer        Maximum = 100 ;
2338dcb2a10SAndre Fischer        StrictFormat = TRUE ;
2347ea7a1ccSTsutomu Uchino        Unit = FUNIT_PERCENT ;
2358dcb2a10SAndre Fischer        Last = 100 ;
2368dcb2a10SAndre Fischer        SpinSize = 5 ;
2378dcb2a10SAndre Fischer    };
2388dcb2a10SAndre Fischer    FixedText FT_TRGR_CENTER_Y
2398dcb2a10SAndre Fischer    {
2408dcb2a10SAndre Fischer        Size = MAP_APPFONT ( CONTROL_WIDTH + POPUPPANEL_MARGIN_HORIZONTAL, FIXED_TEXT_HEIGHT ) ; // wj
2418dcb2a10SAndre Fischer        Text [ en-US ] = "Center ~Y:" ;
2428dcb2a10SAndre Fischer    };
2438dcb2a10SAndre Fischer    MetricField MTR_TRGR_CENTER_Y
2448dcb2a10SAndre Fischer    {
2458dcb2a10SAndre Fischer        Border = TRUE ;
2468dcb2a10SAndre Fischer        Size = MAP_APPFONT ( CONTROL_WIDTH, MBOX_HEIGHT ) ;
2478dcb2a10SAndre Fischer        HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_CENTER_Y ;
2488dcb2a10SAndre Fischer        QuickHelpText [ en-US ] = "Specify the vertical offset percentage from the center for the gradient shading style. 50% is the vertical center." ;
2498dcb2a10SAndre Fischer        TabStop = TRUE ;
2508dcb2a10SAndre Fischer        Repeat = TRUE ;
2518dcb2a10SAndre Fischer        Spin = TRUE ;
2528dcb2a10SAndre Fischer        Maximum = 100 ;
2538dcb2a10SAndre Fischer        StrictFormat = TRUE ;
2547ea7a1ccSTsutomu Uchino        Unit = FUNIT_PERCENT ;
2558dcb2a10SAndre Fischer        Last = 100 ;
2568dcb2a10SAndre Fischer        SpinSize = 5 ;
2578dcb2a10SAndre Fischer    };
2588dcb2a10SAndre Fischer    FixedText FT_TRGR_ANGLE
2598dcb2a10SAndre Fischer    {
2608dcb2a10SAndre Fischer        Size = MAP_APPFONT ( CONTROL_WIDTH * 2 + POPUPPANEL_MARGIN_HORIZONTAL + CONTROL_SPACING_HORIZONTAL, FIXED_TEXT_HEIGHT ) ; // wj
2618dcb2a10SAndre Fischer        Text [ en-US ] = "~Angle:" ;
2628dcb2a10SAndre Fischer    };
2638dcb2a10SAndre Fischer    MetricField MTR_TRGR_ANGLE
2648dcb2a10SAndre Fischer    {
2658dcb2a10SAndre Fischer        Border = TRUE ;
2668dcb2a10SAndre Fischer        Size = MAP_APPFONT ( CONTROL_WIDTH, MBOX_HEIGHT ) ;
2678dcb2a10SAndre Fischer        HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_ANGLE ;
2688dcb2a10SAndre Fischer        QuickHelpText [ en-US ] = "Specify the angle of rotation for the gradient shading style." ;
2698dcb2a10SAndre Fischer        TabStop = FALSE ;
2708dcb2a10SAndre Fischer        Repeat = TRUE ;
2718dcb2a10SAndre Fischer        Spin = TRUE ;
2728dcb2a10SAndre Fischer        Minimum = -9999 ;
2738dcb2a10SAndre Fischer        Maximum = 9999 ;
2748dcb2a10SAndre Fischer        Unit = FUNIT_CUSTOM ;
2758dcb2a10SAndre Fischer        SpinSize = 1 ;
2768dcb2a10SAndre Fischer        CustomUnitText [ en-US ] = " degrees" ;
2778dcb2a10SAndre Fischer    };
2788dcb2a10SAndre Fischer    FixedText FT_TRGR_START_VALUE
2798dcb2a10SAndre Fischer    {
2808dcb2a10SAndre Fischer        Size = MAP_APPFONT ( CONTROL_WIDTH, FIXED_TEXT_HEIGHT ) ;
2818dcb2a10SAndre Fischer        Text [ en-US ] = "~Start value:" ;
2828dcb2a10SAndre Fischer    };
2838dcb2a10SAndre Fischer    MetricField MTR_TRGR_START_VALUE
2848dcb2a10SAndre Fischer    {
2858dcb2a10SAndre Fischer        Border = TRUE ;
2868dcb2a10SAndre Fischer        Size = MAP_APPFONT ( CONTROL_WIDTH, MBOX_HEIGHT ) ;
2878dcb2a10SAndre Fischer        HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_SVALUE ;
2888dcb2a10SAndre Fischer        QuickHelpText [ en-US ] = "Enter a transparency value for the beginning point of the gradient, where 0% is fully opaque and 100% is fully transparent." ;
2898dcb2a10SAndre Fischer        TabStop = TRUE ;
2908dcb2a10SAndre Fischer        Repeat = TRUE ;
2918dcb2a10SAndre Fischer        Spin = TRUE ;
2928dcb2a10SAndre Fischer        Maximum = 100 ;
2938dcb2a10SAndre Fischer        StrictFormat = TRUE ;
2947ea7a1ccSTsutomu Uchino        Unit = FUNIT_PERCENT ;
2958dcb2a10SAndre Fischer        Last = 100 ;
2968dcb2a10SAndre Fischer        SpinSize = 5 ;
2978dcb2a10SAndre Fischer    };
2988dcb2a10SAndre Fischer    FixedText FT_TRGR_END_VALUE
2998dcb2a10SAndre Fischer    {
3008dcb2a10SAndre Fischer        Size = MAP_APPFONT ( CONTROL_WIDTH + POPUPPANEL_MARGIN_HORIZONTAL, FIXED_TEXT_HEIGHT ) ; //wj
3018dcb2a10SAndre Fischer        Text [ en-US ] = "~End value:" ;
3028dcb2a10SAndre Fischer    };
3038dcb2a10SAndre Fischer    MetricField MTR_TRGR_END_VALUE
3048dcb2a10SAndre Fischer    {
3058dcb2a10SAndre Fischer        Border = TRUE ;
3068dcb2a10SAndre Fischer        Size = MAP_APPFONT ( CONTROL_WIDTH, MBOX_HEIGHT ) ;
3078dcb2a10SAndre Fischer        HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_EVALUE ;
3088dcb2a10SAndre Fischer        QuickHelpText [ en-US ] = "Enter a transparency value for the endpoint of the gradient, where 0% is fully opaque and 100% is fully transparent." ;
3098dcb2a10SAndre Fischer        TabStop = TRUE ;
3108dcb2a10SAndre Fischer        Repeat = TRUE ;
3118dcb2a10SAndre Fischer        Spin = TRUE ;
3128dcb2a10SAndre Fischer        Maximum = 100 ;
3138dcb2a10SAndre Fischer        StrictFormat = TRUE ;
3147ea7a1ccSTsutomu Uchino        Unit = FUNIT_PERCENT ;
3158dcb2a10SAndre Fischer        Last = 100 ;
3168dcb2a10SAndre Fischer        SpinSize = 5 ;
3178dcb2a10SAndre Fischer    };
3188dcb2a10SAndre Fischer    FixedText FT_TRGR_BORDER
3198dcb2a10SAndre Fischer    {
32072c96935Smseidel        Size = MAP_APPFONT ( CONTROL_WIDTH * 2 + POPUPPANEL_MARGIN_HORIZONTAL + CONTROL_SPACING_HORIZONTAL, FIXED_TEXT_HEIGHT ) ;
3218dcb2a10SAndre Fischer        Text [ en-US ] = "~Border:" ;
3228dcb2a10SAndre Fischer    };
3238dcb2a10SAndre Fischer    MetricField MTR_TRGR_BORDER
3248dcb2a10SAndre Fischer    {
3258dcb2a10SAndre Fischer        Border = TRUE ;
3268dcb2a10SAndre Fischer        Size = MAP_APPFONT ( CONTROL_WIDTH, MBOX_HEIGHT ) ;
3278dcb2a10SAndre Fischer        HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_BORDER ;
3283ec054f2SJürgen Schmidt        QuickHelpText [ en-US ] = "Specify the border value of gradient transparency." ;
3298dcb2a10SAndre Fischer        TabStop = TRUE ;
3308dcb2a10SAndre Fischer        Repeat = TRUE ;
3318dcb2a10SAndre Fischer        Spin = TRUE ;
3328dcb2a10SAndre Fischer        Maximum = 100 ;
3338dcb2a10SAndre Fischer        StrictFormat = TRUE ;
3347ea7a1ccSTsutomu Uchino        Unit = FUNIT_PERCENT ;
3358dcb2a10SAndre Fischer        Last = 100 ;
3368dcb2a10SAndre Fischer        SpinSize = 5 ;
3378dcb2a10SAndre Fischer    };
3388dcb2a10SAndre Fischer    //=====================================================================================================================================
3398dcb2a10SAndre Fischer
3408dcb2a10SAndre Fischer    ToolBox BTN_LEFT_SECOND
3418dcb2a10SAndre Fischer    {
3428dcb2a10SAndre Fischer        Border = FALSE ;
3438dcb2a10SAndre Fischer        HelpID = HID_PPROPERTYPANEL_AREA_BTN_LEFT_SECOND ;
3448dcb2a10SAndre Fischer        SVLook = TRUE ;
3458dcb2a10SAndre Fischer        Border = FALSE ;
3468dcb2a10SAndre Fischer        TabStop = TRUE ;
3478dcb2a10SAndre Fischer        Text = "Rotate Left" ;
3488dcb2a10SAndre Fischer        ItemList =
3498dcb2a10SAndre Fischer        {
3508dcb2a10SAndre Fischer            ToolBoxItem
3518dcb2a10SAndre Fischer            {
3528dcb2a10SAndre Fischer                Identifier = TBI_LEFT ;
3538dcb2a10SAndre Fischer                Text = "Rotate Left" ;
3548dcb2a10SAndre Fischer                ItemBitmap = Bitmap
3558dcb2a10SAndre Fischer                {
356*38b885b7SMatthias Seidel        //          File = "sidebar/rotate_left.png" ;
3578dcb2a10SAndre Fischer                };
3588dcb2a10SAndre Fischer            };
3598dcb2a10SAndre Fischer        };
3608dcb2a10SAndre Fischer    };
3618dcb2a10SAndre Fischer    ToolBox BTN_RIGHT_FIRST
3628dcb2a10SAndre Fischer    {
3638dcb2a10SAndre Fischer        Border = FALSE ;
3648dcb2a10SAndre Fischer        HelpID = HID_PPROPERTYPANEL_AREA_BTN_RIGHT_FIRST ;
3658dcb2a10SAndre Fischer        SVLook = TRUE ;
3668dcb2a10SAndre Fischer        Border = FALSE ;
3678dcb2a10SAndre Fischer        TabStop = TRUE ;
3688dcb2a10SAndre Fischer        Text = "Rotate Right" ;
3698dcb2a10SAndre Fischer        ItemList =
3708dcb2a10SAndre Fischer        {
3718dcb2a10SAndre Fischer            ToolBoxItem
3728dcb2a10SAndre Fischer            {
3738dcb2a10SAndre Fischer                Identifier = TBI_RIGHT ;
3748dcb2a10SAndre Fischer                Text = "Rotate Right" ;
3758dcb2a10SAndre Fischer                ItemBitmap = Bitmap
3768dcb2a10SAndre Fischer                {
377*38b885b7SMatthias Seidel        //          File = "sidebar/rotate_right.png" ;
3788dcb2a10SAndre Fischer                };
3798dcb2a10SAndre Fischer            };
3808dcb2a10SAndre Fischer        };
3818dcb2a10SAndre Fischer    };
3828dcb2a10SAndre Fischer    String STR_HELP_LEFT
3838dcb2a10SAndre Fischer    {
3848dcb2a10SAndre Fischer        Text [ en-US ] = "Rotate counterclockwise by 45 degrees." ;
3858dcb2a10SAndre Fischer    };
3868dcb2a10SAndre Fischer    String STR_HELP_RIGHT
3878dcb2a10SAndre Fischer    {
3888dcb2a10SAndre Fischer        Text [ en-US ] = "Rotate clockwise by 45 degrees." ;
3898dcb2a10SAndre Fischer    };
3908dcb2a10SAndre Fischer    Image IMG_ROT_LEFT
3918dcb2a10SAndre Fischer    {
392*38b885b7SMatthias Seidel        ImageBitmap = Bitmap {File = "sidebar/rotate_left.png" ;} ;
3938dcb2a10SAndre Fischer    };
3948dcb2a10SAndre Fischer    Image IMG_ROT_RIGHT
3958dcb2a10SAndre Fischer    {
396*38b885b7SMatthias Seidel        ImageBitmap = Bitmap {File = "sidebar/rotate_right.png" ;} ;
3978dcb2a10SAndre Fischer    };
3988dcb2a10SAndre Fischer};
3998dcb2a10SAndre FischerControl RID_POPUPPANEL_AERAPAGE_COLOR
4008dcb2a10SAndre Fischer{
4018dcb2a10SAndre Fischer    OutputSize = TRUE ;
4028dcb2a10SAndre Fischer    DialogControl = TRUE ;
4038dcb2a10SAndre Fischer    Border = FALSE ;
4048dcb2a10SAndre Fischer    Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH, POPUP_COLOR_PICKER_HEIGHT ) ;
4058dcb2a10SAndre Fischer
4068dcb2a10SAndre Fischer    Control VS_COLOR
4078dcb2a10SAndre Fischer    {
4088dcb2a10SAndre Fischer        HelpID = HID_PPROPERTYPANEL_AREA_COLOR_VS ;
4098dcb2a10SAndre Fischer        Hide = TRUE ;
4108dcb2a10SAndre Fischer        Pos = MAP_APPFONT ( OFFSET_X, OFFSET_Y ) ;
4118dcb2a10SAndre Fischer        Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2 ) ;
4128dcb2a10SAndre Fischer        TabStop = TRUE ;
4138dcb2a10SAndre Fischer        Text = "Color" ;
4148dcb2a10SAndre Fischer    };
4158dcb2a10SAndre Fischer};
4168dcb2a10SAndre Fischer
41772c96935Smseidel// ********************************************************************** EOF
418