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 10cdf0e10cSrcweir * 11*66220049SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 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. 19cdf0e10cSrcweir * 20*66220049SAndrew Rist *************************************************************/ 21*66220049SAndrew Rist 22*66220049SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir 25cdf0e10cSrcweir#include "app.hrc" 26cdf0e10cSrcweir#include "vectdlg.hrc" 27cdf0e10cSrcweir#include "helpids.h" 28cdf0e10cSrcweir 29cdf0e10cSrcweir/****************************************************************************** 30cdf0e10cSrcweir|* 31cdf0e10cSrcweir|* 32cdf0e10cSrcweir|* 33cdf0e10cSrcweir\******************************************************************************/ 34cdf0e10cSrcweir 35cdf0e10cSrcweirModalDialog DLG_VECTORIZE 36cdf0e10cSrcweir{ 37cdf0e10cSrcweir HelpID = HID_VECTORIZE_DLG; 38cdf0e10cSrcweir OutputSize = TRUE ; 39cdf0e10cSrcweir SVLook = TRUE ; 40cdf0e10cSrcweir Size = MAP_APPFONT ( 200, 237 ) ; 41cdf0e10cSrcweir Moveable = TRUE ; 42cdf0e10cSrcweir Closeable = TRUE ; 43cdf0e10cSrcweir 44cdf0e10cSrcweir Text [ en-US ] = "Convert to Polygon" ; 45cdf0e10cSrcweir 46cdf0e10cSrcweir OKButton BTN_OK 47cdf0e10cSrcweir { 48cdf0e10cSrcweir Pos = MAP_APPFONT ( 144 , 6 ); 49cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ); 50cdf0e10cSrcweir TabStop = TRUE ; 51cdf0e10cSrcweir DefButton = TRUE ; 52cdf0e10cSrcweir }; 53cdf0e10cSrcweir 54cdf0e10cSrcweir CancelButton BTN_CANCEL 55cdf0e10cSrcweir { 56cdf0e10cSrcweir Pos = MAP_APPFONT ( 144 , 23 ); 57cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ); 58cdf0e10cSrcweir TabStop = TRUE ; 59cdf0e10cSrcweir }; 60cdf0e10cSrcweir 61cdf0e10cSrcweir HelpButton BTN_HELP 62cdf0e10cSrcweir { 63cdf0e10cSrcweir Pos = MAP_APPFONT ( 144 , 43 ); 64cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ); 65cdf0e10cSrcweir TabStop = TRUE ; 66cdf0e10cSrcweir }; 67cdf0e10cSrcweir 68cdf0e10cSrcweir PushButton BTN_PREVIEW 69cdf0e10cSrcweir { 70cdf0e10cSrcweir HelpID = "sd:PushButton:DLG_VECTORIZE:BTN_PREVIEW"; 71cdf0e10cSrcweir Pos = MAP_APPFONT ( 144 , 63 ) ; 72cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 73cdf0e10cSrcweir TabStop = TRUE ; 74cdf0e10cSrcweir Text [ en-US ] = "Preview" ; 75cdf0e10cSrcweir }; 76cdf0e10cSrcweir 77cdf0e10cSrcweir FixedLine GRP_SETTINGS 78cdf0e10cSrcweir { 79cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 80cdf0e10cSrcweir Size = MAP_APPFONT ( 132 , 8 ) ; 81cdf0e10cSrcweir Text [ en-US ] = "Settings" ; 82cdf0e10cSrcweir }; 83cdf0e10cSrcweir 84cdf0e10cSrcweir FixedText FT_LAYERS 85cdf0e10cSrcweir { 86cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 ); 87cdf0e10cSrcweir Size = MAP_APPFONT ( 79 , 12 ); 88cdf0e10cSrcweir Text [ en-US ] = "Number of colors:"; 89cdf0e10cSrcweir }; 90cdf0e10cSrcweir 91cdf0e10cSrcweir NumericField NM_LAYERS 92cdf0e10cSrcweir { 93cdf0e10cSrcweir HelpID = "sd:NumericField:DLG_VECTORIZE:NM_LAYERS"; 94cdf0e10cSrcweir Border = TRUE ; 95cdf0e10cSrcweir Pos = MAP_APPFONT ( 92 , 14 ) ; 96cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 12 ) ; 97cdf0e10cSrcweir TabStop = TRUE ; 98cdf0e10cSrcweir Repeat = TRUE ; 99cdf0e10cSrcweir Spin = TRUE ; 100cdf0e10cSrcweir Minimum = 8; 101cdf0e10cSrcweir Maximum = 32 ; 102cdf0e10cSrcweir StrictFormat = TRUE ; 103cdf0e10cSrcweir First = 8; 104cdf0e10cSrcweir Last = 32 ; 105cdf0e10cSrcweir SpinSize = 1 ; 106cdf0e10cSrcweir }; 107cdf0e10cSrcweir 108cdf0e10cSrcweir FixedText FT_REDUCE 109cdf0e10cSrcweir { 110cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 29 ); 111cdf0e10cSrcweir Size = MAP_APPFONT ( 79 , 12 ); 112cdf0e10cSrcweir Text [ en-US ] = "Point reduction:"; 113cdf0e10cSrcweir }; 114cdf0e10cSrcweir 115cdf0e10cSrcweir MetricField MT_REDUCE 116cdf0e10cSrcweir { 117cdf0e10cSrcweir HelpID = "sd:MetricField:DLG_VECTORIZE:MT_REDUCE"; 118cdf0e10cSrcweir Border = TRUE ; 119cdf0e10cSrcweir Pos = MAP_APPFONT ( 92 , 29 ) ; 120cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 12 ) ; 121cdf0e10cSrcweir TabStop = TRUE ; 122cdf0e10cSrcweir Repeat = TRUE ; 123cdf0e10cSrcweir Spin = TRUE ; 124cdf0e10cSrcweir Minimum = 0; 125cdf0e10cSrcweir Maximum = 32 ; 126cdf0e10cSrcweir StrictFormat = TRUE ; 127cdf0e10cSrcweir First = 0; 128cdf0e10cSrcweir Last = 32 ; 129cdf0e10cSrcweir SpinSize = 1 ; 130cdf0e10cSrcweir Unit = FUNIT_CUSTOM ; 131cdf0e10cSrcweir CustomUnitText = " Pixel" ; 132cdf0e10cSrcweir }; 133cdf0e10cSrcweir 134cdf0e10cSrcweir CheckBox CB_FILLHOLES 135cdf0e10cSrcweir { 136cdf0e10cSrcweir HelpID = "sd:CheckBox:DLG_VECTORIZE:CB_FILLHOLES"; 137cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 44 ) ; 138cdf0e10cSrcweir Size = MAP_APPFONT ( 79 , 12 ) ; 139cdf0e10cSrcweir TabStop = TRUE ; 140cdf0e10cSrcweir Text [ en-US ] = "~Fill holes:"; 141cdf0e10cSrcweir }; 142cdf0e10cSrcweir 143cdf0e10cSrcweir FixedText FT_FILLHOLES 144cdf0e10cSrcweir { 145cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 59 ); 146cdf0e10cSrcweir Size = MAP_APPFONT ( 79 , 12 ); 147cdf0e10cSrcweir Text [ en-US ] = "Tile size:"; 148cdf0e10cSrcweir }; 149cdf0e10cSrcweir 150cdf0e10cSrcweir MetricField MT_FILLHOLES 151cdf0e10cSrcweir { 152cdf0e10cSrcweir HelpID = "sd:MetricField:DLG_VECTORIZE:MT_FILLHOLES"; 153cdf0e10cSrcweir Border = TRUE ; 154cdf0e10cSrcweir Pos = MAP_APPFONT ( 92 , 59 ) ; 155cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 12 ) ; 156cdf0e10cSrcweir TabStop = TRUE ; 157cdf0e10cSrcweir Repeat = TRUE ; 158cdf0e10cSrcweir Spin = TRUE ; 159cdf0e10cSrcweir Minimum = 8; 160cdf0e10cSrcweir Maximum = 128; 161cdf0e10cSrcweir StrictFormat = TRUE ; 162cdf0e10cSrcweir First = 8; 163cdf0e10cSrcweir Last = 128; 164cdf0e10cSrcweir SpinSize = 1; 165cdf0e10cSrcweir Unit = FUNIT_CUSTOM ; 166cdf0e10cSrcweir CustomUnitText = " Pixel" ; 167cdf0e10cSrcweir }; 168cdf0e10cSrcweir 169cdf0e10cSrcweir FixedText FT_ORIGINAL 170cdf0e10cSrcweir { 171cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 87 ); 172cdf0e10cSrcweir Size = MAP_APPFONT ( 92 , 12 ); 173cdf0e10cSrcweir Text [ en-US ] = "Source picture:"; 174cdf0e10cSrcweir }; 175cdf0e10cSrcweir 176cdf0e10cSrcweir Control CTL_BMP 177cdf0e10cSrcweir { 178cdf0e10cSrcweir Border = TRUE ; 179cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, 98 ) ; 180cdf0e10cSrcweir Size = MAP_APPFONT ( 92, 100 ) ; 181cdf0e10cSrcweir Text [ en-US ] = "Source picture" ; 182cdf0e10cSrcweir }; 183cdf0e10cSrcweir 184cdf0e10cSrcweir FixedText FT_VECTORIZED 185cdf0e10cSrcweir { 186cdf0e10cSrcweir Pos = MAP_APPFONT ( 101 , 87 ); 187cdf0e10cSrcweir Size = MAP_APPFONT ( 92 , 12 ); 188cdf0e10cSrcweir Text [ en-US ] = "Vectorized image:"; 189cdf0e10cSrcweir }; 190cdf0e10cSrcweir 191cdf0e10cSrcweir Control CTL_WMF 192cdf0e10cSrcweir { 193cdf0e10cSrcweir Border = TRUE ; 194cdf0e10cSrcweir Pos = MAP_APPFONT ( 101, 98 ) ; 195cdf0e10cSrcweir Size = MAP_APPFONT ( 93, 100 ) ; 196cdf0e10cSrcweir Text [ en-US ] = "Vectorized image" ; 197cdf0e10cSrcweir }; 198cdf0e10cSrcweir 199cdf0e10cSrcweir FixedText GRP_PRGS 200cdf0e10cSrcweir { 201cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, 204 ); 202cdf0e10cSrcweir Size = MAP_APPFONT( 188, 8 ); 203cdf0e10cSrcweir Text [ en-US ] = "Progress"; 204cdf0e10cSrcweir }; 205cdf0e10cSrcweir 206cdf0e10cSrcweir Window WND_PRGS 207cdf0e10cSrcweir { 208cdf0e10cSrcweir Border = TRUE ; 209cdf0e10cSrcweir SVLook = TRUE ; 210cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, 215 ) ; 211cdf0e10cSrcweir Size = MAP_APPFONT ( 188, 10 ) ; 212cdf0e10cSrcweir Text [ en-US ] = "Progress" ; 213cdf0e10cSrcweir }; 214cdf0e10cSrcweir}; 215cdf0e10cSrcweir 216cdf0e10cSrcweir 217cdf0e10cSrcweir 218cdf0e10cSrcweir 219cdf0e10cSrcweir 220cdf0e10cSrcweir 221cdf0e10cSrcweir 222cdf0e10cSrcweir 223cdf0e10cSrcweir 224cdf0e10cSrcweir 225cdf0e10cSrcweir 226cdf0e10cSrcweir 227cdf0e10cSrcweir 228cdf0e10cSrcweir 229cdf0e10cSrcweir 230cdf0e10cSrcweir 231cdf0e10cSrcweir 232cdf0e10cSrcweir 233cdf0e10cSrcweir 234cdf0e10cSrcweir 235cdf0e10cSrcweir 236cdf0e10cSrcweir 237cdf0e10cSrcweir 238cdf0e10cSrcweir 239cdf0e10cSrcweir 240cdf0e10cSrcweir 241cdf0e10cSrcweir 242cdf0e10cSrcweir 243cdf0e10cSrcweir 244cdf0e10cSrcweir 245cdf0e10cSrcweir 246cdf0e10cSrcweir 247cdf0e10cSrcweir 248cdf0e10cSrcweir 249cdf0e10cSrcweir 250cdf0e10cSrcweir 251