1*e38fe63cSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*e38fe63cSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*e38fe63cSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*e38fe63cSAndrew Rist * distributed with this work for additional information 6*e38fe63cSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*e38fe63cSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*e38fe63cSAndrew Rist * "License"); you may not use this file except in compliance 9*e38fe63cSAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 11*e38fe63cSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 13*e38fe63cSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*e38fe63cSAndrew Rist * software distributed under the License is distributed on an 15*e38fe63cSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*e38fe63cSAndrew Rist * KIND, either express or implied. See the License for the 17*e38fe63cSAndrew Rist * specific language governing permissions and limitations 18*e38fe63cSAndrew Rist * under the License. 19cdf0e10cSrcweir * 20*e38fe63cSAndrew Rist *************************************************************/ 21*e38fe63cSAndrew Rist 22*e38fe63cSAndrew Rist 23cdf0e10cSrcweir#ifndef _CHART2_SECONDARYAXISCHECKBOXES_HXX 24cdf0e10cSrcweir#define _CHART2_SECONDARYAXISCHECKBOXES_HXX 25cdf0e10cSrcweir 26cdf0e10cSrcweir#define SECONDARYAXISCHECKBOXES_WIDTH 42 27cdf0e10cSrcweir#define SECONDARYAXISCHECKBOXES_HEIGHT 10 28cdf0e10cSrcweir 29cdf0e10cSrcweir#define SECONDARYAXISCHECKBOXES( xpos, ypos, xOffset, yOffset ) \ 30cdf0e10cSrcweirCheckBox CB_X_SECONDARY \ 31cdf0e10cSrcweir{ \ 32cdf0e10cSrcweir HelpID = HID_SCH_CB_SECONDARY_XAXIS; \ 33cdf0e10cSrcweir Pos = MAP_APPFONT ( xpos , ypos ); \ 34cdf0e10cSrcweir Size = MAP_APPFONT ( SECONDARYAXISCHECKBOXES_WIDTH , SECONDARYAXISCHECKBOXES_HEIGHT ); \ 35cdf0e10cSrcweir TabStop = TRUE; \ 36cdf0e10cSrcweir Text [ en-US ] = "X ~axis"; \ 37cdf0e10cSrcweir}; \ 38cdf0e10cSrcweirCheckBox CB_Y_SECONDARY \ 39cdf0e10cSrcweir{ \ 40cdf0e10cSrcweir HelpID = HID_SCH_CB_SECONDARY_YAXIS; \ 41cdf0e10cSrcweir Pos = MAP_APPFONT ( xpos+xOffset , ypos+yOffset ); \ 42cdf0e10cSrcweir Size = MAP_APPFONT ( SECONDARYAXISCHECKBOXES_WIDTH , SECONDARYAXISCHECKBOXES_HEIGHT ); \ 43cdf0e10cSrcweir TabStop = TRUE; \ 44cdf0e10cSrcweir Text [ en-US ] = "Y ax~is"; \ 45cdf0e10cSrcweir}; \ 46cdf0e10cSrcweirCheckBox CB_Z_SECONDARY \ 47cdf0e10cSrcweir{ \ 48cdf0e10cSrcweir HelpID = HID_SCH_CB_SECONDARY_ZAXIS; \ 49cdf0e10cSrcweir Pos = MAP_APPFONT ( xpos+2*xOffset , ypos+2*yOffset ); \ 50cdf0e10cSrcweir Size = MAP_APPFONT ( SECONDARYAXISCHECKBOXES_WIDTH , SECONDARYAXISCHECKBOXES_HEIGHT ); \ 51cdf0e10cSrcweir TabStop = TRUE; \ 52cdf0e10cSrcweir Text [ en-US ] = "Z axi~s"; \ 53cdf0e10cSrcweir}; 54cdf0e10cSrcweir 55cdf0e10cSrcweir#endif 56