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"
23d29c2fc2SAndre 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 ;
170*7ea7a1ccSTsutomu Uchino        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 ;
176*7ea7a1ccSTsutomu Uchino		Unit = FUNIT_PERCENT ;
17766c1fc23SArmin Le Grand		Last = 100 ;
17866c1fc23SArmin Le Grand		SpinSize = 5 ;
17966c1fc23SArmin Le Grand	};
18066c1fc23SArmin Le Grand
18166c1fc23SArmin Le Grand	ToolBox BTN_GRADIENT
18266c1fc23SArmin Le Grand	{
18366c1fc23SArmin 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 ) ;
18466c1fc23SArmin Le Grand		HelpID = HID_PPROPERTYPANEL_AREA_TBX_GRADIENT ;
18566c1fc23SArmin Le Grand		SVLook = TRUE ;
18666c1fc23SArmin Le Grand		Border = FALSE ;
18766c1fc23SArmin Le Grand		TabStop = TRUE ;
18866c1fc23SArmin Le Grand		Text = "Gradient";
18966c1fc23SArmin Le Grand		ItemList =
19066c1fc23SArmin Le Grand		{
19166c1fc23SArmin Le Grand			ToolBoxItem
19266c1fc23SArmin Le Grand			{
19366c1fc23SArmin Le Grand				Identifier = TBI_BTX_GRADIENT ;
19466c1fc23SArmin Le Grand				HelpID = HID_PPROPERTYPANEL_AREA_TBI_GRADIENT ;
19566c1fc23SArmin Le Grand				ItemBitmap = Bitmap
19666c1fc23SArmin Le Grand				{
197e6c5eacbSArmin Le Grand					File = "symphony/linear.png" ;
19866c1fc23SArmin Le Grand				};
19966c1fc23SArmin Le Grand				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{
21266c1fc23SArmin Le Grand	OutputSize = TRUE;
21366c1fc23SArmin Le Grand	DialogControl = TRUE;
21466c1fc23SArmin Le Grand	Border = FALSE;
21566c1fc23SArmin Le Grand
21666c1fc23SArmin Le Grand//	Size = MAP_APPFONT( POP_WIDTH, POP_HEIGHT );
21766c1fc23SArmin Le Grand
21866c1fc23SArmin Le Grand	FixedText FT_TRGR_CENTER_X
21966c1fc23SArmin Le Grand	{
22066c1fc23SArmin Le Grand        Size = MAP_APPFONT ( CONTROL_WIDTH , FIXED_TEXT_HEIGHT ) ;
22166c1fc23SArmin Le Grand		Text [ en-US ] = "Center ~X:";
22266c1fc23SArmin Le Grand	};
22366c1fc23SArmin Le Grand	MetricField MTR_TRGR_CENTER_X
22466c1fc23SArmin Le Grand	{
22566c1fc23SArmin Le Grand		Border = TRUE ;
22666c1fc23SArmin Le Grand        Size = MAP_APPFONT ( CONTROL_WIDTH , MBOX_HEIGHT ) ;
22766c1fc23SArmin Le Grand        HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_CENTER_X ;
228*7ea7a1ccSTsutomu Uchino        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 ;
234*7ea7a1ccSTsutomu 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	{
24066c1fc23SArmin Le Grand        Size = MAP_APPFONT ( CONTROL_WIDTH + POPUPPANEL_MARGIN_HORIZONTAL, FIXED_TEXT_HEIGHT ) ;//wj
24166c1fc23SArmin Le Grand		Text [ en-US ] = "Center ~Y:";
24266c1fc23SArmin Le Grand	};
24366c1fc23SArmin Le Grand	MetricField MTR_TRGR_CENTER_Y
24466c1fc23SArmin Le Grand	{
24566c1fc23SArmin Le Grand		Border = TRUE ;
24666c1fc23SArmin Le Grand        Size = MAP_APPFONT ( CONTROL_WIDTH , MBOX_HEIGHT ) ;
24766c1fc23SArmin Le Grand        HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_CENTER_Y ;
248*7ea7a1ccSTsutomu Uchino        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 ;
254*7ea7a1ccSTsutomu 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	{
26066c1fc23SArmin Le Grand        Size = MAP_APPFONT ( CONTROL_WIDTH * 2 + POPUPPANEL_MARGIN_HORIZONTAL + CONTROL_SPACING_HORIZONTAL, FIXED_TEXT_HEIGHT ) ;//wj
26166c1fc23SArmin Le Grand		Text [ en-US ] = "~Angle:";
26266c1fc23SArmin Le Grand	};
26366c1fc23SArmin Le Grand	MetricField MTR_TRGR_ANGLE
26466c1fc23SArmin Le Grand	{
26566c1fc23SArmin Le Grand		Border = TRUE ;
26666c1fc23SArmin Le Grand        Size = MAP_APPFONT ( CONTROL_WIDTH , MBOX_HEIGHT ) ;
26766c1fc23SArmin Le Grand        HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_ANGLE ;
26866c1fc23SArmin Le Grand        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 ;
27666c1fc23SArmin Le Grand		CustomUnitText [ en-US ] = " degrees";
27766c1fc23SArmin Le Grand	};
27866c1fc23SArmin Le Grand	FixedText FT_TRGR_START_VALUE
27966c1fc23SArmin Le Grand	{
28066c1fc23SArmin Le Grand        Size = MAP_APPFONT ( CONTROL_WIDTH , FIXED_TEXT_HEIGHT ) ;
28166c1fc23SArmin Le Grand        Text [ en-US ] = "~Start value:";
28266c1fc23SArmin Le Grand	};
28366c1fc23SArmin Le Grand	MetricField MTR_TRGR_START_VALUE
28466c1fc23SArmin Le Grand	{
28566c1fc23SArmin Le Grand		Border = TRUE ;
28666c1fc23SArmin Le Grand        Size = MAP_APPFONT ( CONTROL_WIDTH , MBOX_HEIGHT ) ;
28766c1fc23SArmin Le Grand        HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_SVALUE ;
288*7ea7a1ccSTsutomu Uchino        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 ;
294*7ea7a1ccSTsutomu 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	{
30066c1fc23SArmin Le Grand        Size = MAP_APPFONT (CONTROL_WIDTH + POPUPPANEL_MARGIN_HORIZONTAL, FIXED_TEXT_HEIGHT ) ; //wj
30166c1fc23SArmin Le Grand		Text [ en-US ] = "~End value:";
30266c1fc23SArmin Le Grand	};
30366c1fc23SArmin Le Grand	MetricField MTR_TRGR_END_VALUE
30466c1fc23SArmin Le Grand	{
30566c1fc23SArmin Le Grand		Border = TRUE ;
30666c1fc23SArmin Le Grand        Size = MAP_APPFONT ( CONTROL_WIDTH , MBOX_HEIGHT ) ;
30766c1fc23SArmin Le Grand        HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_EVALUE ;
308*7ea7a1ccSTsutomu Uchino        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 ;
314*7ea7a1ccSTsutomu 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	{
32066c1fc23SArmin Le Grand        Size = MAP_APPFONT (  CONTROL_WIDTH * 2 + POPUPPANEL_MARGIN_HORIZONTAL + CONTROL_SPACING_HORIZONTAL, FIXED_TEXT_HEIGHT ) ; //
32166c1fc23SArmin Le Grand		Text [ en-US ] = "~Border:";
32266c1fc23SArmin Le Grand	};
32366c1fc23SArmin Le Grand	MetricField MTR_TRGR_BORDER
32466c1fc23SArmin Le Grand	{
32566c1fc23SArmin Le Grand		Border = TRUE ;
32666c1fc23SArmin Le Grand        Size = MAP_APPFONT ( CONTROL_WIDTH , MBOX_HEIGHT ) ;
32766c1fc23SArmin Le Grand        HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_BORDER ;
32866c1fc23SArmin Le Grand        QuickHelpText [ en-US ] = "Specify the border value of gradient transparence." ;
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 ;
334*7ea7a1ccSTsutomu Uchino		Unit = FUNIT_PERCENT ;
33566c1fc23SArmin Le Grand		Last = 100 ;
33666c1fc23SArmin Le Grand		SpinSize = 5 ;
33766c1fc23SArmin Le Grand	};
33866c1fc23SArmin Le Grand	//=====================================================================================================================================
33966c1fc23SArmin Le Grand
34066c1fc23SArmin Le Grand	ToolBox BTN_LEFT_SECOND
34166c1fc23SArmin Le Grand	{
34266c1fc23SArmin Le Grand	    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 ;
34766c1fc23SArmin Le Grand		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			};
35966c1fc23SArmin Le Grand		};
36066c1fc23SArmin Le Grand	};
36166c1fc23SArmin Le Grand	ToolBox BTN_RIGHT_FIRST
36266c1fc23SArmin Le Grand	{
36366c1fc23SArmin Le Grand	    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 ;
36866c1fc23SArmin Le Grand		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			};
38066c1fc23SArmin Le Grand		};
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	{
392e6c5eacbSArmin Le Grand	    ImageBitmap = Bitmap{File = "symphony/rotate_left.png";};
39366c1fc23SArmin Le Grand	};
39466c1fc23SArmin Le Grand	Image IMG_ROT_RIGHT
39566c1fc23SArmin Le Grand	{
396e6c5eacbSArmin Le Grand	    ImageBitmap = Bitmap{File = "symphony/rotate_right.png";};
39766c1fc23SArmin Le Grand	};
39866c1fc23SArmin Le Grand};
39966c1fc23SArmin Le GrandControl RID_POPUPPANEL_AERAPAGE_COLOR
40066c1fc23SArmin Le Grand{
40166c1fc23SArmin Le Grand	OutputSize = TRUE;
40266c1fc23SArmin Le Grand	DialogControl = TRUE;
40366c1fc23SArmin Le Grand	Border = FALSE;
40466c1fc23SArmin Le Grand	Size = MAP_APPFONT(  POPUP_COLOR_PICKER_WIDTH , POPUP_COLOR_PICKER_HEIGHT  );
40566c1fc23SArmin Le Grand
40666c1fc23SArmin Le Grand	Control VS_COLOR
40766c1fc23SArmin Le Grand	{
40866c1fc23SArmin Le Grand		HelpID = HID_PPROPERTYPANEL_AREA_COLOR_VS;
40966c1fc23SArmin Le Grand        Hide = TRUE ;
41066c1fc23SArmin Le Grand        Pos = MAP_APPFONT ( OFFSET_X , OFFSET_Y );
41166c1fc23SArmin Le Grand        Size = MAP_APPFONT (  POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2);
41266c1fc23SArmin Le Grand		TabStop = TRUE ;
41366c1fc23SArmin Le Grand		Text = "Color";
41466c1fc23SArmin Le Grand	};
41566c1fc23SArmin Le Grand};
41666c1fc23SArmin Le Grand
41766c1fc23SArmin Le Grand// eof
418