158e893aeSArmin Le Grand/**************************************************************
2*4335b99aSmseidel *
358e893aeSArmin Le Grand * Licensed to the Apache Software Foundation (ASF) under one
458e893aeSArmin Le Grand * or more contributor license agreements.  See the NOTICE file
558e893aeSArmin Le Grand * distributed with this work for additional information
658e893aeSArmin Le Grand * regarding copyright ownership.  The ASF licenses this file
758e893aeSArmin Le Grand * to you under the Apache License, Version 2.0 (the
858e893aeSArmin Le Grand * "License"); you may not use this file except in compliance
958e893aeSArmin Le Grand * with the License.  You may obtain a copy of the License at
10*4335b99aSmseidel *
1158e893aeSArmin Le Grand *   http://www.apache.org/licenses/LICENSE-2.0
12*4335b99aSmseidel *
1358e893aeSArmin Le Grand * Unless required by applicable law or agreed to in writing,
1458e893aeSArmin Le Grand * software distributed under the License is distributed on an
1558e893aeSArmin Le Grand * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1658e893aeSArmin Le Grand * KIND, either express or implied.  See the License for the
1758e893aeSArmin Le Grand * specific language governing permissions and limitations
1858e893aeSArmin Le Grand * under the License.
19*4335b99aSmseidel *
2058e893aeSArmin Le Grand *************************************************************/
2158e893aeSArmin Le Grand
2202c50d82SAndre Fischer#include "LinePropertyPanel.hrc"
23d29c2fc2SAndre Fischer#include <sfx2/sidebar/ResourceDefinitions.hrc>
2458e893aeSArmin Le Grand#include <svx/dialogs.hrc>
2558e893aeSArmin Le Grand#include "helpid.hrc"
2658e893aeSArmin Le Grand
2758e893aeSArmin Le GrandControl RID_SIDEBAR_LINE_PANEL
2858e893aeSArmin Le Grand{
29*4335b99aSmseidel	OutputSize = TRUE ;
30*4335b99aSmseidel	DialogControl = TRUE ;
31*4335b99aSmseidel	Border = FALSE ;
32*4335b99aSmseidel	Text = "Line" ;
3358e893aeSArmin Le Grand
34*4335b99aSmseidel	Size = MAP_APPFONT(
35*4335b99aSmseidel		PROPERTYPAGE_WIDTH,
36*4335b99aSmseidel		SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*4 + TEXT_CONTROL_SPACING_VERTICAL*4 + TOOLBOX_HEIGHT*3 + CONTROL_SPACING_VERTICAL*3 + CBOX_HEIGHT + SECTIONPAGE_MARGIN_VERTICAL_BOT ) ;
3758e893aeSArmin Le Grand	HelpID = HID_PROPERTYPANEL_LINE_SECTION ;
38*4335b99aSmseidel
3958e893aeSArmin Le Grand	FixedText FT_WIDTH
4058e893aeSArmin Le Grand	{
41*4335b99aSmseidel		Pos = MAP_APPFONT( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP ) ;
42*4335b99aSmseidel		Size = MAP_APPFONT (TOOLBOX_WIDTH, TEXT_HEIGHT ) ;
43*4335b99aSmseidel		Text [ en-US ] = "~Width:" ;
4458e893aeSArmin Le Grand	};
45*4335b99aSmseidel	ToolBox TB_WIDTH
4658e893aeSArmin Le Grand	{
4758e893aeSArmin Le Grand		SVLook = TRUE ;
4858e893aeSArmin Le Grand		Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) ;
4958e893aeSArmin Le Grand		Size = MAP_APPFONT (TOOLBOX_WIDTH ,TOOLBOX_HEIGHT ) ;
5058e893aeSArmin Le Grand		TabStop = TRUE ;
5158e893aeSArmin Le Grand		HelpID = HID_PPROPERTYPANEL_LINE_TBX_WIDTH ;
52*4335b99aSmseidel		Text = "Width" ;
5358e893aeSArmin Le Grand		ItemList =
5458e893aeSArmin Le Grand		{
5558e893aeSArmin Le Grand			ToolBoxItem
5658e893aeSArmin Le Grand			{
5758e893aeSArmin Le Grand				Identifier = TBI_WIDTH ;
5858e893aeSArmin Le Grand				DropDown = TRUE ;
5958e893aeSArmin Le Grand				Text [ en-US ] = "Width" ;
60*4335b99aSmseidel				HelpID = HID_PPROPERTYPANEL_LINE_TBI_WIDTH ;
6158e893aeSArmin Le Grand			};
6258e893aeSArmin Le Grand		};
6358e893aeSArmin Le Grand	};
6458e893aeSArmin Le Grand	String STR_QH_TB_WIDTH
6558e893aeSArmin Le Grand	{
66*4335b99aSmseidel		Text [ en-US ] = "Select the width of the line." ;
6758e893aeSArmin Le Grand	};
68*4335b99aSmseidel
6958e893aeSArmin Le Grand	FixedText FT_COLOR
7058e893aeSArmin Le Grand	{
71*4335b99aSmseidel		Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3, SECTIONPAGE_MARGIN_VERTICAL_TOP ) ;
72*4335b99aSmseidel		Size = MAP_APPFONT (TOOLBOX_WIDTH, TEXT_HEIGHT ) ;
73*4335b99aSmseidel		Text [ en-US ] = "~Color:" ;
7458e893aeSArmin Le Grand	};
7558e893aeSArmin Le Grand	ToolBox TB_COLOR
7658e893aeSArmin Le Grand	{
7758e893aeSArmin Le Grand		SVLook = TRUE ;
7858e893aeSArmin Le Grand		Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 4, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) ;
7958e893aeSArmin Le Grand		Size = MAP_APPFONT (TOOLBOX_WIDTH ,TOOLBOX_HEIGHT ) ;
8058e893aeSArmin Le Grand		TabStop = TRUE ;
8158e893aeSArmin Le Grand		HelpID = HID_PPROPERTYPANEL_LINE_TBX_COLOR;
82*4335b99aSmseidel		Text = "Color" ;
8358e893aeSArmin Le Grand		ItemList =
8458e893aeSArmin Le Grand		{
8558e893aeSArmin Le Grand			ToolBoxItem
86*4335b99aSmseidel			{
8758e893aeSArmin Le Grand				Identifier = TBI_COLOR ;
8858e893aeSArmin Le Grand				DropDown = TRUE ;
8958e893aeSArmin Le Grand				Text [ en-US ] = "Color" ;
90*4335b99aSmseidel				HelpID = HID_PPROPERTYPANEL_LINE_TBI_COLOR ;
9158e893aeSArmin Le Grand			};
9258e893aeSArmin Le Grand		};
9358e893aeSArmin Le Grand	};
9458e893aeSArmin Le Grand	String STR_QH_TB_COLOR
9558e893aeSArmin Le Grand	{
96*4335b99aSmseidel		Text [ en-US ] = "Select the color of the line." ;
9758e893aeSArmin Le Grand	};
9858e893aeSArmin Le Grand
9958e893aeSArmin Le Grand	FixedText FT_STYLE
10058e893aeSArmin Le Grand	{
101*4335b99aSmseidel		Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL + TOOLBOX_HEIGHT + CONTROL_SPACING_VERTICAL) ;
102*4335b99aSmseidel		Size = MAP_APPFONT (TOOLBOX_WIDTH, TEXT_HEIGHT ) ;
103*4335b99aSmseidel		Text [ en-US ] = "~Style:" ;
10458e893aeSArmin Le Grand	};
10597e8a929SArmin Le Grand	ListBox LB_STYLE
10658e893aeSArmin Le Grand	{
10797e8a929SArmin Le Grand		Border = TRUE ;
108*4335b99aSmseidel		HelpID = HID_PPROPERTYPANEL_LINE_TBX_STYLE ;
109*4335b99aSmseidel		Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*2 + TEXT_CONTROL_SPACING_VERTICAL*2 + TOOLBOX_HEIGHT + CONTROL_SPACING_VERTICAL) ;
11097e8a929SArmin Le Grand		Size = MAP_APPFONT (TOOLBOX_WIDTH ,LISTBOX_HEIGHT ) ;
11158e893aeSArmin Le Grand		TabStop = TRUE ;
11297e8a929SArmin Le Grand		DropDown = TRUE ;
11397e8a929SArmin Le Grand		DDExtraWidth = TRUE ;
114*4335b99aSmseidel		QuickHelpText [ en-US ] = "Select the style of the line." ;
11558e893aeSArmin Le Grand	};
116*4335b99aSmseidel
11758e893aeSArmin Le Grand	FixedText FT_TRANSPARENT
11858e893aeSArmin Le Grand	{
119*4335b99aSmseidel		Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL + TOOLBOX_HEIGHT + CONTROL_SPACING_VERTICAL) ;
120*4335b99aSmseidel		Size = MAP_APPFONT (TOOLBOX_WIDTH, TEXT_HEIGHT ) ;
121*4335b99aSmseidel		Text [ en-US ] = "~Transparency:" ;
12258e893aeSArmin Le Grand	};
12358e893aeSArmin Le Grand	MetricField MF_TRANSPARENT
12458e893aeSArmin Le Grand	{
12558e893aeSArmin Le Grand		Border = TRUE ;
126*4335b99aSmseidel		HelpID = HID_PPROPERTYPANEL_LINE_MTR_TRANCEPARENCE ;
127*4335b99aSmseidel		Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*2 + TEXT_CONTROL_SPACING_VERTICAL*2 + TOOLBOX_HEIGHT + CONTROL_SPACING_VERTICAL) ;
128*4335b99aSmseidel		Size = MAP_APPFONT ( TOOLBOX_WIDTH + 1, 12 ) ;
12958e893aeSArmin Le Grand		TabStop = TRUE ;
13058e893aeSArmin Le Grand		Repeat = TRUE ;
13158e893aeSArmin Le Grand		Spin = TRUE ;
13258e893aeSArmin Le Grand		Maximum = 100 ;
13358e893aeSArmin Le Grand		StrictFormat = TRUE ;
1347ea7a1ccSTsutomu Uchino		Unit = FUNIT_PERCENT ;
13558e893aeSArmin Le Grand		Last = 100 ;
13658e893aeSArmin Le Grand		SpinSize = 5 ;
137*4335b99aSmseidel		QuickHelpText [ en-US ] = "Specify the transparency of the line." ;
13858e893aeSArmin Le Grand	};
139*4335b99aSmseidel
14058e893aeSArmin Le Grand	FixedText FT_ARROW
14158e893aeSArmin Le Grand	{
142*4335b99aSmseidel		Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*2 + TEXT_CONTROL_SPACING_VERTICAL*2 + TOOLBOX_HEIGHT*2 + CONTROL_SPACING_VERTICAL*2) ;
143*4335b99aSmseidel		Size = MAP_APPFONT (TOOLBOX_WIDTH * 2 + 3, TEXT_HEIGHT ) ;
144*4335b99aSmseidel		Text [ en-US ] = "~Arrow:" ;
14558e893aeSArmin Le Grand	};
14658e893aeSArmin Le Grand	ListBox LB_START
14758e893aeSArmin Le Grand	{
14858e893aeSArmin Le Grand		Border = TRUE ;
14958e893aeSArmin Le Grand		HelpID = HID_PPROPERTYPANEL_LINE_LB_START;
150*4335b99aSmseidel		Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*3 + TEXT_CONTROL_SPACING_VERTICAL*3 + TOOLBOX_HEIGHT*2 + CONTROL_SPACING_VERTICAL*2 ) ;
151*4335b99aSmseidel		Size = MAP_APPFONT ( TOOLBOX_WIDTH, LISTBOX_HEIGHT ) ;
15258e893aeSArmin Le Grand		TabStop = TRUE ;
15358e893aeSArmin Le Grand		DropDown = TRUE ;
15458e893aeSArmin Le Grand		DDExtraWidth = TRUE ;
155*4335b99aSmseidel		QuickHelpText [ en-US ] = "Select the style of the beginning arrowhead." ;
15658e893aeSArmin Le Grand	};
15758e893aeSArmin Le Grand	ListBox LB_END
15858e893aeSArmin Le Grand	{
15958e893aeSArmin Le Grand		Border = TRUE ;
160*4335b99aSmseidel		HelpID = HID_PPROPERTYPANEL_LINE_LB_END ;
161*4335b99aSmseidel		Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*3 + TEXT_CONTROL_SPACING_VERTICAL*3 + TOOLBOX_HEIGHT*2 + CONTROL_SPACING_VERTICAL*2 ) ;
16297e8a929SArmin Le Grand		Size = MAP_APPFONT ( TOOLBOX_WIDTH + 1, LISTBOX_HEIGHT ) ;
16358e893aeSArmin Le Grand		TabStop = TRUE ;
16458e893aeSArmin Le Grand		DropDown = TRUE ;
16558e893aeSArmin Le Grand		DDExtraWidth = TRUE ;
166*4335b99aSmseidel		QuickHelpText [ en-US ] = "Select the style of the ending arrowhead." ;
16758e893aeSArmin Le Grand	};
16858e893aeSArmin Le Grand
169d5370dc8SArmin Le Grand	FixedText FT_EDGESTYLE
170d5370dc8SArmin Le Grand	{
171*4335b99aSmseidel		Pos = MAP_APPFONT (
172*4335b99aSmseidel			SECTIONPAGE_MARGIN_HORIZONTAL,
173*4335b99aSmseidel			SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*3 + TEXT_CONTROL_SPACING_VERTICAL*3 + TOOLBOX_HEIGHT*3 + CONTROL_SPACING_VERTICAL*3) ;
174*4335b99aSmseidel		Size = MAP_APPFONT (TOOLBOX_WIDTH * 2 + 3, TEXT_HEIGHT ) ;
175d5370dc8SArmin Le Grand		Text [ en-US ] = "~Corner style" ;
176d5370dc8SArmin Le Grand	};
177d5370dc8SArmin Le Grand	ListBox LB_EDGESTYLE
178d5370dc8SArmin Le Grand	{
179*4335b99aSmseidel		HelpID = HID_PPROPERTYPANEL_LINE_LB_EDGESTYLE ;
180d5370dc8SArmin Le Grand		Border = TRUE ;
181*4335b99aSmseidel		Pos = MAP_APPFONT (
182*4335b99aSmseidel			SECTIONPAGE_MARGIN_HORIZONTAL ,
183*4335b99aSmseidel			SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*4 + TEXT_CONTROL_SPACING_VERTICAL*4 + TOOLBOX_HEIGHT*3 + CONTROL_SPACING_VERTICAL*3 ) ;
184*4335b99aSmseidel		Size = MAP_APPFONT ( TOOLBOX_WIDTH, LISTBOX_HEIGHT ) ;
185d5370dc8SArmin Le Grand		TabStop = TRUE ;
186d5370dc8SArmin Le Grand		DropDown = TRUE ;
187d5370dc8SArmin Le Grand		DDExtraWidth = TRUE ;
188*4335b99aSmseidel		QuickHelpText [ en-US ] = "Select the style of the edge connections." ;
189d5370dc8SArmin Le Grand		StringList [ en-US ] =
190d5370dc8SArmin Le Grand		{
191*4335b99aSmseidel			< "Rounded" ; Default ;	> ;
192*4335b99aSmseidel			< "- none -" ;			> ;
193*4335b99aSmseidel			< "Mitered" ;			> ;
194*4335b99aSmseidel			< "Beveled" ;			> ;
195d5370dc8SArmin Le Grand		};
196d5370dc8SArmin Le Grand	};
197*4335b99aSmseidel	FixedText FT_CAPSTYLE
198*4335b99aSmseidel	{
199*4335b99aSmseidel		Pos = MAP_APPFONT (
200*4335b99aSmseidel			SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3,
201*4335b99aSmseidel			SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*3 + TEXT_CONTROL_SPACING_VERTICAL*3 + TOOLBOX_HEIGHT*3 + CONTROL_SPACING_VERTICAL*3) ;
202*4335b99aSmseidel		Size = MAP_APPFONT (TOOLBOX_WIDTH * 2 + 3, TEXT_HEIGHT ) ;
203*4335b99aSmseidel		Text [ en-US ] = "Ca~p style" ;
204*4335b99aSmseidel	};
205*4335b99aSmseidel	ListBox LB_CAPSTYLE
206*4335b99aSmseidel	{
207*4335b99aSmseidel		HelpID = HID_PPROPERTYPANEL_LINE_LB_CAPSTYLE ;
208*4335b99aSmseidel		Border = TRUE ;
209*4335b99aSmseidel		Pos = MAP_APPFONT (
210*4335b99aSmseidel			SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3,
211*4335b99aSmseidel			SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*4 + TEXT_CONTROL_SPACING_VERTICAL*4 + TOOLBOX_HEIGHT*3 + CONTROL_SPACING_VERTICAL*3 ) ;
212*4335b99aSmseidel		Size = MAP_APPFONT ( TOOLBOX_WIDTH, LISTBOX_HEIGHT ) ;
213*4335b99aSmseidel		TabStop = TRUE ;
214*4335b99aSmseidel		DropDown = TRUE ;
215d5370dc8SArmin Le Grand		DDExtraWidth = TRUE ;
216*4335b99aSmseidel		QuickHelpText [ en-US ] = "Select the style of the line caps." ;
217*4335b99aSmseidel		StringList [ en-US ] =
218*4335b99aSmseidel		{
219*4335b99aSmseidel			< "Flat" ; Default ;	> ; // Same string as in Excel
220*4335b99aSmseidel			< "Round" ;				> ;
221*4335b99aSmseidel			< "Square" ;			> ;
222*4335b99aSmseidel		};
223*4335b99aSmseidel	};
224d5370dc8SArmin Le Grand
22558e893aeSArmin Le Grand	Image IMG_COLOR
22658e893aeSArmin Le Grand	{
227*4335b99aSmseidel		ImageBitmap = Bitmap{File = "symphony/Line_color.png" ;};
22858e893aeSArmin Le Grand	};
22958e893aeSArmin Le Grand	Image IMG_COLOR_NO
23058e893aeSArmin Le Grand	{
231*4335b99aSmseidel		ImageBitmap = Bitmap{File = "symphony/no color.png" ;};
23258e893aeSArmin Le Grand	};
233*4335b99aSmseidel
23458e893aeSArmin Le Grand	Image IMG_NONE_ICON
23558e893aeSArmin Le Grand	{
236*4335b99aSmseidel		ImageBitmap = Bitmap{File = "symphony/blank.png" ;};
23758e893aeSArmin Le Grand	};
238*4335b99aSmseidel
23958e893aeSArmin Le Grand	//WIDTH ICON
24058e893aeSArmin Le Grand	Image IMG_WIDTH1_ICON
24158e893aeSArmin Le Grand	{
242*4335b99aSmseidel		ImageBitmap = Bitmap{File = "symphony/width1.png" ;};
24358e893aeSArmin Le Grand	};
24458e893aeSArmin Le Grand	Image IMG_WIDTH2_ICON
24558e893aeSArmin Le Grand	{
246*4335b99aSmseidel		ImageBitmap = Bitmap{File = "symphony/width2.png" ;};
24758e893aeSArmin Le Grand	};
24858e893aeSArmin Le Grand	Image IMG_WIDTH3_ICON
24958e893aeSArmin Le Grand	{
250*4335b99aSmseidel		ImageBitmap = Bitmap{File = "symphony/width3.png" ;};
25158e893aeSArmin Le Grand	};
25258e893aeSArmin Le Grand	Image IMG_WIDTH4_ICON
25358e893aeSArmin Le Grand	{
254*4335b99aSmseidel		ImageBitmap = Bitmap{File = "symphony/width4.png" ;};
25558e893aeSArmin Le Grand	};
25658e893aeSArmin Le Grand	Image IMG_WIDTH5_ICON
25758e893aeSArmin Le Grand	{
258*4335b99aSmseidel		ImageBitmap = Bitmap{File = "symphony/width5.png" ;};
25958e893aeSArmin Le Grand	};
26058e893aeSArmin Le Grand	Image IMG_WIDTH6_ICON
26158e893aeSArmin Le Grand	{
262*4335b99aSmseidel		ImageBitmap = Bitmap{File = "symphony/width6.png" ;};
26358e893aeSArmin Le Grand	};
26458e893aeSArmin Le Grand	Image IMG_WIDTH7_ICON
26558e893aeSArmin Le Grand	{
266*4335b99aSmseidel		ImageBitmap = Bitmap{File = "symphony/width7.png" ;};
26758e893aeSArmin Le Grand	};
26858e893aeSArmin Le Grand	Image IMG_WIDTH8_ICON
26958e893aeSArmin Le Grand	{
270*4335b99aSmseidel		ImageBitmap = Bitmap{File = "symphony/width8.png" ;};
271*4335b99aSmseidel	};
272*4335b99aSmseidel
27358e893aeSArmin Le Grand	//high contrast for line width
27458e893aeSArmin Le Grand	//WIDTH ICON
27558e893aeSArmin Le Grand	Image IMG_WIDTH1_ICON_H
27658e893aeSArmin Le Grand	{
277*4335b99aSmseidel		ImageBitmap = Bitmap{File = "symphony/width1_h.png" ;};
27858e893aeSArmin Le Grand	};
27958e893aeSArmin Le Grand	Image IMG_WIDTH2_ICON_H
28058e893aeSArmin Le Grand	{
281*4335b99aSmseidel		ImageBitmap = Bitmap{File = "symphony/width2_h.png" ;};
28258e893aeSArmin Le Grand	};
28358e893aeSArmin Le Grand	Image IMG_WIDTH3_ICON_H
28458e893aeSArmin Le Grand	{
285*4335b99aSmseidel		ImageBitmap = Bitmap{File = "symphony/width3_h.png" ;};
28658e893aeSArmin Le Grand	};
28758e893aeSArmin Le Grand	Image IMG_WIDTH4_ICON_H
28858e893aeSArmin Le Grand	{
289*4335b99aSmseidel		ImageBitmap = Bitmap{File = "symphony/width4_h.png" ;};
29058e893aeSArmin Le Grand	};
29158e893aeSArmin Le Grand	Image IMG_WIDTH5_ICON_H
29258e893aeSArmin Le Grand	{
293*4335b99aSmseidel		ImageBitmap = Bitmap{File = "symphony/width5_h.png" ;};
29458e893aeSArmin Le Grand	};
29558e893aeSArmin Le Grand	Image IMG_WIDTH6_ICON_H
29658e893aeSArmin Le Grand	{
297*4335b99aSmseidel		ImageBitmap = Bitmap{File = "symphony/width6_h.png" ;};
29858e893aeSArmin Le Grand	};
29958e893aeSArmin Le Grand	Image IMG_WIDTH7_ICON_H
30058e893aeSArmin Le Grand	{
301*4335b99aSmseidel		ImageBitmap = Bitmap{File = "symphony/width7_h.png" ;};
30258e893aeSArmin Le Grand	};
30358e893aeSArmin Le Grand	Image IMG_WIDTH8_ICON_H
30458e893aeSArmin Le Grand	{
305*4335b99aSmseidel		ImageBitmap = Bitmap{File = "symphony/width8_h.png" ;};
306*4335b99aSmseidel	};
30758e893aeSArmin Le Grand};
30858e893aeSArmin Le GrandControl RID_POPUPPANEL_LINEPAGE_COLOR
30958e893aeSArmin Le Grand{
310*4335b99aSmseidel	OutputSize = TRUE ;
311*4335b99aSmseidel	DialogControl = TRUE ;
312*4335b99aSmseidel	Border = FALSE ;
313*4335b99aSmseidel	Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH, POPUP_COLOR_PICKER_HEIGHT ) ;
314*4335b99aSmseidel
31558e893aeSArmin Le Grand	Control VS_COLOR
31658e893aeSArmin Le Grand	{
31758e893aeSArmin Le Grand		HelpId = HID_PPROPERTYPANEL_LINE_VS_COLOR ;
318*4335b99aSmseidel		Hide = TRUE ;
319*4335b99aSmseidel		Pos = MAP_APPFONT ( OFFSET_X, OFFSET_Y ) ;
320*4335b99aSmseidel		Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2) ;
32158e893aeSArmin Le Grand		TabStop = TRUE ;
322*4335b99aSmseidel		Text = "Color" ;
32358e893aeSArmin Le Grand	};
32458e893aeSArmin Le Grand};
32558e893aeSArmin Le GrandControl RID_POPUPPANEL_LINEPAGE_STYLE
32658e893aeSArmin Le Grand{
327*4335b99aSmseidel	OutputSize = TRUE ;
328*4335b99aSmseidel	DialogControl = TRUE ;
329*4335b99aSmseidel	Border = FALSE ;
330*4335b99aSmseidel
331*4335b99aSmseidel	Size = MAP_APPFONT(
332*4335b99aSmseidel		POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH ,
333*4335b99aSmseidel		13 + POPUP_BORDER_HEIGHT + POPUPPANEL_MARGIN_SMALL * 2 + POPUPPANEL_MARGIN_LARGE) ;
334*4335b99aSmseidel
33558e893aeSArmin Le Grand	Control VS_STYLE
33658e893aeSArmin Le Grand	{
33758e893aeSArmin Le Grand		HelpId = HID_PPROPERTYPANEL_LINE_VS_STYLE ;
338*4335b99aSmseidel		Hide = TRUE ;
339*4335b99aSmseidel		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y ) ;
340*4335b99aSmseidel		Size = MAP_APPFONT ( 93, 13 * 12) ;
34158e893aeSArmin Le Grand		TabStop = TRUE ;
342*4335b99aSmseidel		Text = "Style" ;
34358e893aeSArmin Le Grand	};
34458e893aeSArmin Le Grand
34558e893aeSArmin Le Grand	PushButton PB_OPTIONS
34658e893aeSArmin Le Grand	{
347*4335b99aSmseidel		HelpId = HID_PPROPERTYPANEL_LINE_BTN_STYLE ;
348*4335b99aSmseidel		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_LARGE + OFFSET_X, POPUPPANEL_MARGIN_SMALL * 2 + OFFSET_Y ) ;
349*4335b99aSmseidel		Size = MAP_APPFONT ( 93, 13 ) ;
350*4335b99aSmseidel		TabStop = TRUE ;
351*4335b99aSmseidel		Text [ en-US ] = "~More Options..." ;
35258e893aeSArmin Le Grand	};
35358e893aeSArmin Le Grand};
35458e893aeSArmin Le GrandControl RID_POPUPPANEL_LINEPAGE_WIDTH
35558e893aeSArmin Le Grand{
356*4335b99aSmseidel	OutputSize = TRUE ;
357*4335b99aSmseidel	DialogControl = TRUE ;
358*4335b99aSmseidel	Border = FALSE ;
359*4335b99aSmseidel
360*4335b99aSmseidel	Size = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + 80, POPUPPANEL_MARGIN_SMALL + POPUPPANEL_MARGIN_LARGE + POPUP_BORDER_WIDTH + 12 * 9 + POPUPPANEL_MARGIN_SMALL * 2 + TEXT_HEIGHT + (POPUPPANEL_MARGIN_LARGE * 2 + TEXT_HEIGHT + 12 + TEXT_CONTROL_SPACING_VERTICAL)) ;
361*4335b99aSmseidel
36258e893aeSArmin Le Grand	Control VS_WIDTH
36358e893aeSArmin Le Grand	{
36458e893aeSArmin Le Grand		HelpId = HID_PPROPERTYPANEL_LINE_VS_WIDTH ;
365*4335b99aSmseidel		Hide = TRUE ;
366*4335b99aSmseidel		Pos = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y ) ;
367*4335b99aSmseidel		Size = MAP_APPFONT ( 80, 12 * 9);
36858e893aeSArmin Le Grand		TabStop = TRUE ;
369*4335b99aSmseidel		Text = "Width" ;
37058e893aeSArmin Le Grand	};
37158e893aeSArmin Le Grand	FixedText FT_CUSTOME
37258e893aeSArmin Le Grand	{
373*4335b99aSmseidel		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_LARGE + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y + 12 * 9 + POPUPPANEL_MARGIN_SMALL ) ;
374*4335b99aSmseidel		Size = MAP_APPFONT ( 80, TEXT_HEIGHT ) ;
375*4335b99aSmseidel		Text [ en-US ] = "Custom:" ;
37658e893aeSArmin Le Grand	};
37758e893aeSArmin Le Grand	FixedText FT_LINE_WIDTH
37858e893aeSArmin Le Grand	{
379*4335b99aSmseidel		Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE) ;
380*4335b99aSmseidel		Size = MAP_APPFONT ( 74 - POPUPPANEL_MARGIN_LARGE * 2, TEXT_HEIGHT ) ;
381*4335b99aSmseidel		Text [ en-US ] = "Line ~width:" ;
38258e893aeSArmin Le Grand	};
38358e893aeSArmin Le Grand	MetricField MF_WIDTH
38458e893aeSArmin Le Grand	{
38558e893aeSArmin Le Grand		Border = TRUE ;
38658e893aeSArmin Le Grand		HelpID = HID_PPROPERTYPANEL_LINE_MTR_WIDTH ;
387*4335b99aSmseidel		Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) ;
388*4335b99aSmseidel		Size = MAP_APPFONT ( 40, 12 ) ;
38958e893aeSArmin Le Grand		TabStop = TRUE ;
39058e893aeSArmin Le Grand		Right = TRUE ;
39158e893aeSArmin Le Grand		Repeat = TRUE ;
39258e893aeSArmin Le Grand		Spin = TRUE ;
39358e893aeSArmin Le Grand		Maximum = 5000 ;
39458e893aeSArmin Le Grand		StrictFormat = TRUE ;
39558e893aeSArmin Le Grand		DecimalDigits = 2 ;
39658e893aeSArmin Le Grand		Value = 1 ;
39758e893aeSArmin Le Grand		Unit = FUNIT_MM ;
39858e893aeSArmin Le Grand		Last = 5000 ;
39958e893aeSArmin Le Grand		SpinSize = 10 ;
400*4335b99aSmseidel		QuickHelpText [ en-US ] = "Specify the width of the line." ;
40158e893aeSArmin Le Grand	};
40258e893aeSArmin Le Grand
40358e893aeSArmin Le Grand	Image IMG_WIDTH_CUSTOM
40458e893aeSArmin Le Grand	{
405*4335b99aSmseidel		ImageBitmap = Bitmap{File = "symphony/last_custom_common.png" ;};
40658e893aeSArmin Le Grand	};
40758e893aeSArmin Le Grand	Image IMG_WIDTH_CUSTOM_GRAY
40858e893aeSArmin Le Grand	{
409*4335b99aSmseidel		ImageBitmap = Bitmap{File = "symphony/last_custom_common_grey.png" ;};
41058e893aeSArmin Le Grand	};
41158e893aeSArmin Le Grand	String STR_WIDTH_LAST_CUSTOM
41258e893aeSArmin Le Grand	{
413*4335b99aSmseidel		Text [ en-US ] = "Last Custom Value" ;
41458e893aeSArmin Le Grand	};
41558e893aeSArmin Le Grand	String STR_PT
41658e893aeSArmin Le Grand	{
417*4335b99aSmseidel		Text [ en-US ] = "pt" ;
41858e893aeSArmin Le Grand	};
419*4335b99aSmseidel};
4204e8031e0SArmin Le Grand
421*4335b99aSmseidel// ********************************************************************** EOF
422