xref: /aoo4110/main/uui/source/newerverwarn.hrc (revision b1cdbd2c)
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 _NEWERVERSIONWARNING_HRC
24#define _NEWERVERSIONWARNING_HRC
25
26#include <svtools/controldims.hrc>
27
28#define FI_IMAGE            10
29#define FT_INFO             11
30#define FL_BUTTON           12
31#define PB_UPDATE           13
32#define PB_LATER            14
33
34#define IMAGE_WIDTH         20
35#define IMAGE_HEIGHT        IMAGE_WIDTH
36#define INFO_WIDTH          180
37#define INFO_LINES          7
38#define DLG_WIDTH           (RSC_SP_DLG_INNERBORDER_LEFT + IMAGE_WIDTH + RSC_SP_CTRL_X + INFO_WIDTH + RSC_SP_DLG_INNERBORDER_RIGHT)
39
40#define COL_1               RSC_SP_DLG_INNERBORDER_LEFT
41#define COL_2               (COL_1 + IMAGE_WIDTH + RSC_SP_CTRL_X)
42#define COL_4               (DLG_WIDTH - RSC_SP_DLG_INNERBORDER_LEFT - RSC_CD_PUSHBUTTON_WIDTH)
43#define COL_3               (COL_4 - RSC_SP_CTRL_GROUP_X - RSC_CD_PUSHBUTTON_WIDTH)
44
45#define ROW_1               RSC_SP_DLG_INNERBORDER_TOP
46#define ROW_2               (ROW_1 + INFO_LINES * RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_GROUP_Y)
47#define ROW_3               (ROW_2 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_CTRL_GROUP_Y)
48
49#define DLG_HEIGHT          (ROW_3 + RSC_CD_PUSHBUTTON_HEIGHT + RSC_SP_DLG_INNERBORDER_BOTTOM)
50#define MAX_BUTTON_WIDTH    (DLG_WIDTH - RSC_SP_DLG_INNERBORDER_LEFT - RSC_SP_DLG_INNERBORDER_RIGHT - RSC_SP_CTRL_GROUP_X) / 2
51
52#endif // #ifndef _NEWERVERSIONWARNING_HRC
53
54