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 "dlg_InsertAxis_Grid.hrc" 25#include "SchSlotIds.hxx" 26#include "HelpIds.hrc" 27#include "CommonResources.hrc" 28#include "res_SecondaryAxisCheckBoxes.hrc" 29 30ModalDialog DLG_AXIS_OR_GRID 31{ 32 HelpID = HID_INSERT_AXIS ; 33 OutputSize = TRUE ; 34 SVLook = TRUE ; 35 //Size = MAP_APPFONT ( 160 , 99 ) ; 36 Size = MAP_APPFONT ( 160 , 113 ) ; 37 Moveable = TRUE ; 38 39 FixedLine FL_PRIMARY_AXIS 40 { 41 Pos = MAP_APPFONT ( 6 , 3 ) ; 42 Size = MAP_APPFONT ( 92 , 8 ) ; 43 Text [ en-US ] = "Axes" ; 44 }; 45 FixedLine FL_PRIMARY_GRID 46 { 47 Hide = TRUE ; 48 Pos = MAP_APPFONT ( 6 , 3 ) ; 49 Size = MAP_APPFONT ( 92 , 8 ) ; 50 Text [ en-US ] = "Major grids" ; 51 }; 52 CheckBox CB_X_PRIMARY 53 { 54 HelpID = HID_SCH_CB_XAXIS; 55 56 Pos = MAP_APPFONT ( 12 , 14 ); 57 Size = MAP_APPFONT ( 80 , 10 ); 58 TabStop = TRUE; 59 Text [ en-US ] = "~X axis"; 60 }; 61 CheckBox CB_Y_PRIMARY 62 { 63 HelpID = HID_SCH_CB_YAXIS; 64 65 Pos = MAP_APPFONT ( 12 , 28 ); 66 Size = MAP_APPFONT ( 80 , 10 ); 67 TabStop = TRUE; 68 Text [ en-US ] = "~Y axis"; 69 }; 70 CheckBox CB_Z_PRIMARY 71 { 72 HelpID = HID_SCH_CB_ZAXIS; 73 74 Pos = MAP_APPFONT ( 12 , 42 ); 75 Size = MAP_APPFONT ( 80 , 10 ); 76 TabStop = TRUE; 77 Text [ en-US ] = "~Z axis"; 78 }; 79 80 FixedLine FL_SECONDARY_AXIS 81 { 82 Pos = MAP_APPFONT ( 6 , 58 ) ; 83 Size = MAP_APPFONT ( 92 , 8 ) ; 84 Text [ en-US ] = "Secondary axes" ; 85 }; 86 FixedLine FL_SECONDARY_GRID 87 { 88 Hide = TRUE ; 89 Pos = MAP_APPFONT ( 6 , 58 ) ; 90 Size = MAP_APPFONT ( 92 , 8 ) ; 91 Text [ en-US ] = "Minor grids" ; 92 }; 93 SECONDARYAXISCHECKBOXES( 12, 69, 0, 14 ) 94 BUTTONS_OK_CANCEL_HELP_STACKED(104) 95}; 96