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#ifndef EXTENSIONS_PROPRESID_HRC 23#include "formresid.hrc" 24#endif 25#ifndef EXTENSIONS_SOURCE_PROPCTRLR_NEWDATATYPE_HRC 26#include "newdatatype.hrc" 27#endif 28 29#define DIALOG_WIDTH 150 30#define DIALOG_HEIGHT 55 31#define BUTTON_WIDTH 50 32#define BUTTON_HEIGHT 14 33 34ModalDialog RID_DLG_NEW_DATA_TYPE 35{ 36 HelpID = "extensions:ModalDialog:RID_DLG_NEW_DATA_TYPE" ; 37 OutputSize = TRUE ; 38 Moveable = TRUE ; 39 Closeable = TRUE ; 40 SVLook = TRUE ; 41 Size = MAP_APPFONT ( DIALOG_WIDTH, DIALOG_HEIGHT ) ; 42 43 Text [ en-US ] = "New Data Type" ; 44 45 FixedText FT_LABEL 46 { 47 Pos = MAP_APPFONT ( 6, 6 ) ; 48 Size = MAP_APPFONT ( DIALOG_WIDTH - 2 * 6, 8 ) ; 49 50 Text [ en-US ] = "Type a name for the new data type:" ; 51 }; 52 53 Edit ED_NAME 54 { 55 HelpID = "extensions:Edit:RID_DLG_NEW_DATA_TYPE:ED_NAME" ; 56 Pos = MAP_APPFONT ( 6, 17 ) ; 57 Size = MAP_APPFONT ( DIALOG_WIDTH - 2 * 6, 12 ) ; 58 Border = TRUE ; 59 }; 60 61 OKButton PB_OK 62 { 63 Pos = MAP_APPFONT ( DIALOG_WIDTH - 6 - BUTTON_WIDTH - 3 - BUTTON_WIDTH, 35 ) ; 64 Size = MAP_APPFONT ( BUTTON_WIDTH, BUTTON_HEIGHT ) ; 65 DefButton = TRUE ; 66 }; 67 68 CancelButton PB_CANCEL 69 { 70 Pos = MAP_APPFONT ( DIALOG_WIDTH - 6 - BUTTON_WIDTH, 35 ) ; 71 Size = MAP_APPFONT ( BUTTON_WIDTH, BUTTON_HEIGHT ) ; 72 }; 73}; 74 75// ******************************************************************* EOF 76