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