xref: /AOO41X/main/chart2/source/controller/dialogs/CommonResources.hrc (revision e38fe63c57a44e8889a36af33f82cca42a95b52a)
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_RESOURCE_HXX
24cdf0e10cSrcweir#define _CHART2_RESOURCE_HXX
25cdf0e10cSrcweir
26cdf0e10cSrcweir#define BUTTONS_OK_CANCEL_HELP( xPos, yPos, xOffset, yOffset ) \
27cdf0e10cSrcweirOKButton BTN_OK \
28cdf0e10cSrcweir{ \
29cdf0e10cSrcweir	Pos = MAP_APPFONT ( xPos , yPos ) ; \
30cdf0e10cSrcweir	Size = MAP_APPFONT ( 50 , 14 ) ; \
31cdf0e10cSrcweir	TabStop = TRUE ; \
32cdf0e10cSrcweir	DefButton = TRUE ; \
33cdf0e10cSrcweir}; \
34cdf0e10cSrcweirCancelButton BTN_CANCEL \
35cdf0e10cSrcweir{ \
36cdf0e10cSrcweir	Pos = MAP_APPFONT ( xPos+xOffset , yPos+yOffset  ) ; \
37cdf0e10cSrcweir	Size = MAP_APPFONT ( 50 , 14 ) ; \
38cdf0e10cSrcweir	TabStop = TRUE ; \
39cdf0e10cSrcweir}; \
40cdf0e10cSrcweirHelpButton BTN_HELP \
41cdf0e10cSrcweir{ \
42cdf0e10cSrcweir	Pos = MAP_APPFONT ( xPos+xOffset+xOffset , yPos+yOffset+yOffset  ) ; \
43cdf0e10cSrcweir	Size = MAP_APPFONT ( 50 , 14 ) ; \
44cdf0e10cSrcweir	TabStop = TRUE ; \
45cdf0e10cSrcweir};
46cdf0e10cSrcweir
47cdf0e10cSrcweir#define BUTTONS_OK_CANCEL_HELP_STACKED( xPos ) \
48cdf0e10cSrcweirBUTTONS_OK_CANCEL_HELP( xPos, 6, 0, 17 )
49cdf0e10cSrcweir
50cdf0e10cSrcweir#define BUTTONS_HELP_OK_CANCEL( xPos, yPos, xOffset, yOffset ) \
51cdf0e10cSrcweirHelpButton BTN_HELP \
52cdf0e10cSrcweir{ \
53cdf0e10cSrcweir    Pos = MAP_APPFONT ( xPos , yPos ) ; \
54cdf0e10cSrcweir	Size = MAP_APPFONT ( 50 , 14 ) ; \
55cdf0e10cSrcweir	TabStop = TRUE ; \
56cdf0e10cSrcweir}; \
57cdf0e10cSrcweirOKButton BTN_OK \
58cdf0e10cSrcweir{ \
59cdf0e10cSrcweir	Pos = MAP_APPFONT ( xPos+xOffset , yPos+yOffset  ) ; \
60cdf0e10cSrcweir	Size = MAP_APPFONT ( 50 , 14 ) ; \
61cdf0e10cSrcweir	TabStop = TRUE ; \
62cdf0e10cSrcweir	DefButton = TRUE ; \
63cdf0e10cSrcweir}; \
64cdf0e10cSrcweirCancelButton BTN_CANCEL \
65cdf0e10cSrcweir{ \
66cdf0e10cSrcweir	Pos = MAP_APPFONT ( xPos+xOffset+xOffset , yPos+yOffset+yOffset  ) ; \
67cdf0e10cSrcweir	Size = MAP_APPFONT ( 50 , 14 ) ; \
68cdf0e10cSrcweir	TabStop = TRUE ; \
69cdf0e10cSrcweir};
70cdf0e10cSrcweir
71cdf0e10cSrcweir#define BUTTONS_HELP_OK_CANCEL_NEXT( xPos, yPos ) \
72cdf0e10cSrcweirBUTTONS_HELP_OK_CANCEL( xPos, yPos, 53, 0 )
73cdf0e10cSrcweir
74cdf0e10cSrcweir
75cdf0e10cSrcweir#endif
76