1*2f531595SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*2f531595SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*2f531595SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*2f531595SAndrew Rist * distributed with this work for additional information
6*2f531595SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*2f531595SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*2f531595SAndrew Rist * "License"); you may not use this file except in compliance
9*2f531595SAndrew Rist * with the License.  You may obtain a copy of the License at
10*2f531595SAndrew Rist *
11*2f531595SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*2f531595SAndrew Rist *
13*2f531595SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*2f531595SAndrew Rist * software distributed under the License is distributed on an
15*2f531595SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*2f531595SAndrew Rist * KIND, either express or implied.  See the License for the
17*2f531595SAndrew Rist * specific language governing permissions and limitations
18*2f531595SAndrew Rist * under the License.
19*2f531595SAndrew Rist *
20*2f531595SAndrew Rist *************************************************************/
21*2f531595SAndrew Rist
22*2f531595SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "dlg_InsertAxis_Grid.hrc"
25cdf0e10cSrcweir#include "SchSlotIds.hxx"
26cdf0e10cSrcweir#include "HelpIds.hrc"
27cdf0e10cSrcweir#include "CommonResources.hrc"
28cdf0e10cSrcweir#include "res_SecondaryAxisCheckBoxes.hrc"
29cdf0e10cSrcweir
30cdf0e10cSrcweirModalDialog DLG_AXIS_OR_GRID
31cdf0e10cSrcweir{
32cdf0e10cSrcweir	HelpID = HID_INSERT_AXIS ;
33cdf0e10cSrcweir	OutputSize = TRUE ;
34cdf0e10cSrcweir	SVLook = TRUE ;
35cdf0e10cSrcweir	//Size = MAP_APPFONT ( 160 , 99 ) ;
36cdf0e10cSrcweir	Size = MAP_APPFONT ( 160 , 113 ) ;
37cdf0e10cSrcweir	Moveable = TRUE ;
38cdf0e10cSrcweir
39cdf0e10cSrcweir	FixedLine FL_PRIMARY_AXIS
40cdf0e10cSrcweir	{
41cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 3  ) ;
42cdf0e10cSrcweir		Size = MAP_APPFONT ( 92 , 8 ) ;
43cdf0e10cSrcweir		Text [ en-US ] = "Axes" ;
44cdf0e10cSrcweir	};
45cdf0e10cSrcweir	FixedLine FL_PRIMARY_GRID
46cdf0e10cSrcweir	{
47cdf0e10cSrcweir	    Hide = TRUE ;
48cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 3  ) ;
49cdf0e10cSrcweir		Size = MAP_APPFONT ( 92 , 8 ) ;
50cdf0e10cSrcweir		Text [ en-US ] = "Major grids" ;
51cdf0e10cSrcweir	};
52cdf0e10cSrcweir	CheckBox CB_X_PRIMARY
53cdf0e10cSrcweir	{
54cdf0e10cSrcweir	    HelpID = HID_SCH_CB_XAXIS;
55cdf0e10cSrcweir
56cdf0e10cSrcweir		Pos = MAP_APPFONT ( 12 , 14  );
57cdf0e10cSrcweir		Size = MAP_APPFONT ( 80 , 10 );
58cdf0e10cSrcweir		TabStop = TRUE;
59cdf0e10cSrcweir		Text [ en-US ] = "~X axis";
60cdf0e10cSrcweir	};
61cdf0e10cSrcweir	CheckBox CB_Y_PRIMARY
62cdf0e10cSrcweir	{
63cdf0e10cSrcweir	    HelpID = HID_SCH_CB_YAXIS;
64cdf0e10cSrcweir
65cdf0e10cSrcweir		Pos = MAP_APPFONT ( 12 , 28  );
66cdf0e10cSrcweir		Size = MAP_APPFONT ( 80 , 10 );
67cdf0e10cSrcweir		TabStop = TRUE;
68cdf0e10cSrcweir		Text [ en-US ] = "~Y axis";
69cdf0e10cSrcweir	};
70cdf0e10cSrcweir	CheckBox CB_Z_PRIMARY
71cdf0e10cSrcweir	{
72cdf0e10cSrcweir	    HelpID = HID_SCH_CB_ZAXIS;
73cdf0e10cSrcweir
74cdf0e10cSrcweir		Pos = MAP_APPFONT ( 12 , 42  );
75cdf0e10cSrcweir		Size = MAP_APPFONT ( 80 , 10 );
76cdf0e10cSrcweir		TabStop = TRUE;
77cdf0e10cSrcweir		Text [ en-US ] = "~Z axis";
78cdf0e10cSrcweir	};
79cdf0e10cSrcweir
80cdf0e10cSrcweir	FixedLine FL_SECONDARY_AXIS
81cdf0e10cSrcweir	{
82cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 58  ) ;
83cdf0e10cSrcweir		Size = MAP_APPFONT ( 92 , 8 ) ;
84cdf0e10cSrcweir		Text [ en-US ] = "Secondary axes" ;
85cdf0e10cSrcweir	};
86cdf0e10cSrcweir	FixedLine FL_SECONDARY_GRID
87cdf0e10cSrcweir	{
88cdf0e10cSrcweir	    Hide = TRUE ;
89cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 58  ) ;
90cdf0e10cSrcweir		Size = MAP_APPFONT ( 92 , 8 ) ;
91cdf0e10cSrcweir		Text [ en-US ] = "Minor grids" ;
92cdf0e10cSrcweir	};
93cdf0e10cSrcweir    SECONDARYAXISCHECKBOXES( 12, 69, 0, 14 )
94cdf0e10cSrcweir    BUTTONS_OK_CANCEL_HELP_STACKED(104)
95cdf0e10cSrcweir};
96