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#ifndef _CHART2_SECONDARYAXISCHECKBOXES_HXX
24#define _CHART2_SECONDARYAXISCHECKBOXES_HXX
25
26#define SECONDARYAXISCHECKBOXES_WIDTH 42
27#define SECONDARYAXISCHECKBOXES_HEIGHT 10
28
29#define SECONDARYAXISCHECKBOXES( xpos, ypos, xOffset, yOffset ) \
30CheckBox CB_X_SECONDARY \
31{ \
32    HelpID = HID_SCH_CB_SECONDARY_XAXIS; \
33	Pos = MAP_APPFONT ( xpos , ypos  ); \
34	Size = MAP_APPFONT ( SECONDARYAXISCHECKBOXES_WIDTH , SECONDARYAXISCHECKBOXES_HEIGHT ); \
35	TabStop = TRUE; \
36	Text [ en-US ] = "X ~axis"; \
37}; \
38CheckBox CB_Y_SECONDARY \
39{ \
40    HelpID = HID_SCH_CB_SECONDARY_YAXIS; \
41	Pos = MAP_APPFONT ( xpos+xOffset , ypos+yOffset  ); \
42	Size = MAP_APPFONT ( SECONDARYAXISCHECKBOXES_WIDTH , SECONDARYAXISCHECKBOXES_HEIGHT ); \
43	TabStop = TRUE; \
44	Text [ en-US ] = "Y ax~is"; \
45}; \
46CheckBox CB_Z_SECONDARY \
47{ \
48    HelpID = HID_SCH_CB_SECONDARY_ZAXIS; \
49	Pos = MAP_APPFONT ( xpos+2*xOffset , ypos+2*yOffset  ); \
50	Size = MAP_APPFONT ( SECONDARYAXISCHECKBOXES_WIDTH , SECONDARYAXISCHECKBOXES_HEIGHT ); \
51	TabStop = TRUE; \
52	Text [ en-US ] = "Z axi~s"; \
53};
54
55#endif
56