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