166c1fc23SArmin Le Grand/**************************************************************
266c1fc23SArmin Le Grand *
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
1066c1fc23SArmin Le Grand *
1166c1fc23SArmin Le Grand *   http://www.apache.org/licenses/LICENSE-2.0
1266c1fc23SArmin Le Grand *
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.
1966c1fc23SArmin Le Grand *
2066c1fc23SArmin Le Grand *************************************************************/
2166c1fc23SArmin Le Grand
2202c50d82SAndre Fischer#include "AreaPropertyPanel.hrc"
23*d29c2fc2SAndre Fischer#include <sfx2/sidebar/ResourceDefinitions.hrc>
2466c1fc23SArmin Le Grand#include <svx/dialogs.hrc>
2566c1fc23SArmin Le Grand#include "helpid.hrc"
2666c1fc23SArmin Le Grand
2766c1fc23SArmin Le Grand#define TOOLBOX_WIDTH		50
2866c1fc23SArmin Le Grand#define TOOLBOX_HEIGHT		17
2966c1fc23SArmin Le Grand
3066c1fc23SArmin Le GrandControl RID_SIDEBAR_AREA_PANEL
3166c1fc23SArmin Le Grand{
3266c1fc23SArmin Le Grand	OutputSize = TRUE;
3366c1fc23SArmin Le Grand	DialogControl = TRUE;
3466c1fc23SArmin Le Grand	Border = FALSE;
3566c1fc23SArmin Le Grand	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 ;
3766c1fc23SArmin Le Grand	Text [ en-US ] = "Area";
3866c1fc23SArmin Le Grand
3966c1fc23SArmin Le Grand	FixedText FT_COLOR_LIST
4066c1fc23SArmin Le Grand	{
4166c1fc23SArmin Le Grand		Pos		= MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP  ) ;
4266c1fc23SArmin Le Grand        Size    = MAP_APPFONT ( FIXED_TEXT_WIDTH + 50, FIXED_TEXT_HEIGHT ) ;
4366c1fc23SArmin Le Grand		Text [ en-US ] = "~Fill:";
4466c1fc23SArmin Le Grand	};
4566c1fc23SArmin Le Grand	FixedText FL_TRSP_TEXT
4666c1fc23SArmin Le Grand	{
4766c1fc23SArmin Le Grand		Pos  	= MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP + FIXED_TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL ) ;
4866c1fc23SArmin Le Grand        Size    = MAP_APPFONT ( FIXED_TEXT_WIDTH + 50, FIXED_TEXT_HEIGHT ) ;
4966c1fc23SArmin Le Grand		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 ;
5566c1fc23SArmin Le Grand		Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + MBOX_WIDTH + CONTROL_SPACING_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + FIXED_TEXT_HEIGHT + 1) ;
5666c1fc23SArmin Le Grand		Size = MAP_APPFONT (TOOLBOX_WIDTH ,TOOLBOX_HEIGHT ) ;
5766c1fc23SArmin Le Grand		TabStop = TRUE ;
5866c1fc23SArmin Le Grand		Text = "Color";
5966c1fc23SArmin Le Grand		ItemList =
6066c1fc23SArmin Le Grand		{
6166c1fc23SArmin Le Grand			ToolBoxItem
6266c1fc23SArmin Le Grand			{
6366c1fc23SArmin Le Grand				Identifier = TBI_COLOR ;
6466c1fc23SArmin Le Grand				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	{
7666c1fc23SArmin Le Grand		Text [en-US] = "Select the fill type to apply.";
7766c1fc23SArmin Le Grand	};
7866c1fc23SArmin Le Grand	String STR_HELP_ATTR
7966c1fc23SArmin Le Grand	{
8066c1fc23SArmin Le Grand		Text [en-US] = "Select the effect to apply.";
8166c1fc23SArmin Le Grand	};
8266c1fc23SArmin Le Grand	Image IMG_AXIAL
8366c1fc23SArmin Le Grand	{
84e6c5eacbSArmin Le Grand	    ImageBitmap = Bitmap{File = "symphony/axial.png";};
8566c1fc23SArmin Le Grand	};
8666c1fc23SArmin Le Grand	Image IMG_ELLI
8766c1fc23SArmin Le Grand	{
88e6c5eacbSArmin Le Grand	    ImageBitmap = Bitmap{File = "symphony/ellipsoid.png";};
8966c1fc23SArmin Le Grand	};
9066c1fc23SArmin Le Grand	Image IMG_QUAD
9166c1fc23SArmin Le Grand	{
92e6c5eacbSArmin Le Grand	    ImageBitmap = Bitmap{File = "symphony/Quadratic.png";};
9366c1fc23SArmin Le Grand	};
9466c1fc23SArmin Le Grand	Image IMG_RADIAL
9566c1fc23SArmin Le Grand	{
96e6c5eacbSArmin Le Grand	    ImageBitmap = Bitmap{File = "symphony/radial.png";};
9766c1fc23SArmin Le Grand	};
9866c1fc23SArmin Le Grand	Image IMG_SQUARE
9966c1fc23SArmin Le Grand	{
100e6c5eacbSArmin Le Grand	    ImageBitmap = Bitmap{File = "symphony/Square.png";};
10166c1fc23SArmin Le Grand	};
10266c1fc23SArmin Le Grand	Image IMG_LINEAR
10366c1fc23SArmin Le Grand	{
104e6c5eacbSArmin Le Grand	    ImageBitmap = Bitmap{File = "symphony/linear.png";};
10566c1fc23SArmin Le Grand	};
10666c1fc23SArmin Le Grand	Image IMG_COLOR
10766c1fc23SArmin Le Grand	{
108e6c5eacbSArmin Le Grand	    ImageBitmap = Bitmap{File = "symphony/fill_color.png";};
10966c1fc23SArmin Le Grand	};
11066c1fc23SArmin Le Grand
11166c1fc23SArmin Le Grand	//high contract
11266c1fc23SArmin Le Grand	Image IMG_AXIAL_H
11366c1fc23SArmin Le Grand	{
114e6c5eacbSArmin Le Grand	    ImageBitmap = Bitmap{File = "symphony/axial_h.png";};
11566c1fc23SArmin Le Grand	};
11666c1fc23SArmin Le Grand	Image IMG_ELLI_H
11766c1fc23SArmin Le Grand	{
118e6c5eacbSArmin Le Grand	    ImageBitmap = Bitmap{File = "symphony/ellipsoid_h.png";};
11966c1fc23SArmin Le Grand	};
12066c1fc23SArmin Le Grand	Image IMG_QUAD_H
12166c1fc23SArmin Le Grand	{
122e6c5eacbSArmin Le Grand	    ImageBitmap = Bitmap{File = "symphony/Quadratic_h.png";};
12366c1fc23SArmin Le Grand	};
12466c1fc23SArmin Le Grand	Image IMG_RADIAL_H
12566c1fc23SArmin Le Grand	{
126e6c5eacbSArmin Le Grand	    ImageBitmap = Bitmap{File = "symphony/radial_h.png";};
12766c1fc23SArmin Le Grand	};
12866c1fc23SArmin Le Grand	Image IMG_SQUARE_H
12966c1fc23SArmin Le Grand	{
130e6c5eacbSArmin Le Grand	    ImageBitmap = Bitmap{File = "symphony/Square_h.png";};
13166c1fc23SArmin Le Grand	};
13266c1fc23SArmin Le Grand	Image IMG_LINEAR_H
13366c1fc23SArmin Le Grand	{
134e6c5eacbSArmin Le Grand	    ImageBitmap = Bitmap{File = "symphony/linear_h.png";};
13566c1fc23SArmin Le Grand	};
13666c1fc23SArmin Le Grand	Image IMG_COLOR_H
13766c1fc23SArmin Le Grand	{
138e6c5eacbSArmin Le Grand	    ImageBitmap = Bitmap{File = "symphony/fill_color_h.png";};
13966c1fc23SArmin Le Grand	};
14066c1fc23SArmin Le Grand
14166c1fc23SArmin Le Grand	//=====================================================================================================================================
14266c1fc23SArmin Le Grand	ListBox LB_TRGR_TYPES
14366c1fc23SArmin Le Grand	{
14466c1fc23SArmin Le Grand		Border = TRUE ;
14566c1fc23SArmin Le Grand        Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP + 2*(FIXED_TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL ) ;
14666c1fc23SArmin Le Grand        Size = MAP_APPFONT ( MBOX_WIDTH , LISTBOX_HEIGHT ) ;
14766c1fc23SArmin Le Grand        QuickHelpText [ en-US ] = "Select the type of transparence to apply." ;
14866c1fc23SArmin Le Grand		TabStop = TRUE ;
14966c1fc23SArmin Le Grand		DropDown = TRUE ;
15066c1fc23SArmin Le Grand		HelpID = HID_PPROPERTYPANEL_AREA_LB_TRGR_TYPES ;
15166c1fc23SArmin Le Grand        StringList [ en-US ] =
15266c1fc23SArmin Le Grand        {
15366c1fc23SArmin Le Grand			< "None" ; Default ; > ;
15466c1fc23SArmin Le Grand			< "Solid" ; Default ; > ;
15566c1fc23SArmin Le Grand			< "Linear" ; Default ; > ;
15666c1fc23SArmin Le Grand            < "Axial" ; Default ; > ;
15766c1fc23SArmin Le Grand            < "Radial" ; Default ; > ;
15866c1fc23SArmin Le Grand            < "Ellipsoid" ; Default ; > ;
15966c1fc23SArmin Le Grand            < "Quadratic" ; Default ; > ;
16066c1fc23SArmin Le Grand            < "Square" ; Default ; > ;
16166c1fc23SArmin Le Grand        };
16266c1fc23SArmin Le Grand	};
16366c1fc23SArmin Le Grand
16466c1fc23SArmin Le Grand	MetricField MTR_TRANSPARENT
16566c1fc23SArmin Le Grand	{
16666c1fc23SArmin Le Grand		Border = TRUE ;
16766c1fc23SArmin Le Grand        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 ) ;
16866c1fc23SArmin Le Grand        Size = MAP_APPFONT ( MBOX_WIDTH + 1 ,MBOX_HEIGHT ) ;
16966c1fc23SArmin Le Grand        HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRANSPARENT ;
17066c1fc23SArmin Le Grand        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 ;
17666c1fc23SArmin Le Grand		Unit = FUNIT_CUSTOM ;
17766c1fc23SArmin Le Grand        CustomUnitText = "%" ;
17866c1fc23SArmin Le Grand		Last = 100 ;
17966c1fc23SArmin Le Grand		SpinSize = 5 ;
18066c1fc23SArmin Le Grand	};
18166c1fc23SArmin Le Grand
18266c1fc23SArmin Le Grand	ToolBox BTN_GRADIENT
18366c1fc23SArmin Le Grand	{
18466c1fc23SArmin Le Grand		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 ) ;
18566c1fc23SArmin Le Grand		HelpID = HID_PPROPERTYPANEL_AREA_TBX_GRADIENT ;
18666c1fc23SArmin Le Grand		SVLook = TRUE ;
18766c1fc23SArmin Le Grand		Border = FALSE ;
18866c1fc23SArmin Le Grand		TabStop = TRUE ;
18966c1fc23SArmin Le Grand		Text = "Gradient";
19066c1fc23SArmin Le Grand		ItemList =
19166c1fc23SArmin Le Grand		{
19266c1fc23SArmin Le Grand			ToolBoxItem
19366c1fc23SArmin Le Grand			{
19466c1fc23SArmin Le Grand				Identifier = TBI_BTX_GRADIENT ;
19566c1fc23SArmin Le Grand				HelpID = HID_PPROPERTYPANEL_AREA_TBI_GRADIENT ;
19666c1fc23SArmin Le Grand				ItemBitmap = Bitmap
19766c1fc23SArmin Le Grand				{
198e6c5eacbSArmin Le Grand					File = "symphony/linear.png" ;
19966c1fc23SArmin Le Grand				};
20066c1fc23SArmin Le Grand				DropDown = TRUE;
20166c1fc23SArmin Le Grand				Text = "Gradient" ;
20266c1fc23SArmin Le Grand			};
20366c1fc23SArmin Le Grand		};
20466c1fc23SArmin Le Grand	};
20566c1fc23SArmin Le Grand	String STR_HELP_GRADIENT
20666c1fc23SArmin Le Grand	{
20766c1fc23SArmin Le Grand		Text [ en-US ] = "Specify the variation of gradient transparency." ;
20866c1fc23SArmin Le Grand	};
20966c1fc23SArmin Le Grand};
21066c1fc23SArmin Le Grand
21166c1fc23SArmin Le GrandControl RID_POPUPPANEL_AREAPAGE_TRGR
21266c1fc23SArmin Le Grand{
21366c1fc23SArmin Le Grand	OutputSize = TRUE;
21466c1fc23SArmin Le Grand	DialogControl = TRUE;
21566c1fc23SArmin Le Grand	Border = FALSE;
21666c1fc23SArmin Le Grand
21766c1fc23SArmin Le Grand//	Size = MAP_APPFONT( POP_WIDTH, POP_HEIGHT );
21866c1fc23SArmin Le Grand
21966c1fc23SArmin Le Grand	FixedText FT_TRGR_CENTER_X
22066c1fc23SArmin Le Grand	{
22166c1fc23SArmin Le Grand        Size = MAP_APPFONT ( CONTROL_WIDTH , FIXED_TEXT_HEIGHT ) ;
22266c1fc23SArmin Le Grand		Text [ en-US ] = "Center ~X:";
22366c1fc23SArmin Le Grand	};
22466c1fc23SArmin Le Grand	MetricField MTR_TRGR_CENTER_X
22566c1fc23SArmin Le Grand	{
22666c1fc23SArmin Le Grand		Border = TRUE ;
22766c1fc23SArmin Le Grand        Size = MAP_APPFONT ( CONTROL_WIDTH , MBOX_HEIGHT ) ;
22866c1fc23SArmin Le Grand        HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_CENTER_X ;
22966c1fc23SArmin Le Grand        QuickHelpText [ en-US ] = "Specify the horizontal offset percentage from the center for the gradient shading style. 50% is the horizontal center." ;
23066c1fc23SArmin Le Grand		TabStop = TRUE ;
23166c1fc23SArmin Le Grand		Repeat = TRUE ;
23266c1fc23SArmin Le Grand		Spin = TRUE ;
23366c1fc23SArmin Le Grand		Maximum = 100 ;
23466c1fc23SArmin Le Grand		StrictFormat = TRUE ;
23566c1fc23SArmin Le Grand		Unit = FUNIT_CUSTOM ;
23666c1fc23SArmin Le Grand        CustomUnitText = "%" ;
23766c1fc23SArmin Le Grand		Last = 100 ;
23866c1fc23SArmin Le Grand		SpinSize = 5 ;
23966c1fc23SArmin Le Grand	};
24066c1fc23SArmin Le Grand	FixedText FT_TRGR_CENTER_Y
24166c1fc23SArmin Le Grand	{
24266c1fc23SArmin Le Grand        Size = MAP_APPFONT ( CONTROL_WIDTH + POPUPPANEL_MARGIN_HORIZONTAL, FIXED_TEXT_HEIGHT ) ;//wj
24366c1fc23SArmin Le Grand		Text [ en-US ] = "Center ~Y:";
24466c1fc23SArmin Le Grand	};
24566c1fc23SArmin Le Grand	MetricField MTR_TRGR_CENTER_Y
24666c1fc23SArmin Le Grand	{
24766c1fc23SArmin Le Grand		Border = TRUE ;
24866c1fc23SArmin Le Grand        Size = MAP_APPFONT ( CONTROL_WIDTH , MBOX_HEIGHT ) ;
24966c1fc23SArmin Le Grand        HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_CENTER_Y ;
25066c1fc23SArmin Le Grand        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 ;
25666c1fc23SArmin Le Grand		Unit = FUNIT_CUSTOM ;
25766c1fc23SArmin Le Grand        CustomUnitText = "%" ;
25866c1fc23SArmin Le Grand		Last = 100 ;
25966c1fc23SArmin Le Grand		SpinSize = 5 ;
26066c1fc23SArmin Le Grand	};
26166c1fc23SArmin Le Grand	FixedText FT_TRGR_ANGLE
26266c1fc23SArmin Le Grand	{
26366c1fc23SArmin Le Grand        Size = MAP_APPFONT ( CONTROL_WIDTH * 2 + POPUPPANEL_MARGIN_HORIZONTAL + CONTROL_SPACING_HORIZONTAL, FIXED_TEXT_HEIGHT ) ;//wj
26466c1fc23SArmin Le Grand		Text [ en-US ] = "~Angle:";
26566c1fc23SArmin Le Grand	};
26666c1fc23SArmin Le Grand	MetricField MTR_TRGR_ANGLE
26766c1fc23SArmin Le Grand	{
26866c1fc23SArmin Le Grand		Border = TRUE ;
26966c1fc23SArmin Le Grand        Size = MAP_APPFONT ( CONTROL_WIDTH , MBOX_HEIGHT ) ;
27066c1fc23SArmin Le Grand        HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_ANGLE ;
27166c1fc23SArmin Le Grand        QuickHelpText [ en-US ] = "Specify the angle of rotation for the gradient shading style." ;
27266c1fc23SArmin Le Grand		TabStop = FALSE ;
27366c1fc23SArmin Le Grand		Repeat = TRUE ;
27466c1fc23SArmin Le Grand		Spin = TRUE ;
27566c1fc23SArmin Le Grand		Minimum = -9999 ;
27666c1fc23SArmin Le Grand		Maximum = 9999 ;
27766c1fc23SArmin Le Grand		Unit = FUNIT_CUSTOM ;
27866c1fc23SArmin Le Grand		SpinSize = 1 ;
27966c1fc23SArmin Le Grand		CustomUnitText [ en-US ] = " degrees";
28066c1fc23SArmin Le Grand	};
28166c1fc23SArmin Le Grand	FixedText FT_TRGR_START_VALUE
28266c1fc23SArmin Le Grand	{
28366c1fc23SArmin Le Grand        Size = MAP_APPFONT ( CONTROL_WIDTH , FIXED_TEXT_HEIGHT ) ;
28466c1fc23SArmin Le Grand        Text [ en-US ] = "~Start value:";
28566c1fc23SArmin Le Grand	};
28666c1fc23SArmin Le Grand	MetricField MTR_TRGR_START_VALUE
28766c1fc23SArmin Le Grand	{
28866c1fc23SArmin Le Grand		Border = TRUE ;
28966c1fc23SArmin Le Grand        Size = MAP_APPFONT ( CONTROL_WIDTH , MBOX_HEIGHT ) ;
29066c1fc23SArmin Le Grand        HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_SVALUE ;
29166c1fc23SArmin Le Grand        QuickHelpText [ en-US ] = "Enter a transparency value for the beginning point of the gradient, where 0% is fully opaque and 100% is fully transparent." ;
29266c1fc23SArmin Le Grand		TabStop = TRUE ;
29366c1fc23SArmin Le Grand		Repeat = TRUE ;
29466c1fc23SArmin Le Grand		Spin = TRUE ;
29566c1fc23SArmin Le Grand		Maximum = 100 ;
29666c1fc23SArmin Le Grand		StrictFormat = TRUE ;
29766c1fc23SArmin Le Grand		Unit = FUNIT_CUSTOM ;
29866c1fc23SArmin Le Grand        CustomUnitText = "%" ;
29966c1fc23SArmin Le Grand		Last = 100 ;
30066c1fc23SArmin Le Grand		SpinSize = 5 ;
30166c1fc23SArmin Le Grand	};
30266c1fc23SArmin Le Grand	FixedText FT_TRGR_END_VALUE
30366c1fc23SArmin Le Grand	{
30466c1fc23SArmin Le Grand        Size = MAP_APPFONT (CONTROL_WIDTH + POPUPPANEL_MARGIN_HORIZONTAL, FIXED_TEXT_HEIGHT ) ; //wj
30566c1fc23SArmin Le Grand		Text [ en-US ] = "~End value:";
30666c1fc23SArmin Le Grand	};
30766c1fc23SArmin Le Grand	MetricField MTR_TRGR_END_VALUE
30866c1fc23SArmin Le Grand	{
30966c1fc23SArmin Le Grand		Border = TRUE ;
31066c1fc23SArmin Le Grand        Size = MAP_APPFONT ( CONTROL_WIDTH , MBOX_HEIGHT ) ;
31166c1fc23SArmin Le Grand        HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_EVALUE ;
31266c1fc23SArmin Le Grand        QuickHelpText [ en-US ] = "Enter a transparency value for the endpoint of the gradient, where 0% is fully opaque and 100% is fully transparent." ;
31366c1fc23SArmin Le Grand		TabStop = TRUE ;
31466c1fc23SArmin Le Grand		Repeat = TRUE ;
31566c1fc23SArmin Le Grand		Spin = TRUE ;
31666c1fc23SArmin Le Grand		Maximum = 100 ;
31766c1fc23SArmin Le Grand		StrictFormat = TRUE ;
31866c1fc23SArmin Le Grand		Unit = FUNIT_CUSTOM ;
31966c1fc23SArmin Le Grand        CustomUnitText = "%" ;
32066c1fc23SArmin Le Grand		Last = 100 ;
32166c1fc23SArmin Le Grand		SpinSize = 5 ;
32266c1fc23SArmin Le Grand	};
32366c1fc23SArmin Le Grand	FixedText FT_TRGR_BORDER
32466c1fc23SArmin Le Grand	{
32566c1fc23SArmin Le Grand        Size = MAP_APPFONT (  CONTROL_WIDTH * 2 + POPUPPANEL_MARGIN_HORIZONTAL + CONTROL_SPACING_HORIZONTAL, FIXED_TEXT_HEIGHT ) ; //
32666c1fc23SArmin Le Grand		Text [ en-US ] = "~Border:";
32766c1fc23SArmin Le Grand	};
32866c1fc23SArmin Le Grand	MetricField MTR_TRGR_BORDER
32966c1fc23SArmin Le Grand	{
33066c1fc23SArmin Le Grand		Border = TRUE ;
33166c1fc23SArmin Le Grand        Size = MAP_APPFONT ( CONTROL_WIDTH , MBOX_HEIGHT ) ;
33266c1fc23SArmin Le Grand        HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_BORDER ;
33366c1fc23SArmin Le Grand        QuickHelpText [ en-US ] = "Specify the border value of gradient transparence." ;
33466c1fc23SArmin Le Grand		TabStop = TRUE ;
33566c1fc23SArmin Le Grand		Repeat = TRUE ;
33666c1fc23SArmin Le Grand		Spin = TRUE ;
33766c1fc23SArmin Le Grand		Maximum = 100 ;
33866c1fc23SArmin Le Grand		StrictFormat = TRUE ;
33966c1fc23SArmin Le Grand		Unit = FUNIT_CUSTOM ;
34066c1fc23SArmin Le Grand		CustomUnitText = "%" ;
34166c1fc23SArmin Le Grand		Last = 100 ;
34266c1fc23SArmin Le Grand		SpinSize = 5 ;
34366c1fc23SArmin Le Grand	};
34466c1fc23SArmin Le Grand	//=====================================================================================================================================
34566c1fc23SArmin Le Grand
34666c1fc23SArmin Le Grand	ToolBox BTN_LEFT_SECOND
34766c1fc23SArmin Le Grand	{
34866c1fc23SArmin Le Grand	    Border = FALSE ;
34966c1fc23SArmin Le Grand		HelpID = HID_PPROPERTYPANEL_AREA_BTN_LEFT_SECOND ;
35066c1fc23SArmin Le Grand		SVLook = TRUE ;
35166c1fc23SArmin Le Grand		Border = FALSE ;
35266c1fc23SArmin Le Grand		TabStop = TRUE ;
35366c1fc23SArmin Le Grand		Text = "Rotate Left";
35466c1fc23SArmin Le Grand		ItemList =
35566c1fc23SArmin Le Grand		{
35666c1fc23SArmin Le Grand			ToolBoxItem
35766c1fc23SArmin Le Grand			{
35866c1fc23SArmin Le Grand				Identifier = TBI_LEFT ;
35966c1fc23SArmin Le Grand				Text = "Rotate Left" ;
36066c1fc23SArmin Le Grand				ItemBitmap = Bitmap
36166c1fc23SArmin Le Grand				{
362e6c5eacbSArmin Le Grand		//			File = "symphony/rotate_left.png" ;
36366c1fc23SArmin Le Grand				};
36466c1fc23SArmin Le Grand			};
36566c1fc23SArmin Le Grand		};
36666c1fc23SArmin Le Grand	};
36766c1fc23SArmin Le Grand	ToolBox BTN_RIGHT_FIRST
36866c1fc23SArmin Le Grand	{
36966c1fc23SArmin Le Grand	    Border = FALSE ;
37066c1fc23SArmin Le Grand		HelpID = HID_PPROPERTYPANEL_AREA_BTN_RIGHT_FIRST ;
37166c1fc23SArmin Le Grand		SVLook = TRUE ;
37266c1fc23SArmin Le Grand		Border = FALSE ;
37366c1fc23SArmin Le Grand		TabStop = TRUE ;
37466c1fc23SArmin Le Grand		Text = "Rotate Right";
37566c1fc23SArmin Le Grand		ItemList =
37666c1fc23SArmin Le Grand		{
37766c1fc23SArmin Le Grand			ToolBoxItem
37866c1fc23SArmin Le Grand			{
37966c1fc23SArmin Le Grand				Identifier = TBI_RIGHT ;
38066c1fc23SArmin Le Grand				Text = "Rotate Right" ;
38166c1fc23SArmin Le Grand				ItemBitmap = Bitmap
38266c1fc23SArmin Le Grand				{
383e6c5eacbSArmin Le Grand		//			File = "symphony/rotate_right.png" ;
38466c1fc23SArmin Le Grand				};
38566c1fc23SArmin Le Grand			};
38666c1fc23SArmin Le Grand		};
38766c1fc23SArmin Le Grand	};
38866c1fc23SArmin Le Grand	String STR_HELP_LEFT
38966c1fc23SArmin Le Grand	{
39066c1fc23SArmin Le Grand		Text [ en-US ] = "Rotate counterclockwise by 45 degrees." ;
39166c1fc23SArmin Le Grand	};
39266c1fc23SArmin Le Grand	String STR_HELP_RIGHT
39366c1fc23SArmin Le Grand	{
39466c1fc23SArmin Le Grand		Text [ en-US ] = "Rotate clockwise by 45 degrees." ;
39566c1fc23SArmin Le Grand	};
39666c1fc23SArmin Le Grand	Image IMG_ROT_LEFT
39766c1fc23SArmin Le Grand	{
398e6c5eacbSArmin Le Grand	    ImageBitmap = Bitmap{File = "symphony/rotate_left.png";};
39966c1fc23SArmin Le Grand	};
40066c1fc23SArmin Le Grand	Image IMG_ROT_RIGHT
40166c1fc23SArmin Le Grand	{
402e6c5eacbSArmin Le Grand	    ImageBitmap = Bitmap{File = "symphony/rotate_right.png";};
40366c1fc23SArmin Le Grand	};
40466c1fc23SArmin Le Grand};
40566c1fc23SArmin Le GrandControl RID_POPUPPANEL_AERAPAGE_COLOR
40666c1fc23SArmin Le Grand{
40766c1fc23SArmin Le Grand	OutputSize = TRUE;
40866c1fc23SArmin Le Grand	DialogControl = TRUE;
40966c1fc23SArmin Le Grand	Border = FALSE;
41066c1fc23SArmin Le Grand	Size = MAP_APPFONT(  POPUP_COLOR_PICKER_WIDTH , POPUP_COLOR_PICKER_HEIGHT  );
41166c1fc23SArmin Le Grand
41266c1fc23SArmin Le Grand	Control VS_COLOR
41366c1fc23SArmin Le Grand	{
41466c1fc23SArmin Le Grand		HelpID = HID_PPROPERTYPANEL_AREA_COLOR_VS;
41566c1fc23SArmin Le Grand        Hide = TRUE ;
41666c1fc23SArmin Le Grand        Pos = MAP_APPFONT ( OFFSET_X , OFFSET_Y );
41766c1fc23SArmin Le Grand        Size = MAP_APPFONT (  POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2);
41866c1fc23SArmin Le Grand		TabStop = TRUE ;
41966c1fc23SArmin Le Grand		Text = "Color";
42066c1fc23SArmin Le Grand	};
42166c1fc23SArmin Le Grand};
42266c1fc23SArmin Le Grand
42366c1fc23SArmin Le Grand// eof
424