xref: /trunk/main/sd/source/ui/dlg/dlgsnap.src (revision 922694f9)
166220049SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
366220049SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
466220049SAndrew Rist * or more contributor license agreements.  See the NOTICE file
566220049SAndrew Rist * distributed with this work for additional information
666220049SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
766220049SAndrew Rist * to you under the Apache License, Version 2.0 (the
866220049SAndrew Rist * "License"); you may not use this file except in compliance
966220049SAndrew Rist * with the License.  You may obtain a copy of the License at
1066220049SAndrew Rist *
1166220049SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
1266220049SAndrew Rist *
1366220049SAndrew Rist * Unless required by applicable law or agreed to in writing,
1466220049SAndrew Rist * software distributed under the License is distributed on an
1566220049SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1666220049SAndrew Rist * KIND, either express or implied.  See the License for the
1766220049SAndrew Rist * specific language governing permissions and limitations
1866220049SAndrew Rist * under the License.
1966220049SAndrew Rist *
2066220049SAndrew Rist *************************************************************/
2166220049SAndrew Rist
2266220049SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "app.hrc"
25cdf0e10cSrcweir#include "res_bmp.hrc"
26cdf0e10cSrcweir#include "dlgsnap.hrc"
27cdf0e10cSrcweir#include "helpids.h"
28cdf0e10cSrcweir
29cdf0e10cSrcweirModalDialog DLG_SNAPLINE
30cdf0e10cSrcweir{
31cdf0e10cSrcweir	HelpID = CMD_SID_CAPTUREPOINT ;
32cdf0e10cSrcweir	OutputSize = TRUE ;
33cdf0e10cSrcweir	SVLook = TRUE ;
34*922694f9SMatthias Seidel	Size = MAP_APPFONT ( 140, 125 ) ;
35cdf0e10cSrcweir	Text [ en-US ] = "New Snap Object" ;
36cdf0e10cSrcweir	Moveable = TRUE ;
37cdf0e10cSrcweir	OKButton BTN_OK
38cdf0e10cSrcweir	{
39*922694f9SMatthias Seidel		Pos = MAP_APPFONT ( 88, 6 ) ;
40*922694f9SMatthias Seidel		Size = MAP_APPFONT ( 46, 14 ) ;
41cdf0e10cSrcweir		TabStop = TRUE ;
42cdf0e10cSrcweir		DefButton = TRUE ;
43cdf0e10cSrcweir	};
44cdf0e10cSrcweir	CancelButton BTN_CANCEL
45cdf0e10cSrcweir	{
46*922694f9SMatthias Seidel		Pos = MAP_APPFONT ( 88, 23 ) ;
47*922694f9SMatthias Seidel		Size = MAP_APPFONT ( 46, 14 ) ;
48cdf0e10cSrcweir		TabStop = TRUE ;
49cdf0e10cSrcweir	};
50cdf0e10cSrcweir	HelpButton BTN_HELP
51cdf0e10cSrcweir	{
52*922694f9SMatthias Seidel		Pos = MAP_APPFONT ( 88, 43 ) ;
53*922694f9SMatthias Seidel		Size = MAP_APPFONT ( 46, 14 ) ;
54cdf0e10cSrcweir		TabStop = TRUE ;
55cdf0e10cSrcweir	};
56cdf0e10cSrcweir	PushButton BTN_DELETE
57cdf0e10cSrcweir	{
58*922694f9SMatthias Seidel		HelpID = "sd:PushButton:DLG_SNAPLINE:BTN_DELETE" ;
59*922694f9SMatthias Seidel		Pos = MAP_APPFONT ( 88, 63 ) ;
60*922694f9SMatthias Seidel		Size = MAP_APPFONT ( 46, 14 ) ;
61cdf0e10cSrcweir		Text [ en-US ] = "~Delete" ;
62cdf0e10cSrcweir		TabStop = TRUE ;
63cdf0e10cSrcweir	};
64cdf0e10cSrcweir	FixedLine FL_POSITION
65cdf0e10cSrcweir	{
66*922694f9SMatthias Seidel		Pos = MAP_APPFONT ( 6, 3 ) ;
67*922694f9SMatthias Seidel		Size = MAP_APPFONT ( 76, 8 ) ;
68cdf0e10cSrcweir		Text [ en-US ] = "Position" ;
69cdf0e10cSrcweir	};
70cdf0e10cSrcweir	FixedText FT_X
71cdf0e10cSrcweir	{
72*922694f9SMatthias Seidel		Pos = MAP_APPFONT ( 12, 16 ) ;
73*922694f9SMatthias Seidel		Size = MAP_APPFONT ( 7, 10 ) ;
74cdf0e10cSrcweir		Text = "~X" ;
75cdf0e10cSrcweir	};
76cdf0e10cSrcweir	MetricField MTR_FLD_X
77cdf0e10cSrcweir	{
78*922694f9SMatthias Seidel		HelpID = "sd:MetricField:DLG_SNAPLINE:MTR_FLD_X" ;
79cdf0e10cSrcweir		Border = TRUE ;
80*922694f9SMatthias Seidel		Pos = MAP_APPFONT ( 22, 14 ) ;
81*922694f9SMatthias Seidel		Size = MAP_APPFONT ( 54, 12 ) ;
82cdf0e10cSrcweir		TabStop = TRUE ;
83cdf0e10cSrcweir		Repeat = TRUE ;
84cdf0e10cSrcweir		Spin = TRUE ;
85cdf0e10cSrcweir		Minimum = -5000000 ;
86cdf0e10cSrcweir		Maximum = 5000000 ;
87cdf0e10cSrcweir		StrictFormat = TRUE ;
88cdf0e10cSrcweir		DecimalDigits = 2 ;
89cdf0e10cSrcweir		Unit = FUNIT_MM ;
90cdf0e10cSrcweir		First = -5000000 ;
91cdf0e10cSrcweir		Last = 5000000 ;
92cdf0e10cSrcweir		SpinSize = 50 ;
93cdf0e10cSrcweir	};
94cdf0e10cSrcweir	FixedText FT_Y
95cdf0e10cSrcweir	{
96*922694f9SMatthias Seidel		Pos = MAP_APPFONT ( 12, 32 ) ;
97*922694f9SMatthias Seidel		Size = MAP_APPFONT ( 7, 10 ) ;
98cdf0e10cSrcweir		Text = "~Y" ;
99cdf0e10cSrcweir	};
100cdf0e10cSrcweir	MetricField MTR_FLD_Y
101cdf0e10cSrcweir	{
102*922694f9SMatthias Seidel		HelpID = "sd:MetricField:DLG_SNAPLINE:MTR_FLD_Y" ;
103cdf0e10cSrcweir		Border = TRUE ;
104*922694f9SMatthias Seidel		Pos = MAP_APPFONT ( 22, 30 ) ;
105*922694f9SMatthias Seidel		Size = MAP_APPFONT ( 54, 12 ) ;
106cdf0e10cSrcweir		TabStop = TRUE ;
107cdf0e10cSrcweir		Repeat = TRUE ;
108cdf0e10cSrcweir		Spin = TRUE ;
109cdf0e10cSrcweir		Minimum = -5000000 ;
110cdf0e10cSrcweir		Maximum = 5000000 ;
111cdf0e10cSrcweir		StrictFormat = TRUE ;
112cdf0e10cSrcweir		DecimalDigits = 2 ;
113cdf0e10cSrcweir		Unit = FUNIT_MM ;
114cdf0e10cSrcweir		First = -5000000 ;
115cdf0e10cSrcweir		Last = 5000000 ;
116cdf0e10cSrcweir		SpinSize = 50 ;
117cdf0e10cSrcweir	};
118cdf0e10cSrcweir	FixedLine FL_DIRECTION
119cdf0e10cSrcweir	{
120*922694f9SMatthias Seidel		Pos = MAP_APPFONT ( 6, 50 ) ;
121*922694f9SMatthias Seidel		Size = MAP_APPFONT ( 76, 8 ) ;
122cdf0e10cSrcweir		Text [ en-US ] = "Type" ;
123cdf0e10cSrcweir	};
124cdf0e10cSrcweir	ImageRadioButton RB_POINT
125cdf0e10cSrcweir	{
126*922694f9SMatthias Seidel		HelpID = "sd:ImageRadioButton:DLG_SNAPLINE:RB_POINT" ;
127*922694f9SMatthias Seidel		Pos = MAP_APPFONT ( 12, 61 ) ;
128*922694f9SMatthias Seidel		Size = MAP_APPFONT ( 64, 16 ) ;
129cdf0e10cSrcweir		Text [ en-US ] = "~Point" ;
130cdf0e10cSrcweir		TabStop = TRUE ;
131cdf0e10cSrcweir		RadioButtonImage = Image
132cdf0e10cSrcweir		{
133*922694f9SMatthias Seidel			ImageBitmap = Bitmap { File = "hlppoint.png" ; };
134cdf0e10cSrcweir		};
135cdf0e10cSrcweir	};
136cdf0e10cSrcweir	ImageRadioButton RB_VERTICAL
137cdf0e10cSrcweir	{
138*922694f9SMatthias Seidel		HelpID = "sd:ImageRadioButton:DLG_SNAPLINE:RB_VERTICAL" ;
139*922694f9SMatthias Seidel		Pos = MAP_APPFONT ( 12, 81 ) ;
140*922694f9SMatthias Seidel		Size = MAP_APPFONT ( 64, 16 ) ;
141cdf0e10cSrcweir		Text [ en-US ] = "~Vertical" ;
142cdf0e10cSrcweir		TabStop = TRUE ;
143cdf0e10cSrcweir		RadioButtonImage = Image
144cdf0e10cSrcweir		{
145*922694f9SMatthias Seidel			ImageBitmap = Bitmap { File = "hlplvert.png" ; };
146cdf0e10cSrcweir		};
147cdf0e10cSrcweir	};
148cdf0e10cSrcweir	ImageRadioButton RB_HORIZONTAL
149cdf0e10cSrcweir	{
150*922694f9SMatthias Seidel		HelpID = "sd:ImageRadioButton:DLG_SNAPLINE:RB_HORIZONTAL" ;
151*922694f9SMatthias Seidel		Pos = MAP_APPFONT ( 12, 101 ) ;
152*922694f9SMatthias Seidel		Size = MAP_APPFONT ( 65, 16 ) ;
153cdf0e10cSrcweir		Text [ en-US ] = "Hori~zontal" ;
154cdf0e10cSrcweir		TabStop = TRUE ;
155cdf0e10cSrcweir		RadioButtonImage = Image
156cdf0e10cSrcweir		{
157*922694f9SMatthias Seidel			ImageBitmap = Bitmap { File = "hlplhorz.png" ; };
158cdf0e10cSrcweir		};
159cdf0e10cSrcweir	};
160cdf0e10cSrcweir
161cdf0e10cSrcweir	Image BMP_POINT_H
162cdf0e10cSrcweir	{
163*922694f9SMatthias Seidel		ImageBitmap = Bitmap { File = "hlppoint_h.png" ; };
164cdf0e10cSrcweir	};
165cdf0e10cSrcweir
166cdf0e10cSrcweir	Image BMP_VERTICAL_H
167cdf0e10cSrcweir	{
168*922694f9SMatthias Seidel		ImageBitmap = Bitmap { File = "hlplvert_h.png" ; };
169cdf0e10cSrcweir	};
170cdf0e10cSrcweir
171cdf0e10cSrcweir	Image BMP_HORIZONTAL_H
172cdf0e10cSrcweir	{
173*922694f9SMatthias Seidel		ImageBitmap = Bitmap { File = "hlplhorz_h.png" ; };
174cdf0e10cSrcweir	};
175cdf0e10cSrcweir};
176