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 "layeroptionsdlg.hrc" 26#include "helpids.h" 27 28ModalDialog DLG_INSERT_LAYER 29{ 30 HelpID = CMD_SID_INSERTLAYER ; 31 OutputSize = TRUE ; 32 SVLook = TRUE ; 33 Size = MAP_APPFONT ( 200, 172 ) ; 34 Text [ en-US ] = "Insert Layer" ; 35 Moveable = TRUE ; 36 37 FixedText FT_NAME 38 { 39 Pos = MAP_APPFONT ( 6, 6 ) ; 40 Size = MAP_APPFONT ( 188, 8 ) ; 41 Text [ en-US ] = "~Name" ; 42 }; 43 44 Edit EDT_NAME 45 { 46 HelpID = "sd:Edit:DLG_INSERT_LAYER:EDT_NAME" ; 47 Border = TRUE ; 48 Pos = MAP_APPFONT ( 6, 17 ) ; 49 Size = MAP_APPFONT ( 188, 12 ) ; 50 TabStop = TRUE ; 51 }; 52 53 FixedText FT_TITLE 54 { 55 Pos = MAP_APPFONT ( 6, 32 ) ; 56 Size = MAP_APPFONT ( 188, 8 ) ; 57 Text [ en-US ] = "~Title" ; 58 }; 59 60 Edit EDT_TITLE 61 { 62 HelpID = "sd:Edit:DLG_INSERT_LAYER:EDT_TITLE" ; 63 Border = TRUE ; 64 Pos = MAP_APPFONT ( 6, 43 ) ; 65 Size = MAP_APPFONT ( 188, 12 ) ; 66 TabStop = TRUE ; 67 }; 68 69 FixedText FT_DESCRIPTION 70 { 71 Pos = MAP_APPFONT ( 6, 58 ) ; 72 Size = MAP_APPFONT ( 188, 8 ) ; 73 Text [ en-US ] = "~Description" ; 74 }; 75 76 MultiLineEdit EDT_DESCRIPTION 77 { 78 HelpID = "sd:MultiLineEdit:DLG_INSERT_LAYER:EDT_DESCRIPTION" ; 79 Border = TRUE ; 80 Pos = MAP_APPFONT ( 6, 69 ) ; 81 Size = MAP_APPFONT ( 188, 34 ) ; 82 TabStop = TRUE ; 83 IgnoreTab = TRUE ; 84 VScroll = TRUE ; 85 }; 86 87 CheckBox CBX_VISIBLE 88 { 89 HelpID = "sd:CheckBox:DLG_INSERT_LAYER:CBX_VISIBLE" ; 90 Pos = MAP_APPFONT ( 6, 106 ) ; 91 Size = MAP_APPFONT ( 188, 10 ) ; 92 Text [ en-US ] = "~Visible" ; 93 TabStop = TRUE ; 94 }; 95 96 CheckBox CBX_PRINTABLE 97 { 98 HelpID = "sd:CheckBox:DLG_INSERT_LAYER:CBX_PRINTABLE" ; 99 Pos = MAP_APPFONT ( 6, 119 ) ; 100 Size = MAP_APPFONT ( 188, 10 ) ; 101 Text [ en-US ] = "~Printable" ; 102 TabStop = TRUE ; 103 }; 104 105 CheckBox CBX_LOCKED 106 { 107 HelpID = "sd:CheckBox:DLG_INSERT_LAYER:CBX_LOCKED" ; 108 Pos = MAP_APPFONT ( 6, 132 ) ; 109 Size = MAP_APPFONT ( 188, 10 ) ; 110 Text [ en-US ] = "~Locked" ; 111 TabStop = TRUE ; 112 }; 113 114 // Divider 115 FixedLine FL_SEPARATOR_B 116 { 117 Pos = MAP_APPFONT ( 0, 144 ) ; 118 Size = MAP_APPFONT ( 200, 4 ) ; 119 }; 120 121 // Buttons 122 HelpButton BTN_HELP 123 { 124 Pos = MAP_APPFONT ( 6, 152 ) ; 125 Size = MAP_APPFONT ( 50, 14 ) ; 126 TabStop = TRUE ; 127 }; 128 OKButton BTN_OK 129 { 130 Pos = MAP_APPFONT ( 200 - (50 + 50 + 9), 152) ; 131 Size = MAP_APPFONT ( 50, 14 ) ; 132 TabStop = TRUE ; 133 DefButton = TRUE ; 134 }; 135 CancelButton BTN_CANCEL 136 { 137 Pos = MAP_APPFONT ( 200 - (50 + 6), 152) ; 138 Size = MAP_APPFONT ( 50, 14 ) ; 139 TabStop = TRUE ; 140 }; 141}; 142 143// ********************************************************************** EOF 144