| /************************************************************** |
| * |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| * |
| *************************************************************/ |
| |
| |
| |
| #include "app.hrc" |
| #include "res_bmp.hrc" |
| #include "dlgsnap.hrc" |
| #include "helpids.h" |
| |
| ModalDialog DLG_SNAPLINE |
| { |
| HelpID = CMD_SID_CAPTUREPOINT ; |
| OutputSize = TRUE ; |
| SVLook = TRUE ; |
| Size = MAP_APPFONT ( 140 , 125 ) ; |
| Text [ en-US ] = "New Snap Object" ; |
| Moveable = TRUE ; |
| OKButton BTN_OK |
| { |
| Pos = MAP_APPFONT ( 88 , 6 ) ; |
| Size = MAP_APPFONT ( 46 , 14 ) ; |
| TabStop = TRUE ; |
| DefButton = TRUE ; |
| }; |
| CancelButton BTN_CANCEL |
| { |
| Pos = MAP_APPFONT ( 88 , 23 ) ; |
| Size = MAP_APPFONT ( 46 , 14 ) ; |
| TabStop = TRUE ; |
| }; |
| HelpButton BTN_HELP |
| { |
| Pos = MAP_APPFONT ( 88 , 43 ) ; |
| Size = MAP_APPFONT ( 46 , 14 ) ; |
| TabStop = TRUE ; |
| }; |
| PushButton BTN_DELETE |
| { |
| HelpID = "sd:PushButton:DLG_SNAPLINE:BTN_DELETE"; |
| Pos = MAP_APPFONT ( 88 , 63 ) ; |
| Size = MAP_APPFONT ( 46 , 14 ) ; |
| /* ### ACHTUNG: Neuer Text in Resource? ~Löschen : ~L÷schen */ |
| Text [ en-US ] = "~Delete" ; |
| TabStop = TRUE ; |
| }; |
| FixedLine FL_POSITION |
| { |
| Pos = MAP_APPFONT ( 6 , 3 ) ; |
| Size = MAP_APPFONT ( 76 , 8 ) ; |
| Text [ en-US ] = "Position" ; |
| }; |
| FixedText FT_X |
| { |
| Pos = MAP_APPFONT ( 12 , 16 ) ; |
| Size = MAP_APPFONT ( 7 , 10 ) ; |
| Text = "~X" ; |
| }; |
| MetricField MTR_FLD_X |
| { |
| HelpID = "sd:MetricField:DLG_SNAPLINE:MTR_FLD_X"; |
| Border = TRUE ; |
| Pos = MAP_APPFONT ( 22 , 14 ) ; |
| Size = MAP_APPFONT ( 54 , 12 ) ; |
| TabStop = TRUE ; |
| Repeat = TRUE ; |
| Spin = TRUE ; |
| Minimum = -5000000 ; |
| Maximum = 5000000 ; |
| StrictFormat = TRUE ; |
| DecimalDigits = 2 ; |
| Unit = FUNIT_MM ; |
| First = -5000000 ; |
| Last = 5000000 ; |
| SpinSize = 50 ; |
| }; |
| FixedText FT_Y |
| { |
| Pos = MAP_APPFONT ( 12 , 32 ) ; |
| Size = MAP_APPFONT ( 7 , 10 ) ; |
| Text = "~Y" ; |
| }; |
| MetricField MTR_FLD_Y |
| { |
| HelpID = "sd:MetricField:DLG_SNAPLINE:MTR_FLD_Y"; |
| Border = TRUE ; |
| Pos = MAP_APPFONT ( 22 , 30 ) ; |
| Size = MAP_APPFONT ( 54 , 12 ) ; |
| TabStop = TRUE ; |
| Repeat = TRUE ; |
| Spin = TRUE ; |
| Minimum = -5000000 ; |
| Maximum = 5000000 ; |
| StrictFormat = TRUE ; |
| DecimalDigits = 2 ; |
| Unit = FUNIT_MM ; |
| First = -5000000 ; |
| Last = 5000000 ; |
| SpinSize = 50 ; |
| }; |
| FixedLine FL_DIRECTION |
| { |
| Pos = MAP_APPFONT ( 6 , 50 ) ; |
| Size = MAP_APPFONT ( 76 , 8 ) ; |
| Text [ en-US ] = "Type" ; |
| }; |
| ImageRadioButton RB_POINT |
| { |
| HelpID = "sd:ImageRadioButton:DLG_SNAPLINE:RB_POINT"; |
| Pos = MAP_APPFONT ( 12 , 61 ) ; |
| Size = MAP_APPFONT ( 64 , 16 ) ; |
| Text [ en-US ] = "~Point" ; |
| TabStop = TRUE ; |
| RadioButtonImage = Image |
| { |
| MaskColor = IMAGE_MASK_STDCOLOR; |
| ImageBitmap = Bitmap { File = "hlppoint.bmp" ; }; |
| }; |
| }; |
| ImageRadioButton RB_VERTICAL |
| { |
| HelpID = "sd:ImageRadioButton:DLG_SNAPLINE:RB_VERTICAL"; |
| Pos = MAP_APPFONT ( 12 , 81 ) ; |
| Size = MAP_APPFONT ( 64 , 16 ) ; |
| Text [ en-US ] = "~Vertical" ; |
| TabStop = TRUE ; |
| RadioButtonImage = Image |
| { |
| MaskColor = IMAGE_MASK_STDCOLOR; |
| ImageBitmap = Bitmap { File = "hlplvert.bmp" ; }; |
| }; |
| }; |
| ImageRadioButton RB_HORIZONTAL |
| { |
| HelpID = "sd:ImageRadioButton:DLG_SNAPLINE:RB_HORIZONTAL"; |
| Pos = MAP_APPFONT ( 12 , 101 ) ; |
| Size = MAP_APPFONT ( 65 , 16 ) ; |
| Text [ en-US ] = "Hori~zontal" ; |
| TabStop = TRUE ; |
| RadioButtonImage = Image |
| { |
| MaskColor = IMAGE_MASK_STDCOLOR; |
| ImageBitmap = Bitmap { File = "hlplhorz.bmp" ; }; |
| }; |
| }; |
| |
| Image BMP_POINT_H |
| { |
| MaskColor = IMAGE_MASK_STDCOLOR_HC; |
| ImageBitmap = Bitmap { File = "hlppoint_h.bmp" ; }; |
| }; |
| |
| Image BMP_VERTICAL_H |
| { |
| MaskColor = IMAGE_MASK_STDCOLOR_HC; |
| ImageBitmap = Bitmap { File = "hlplvert_h.bmp" ; }; |
| }; |
| |
| Image BMP_HORIZONTAL_H |
| { |
| MaskColor = IMAGE_MASK_STDCOLOR_HC; |
| ImageBitmap = Bitmap { File = "hlplhorz_h.bmp" ; }; |
| }; |
| }; |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |