1*4a0882b5SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*4a0882b5SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*4a0882b5SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*4a0882b5SAndrew Rist * distributed with this work for additional information 6*4a0882b5SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*4a0882b5SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*4a0882b5SAndrew Rist * "License"); you may not use this file except in compliance 9*4a0882b5SAndrew Rist * with the License. You may obtain a copy of the License at 10*4a0882b5SAndrew Rist * 11*4a0882b5SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*4a0882b5SAndrew Rist * 13*4a0882b5SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*4a0882b5SAndrew Rist * software distributed under the License is distributed on an 15*4a0882b5SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*4a0882b5SAndrew Rist * KIND, either express or implied. See the License for the 17*4a0882b5SAndrew Rist * specific language governing permissions and limitations 18*4a0882b5SAndrew Rist * under the License. 19*4a0882b5SAndrew Rist * 20*4a0882b5SAndrew Rist *************************************************************/ 21*4a0882b5SAndrew Rist 22*4a0882b5SAndrew Rist 23cdf0e10cSrcweir#ifndef _NEWERVERSIONWARNING_HRC 24cdf0e10cSrcweir#define _NEWERVERSIONWARNING_HRC 25cdf0e10cSrcweir 26cdf0e10cSrcweir#include <svtools/controldims.hrc> 27cdf0e10cSrcweir 28cdf0e10cSrcweir#define FI_IMAGE 10 29cdf0e10cSrcweir#define FT_INFO 11 30cdf0e10cSrcweir#define FL_BUTTON 12 31cdf0e10cSrcweir#define PB_UPDATE 13 32cdf0e10cSrcweir#define PB_LATER 14 33cdf0e10cSrcweir 34cdf0e10cSrcweir#define IMAGE_WIDTH 20 35cdf0e10cSrcweir#define IMAGE_HEIGHT IMAGE_WIDTH 36cdf0e10cSrcweir#define INFO_WIDTH 180 37cdf0e10cSrcweir#define INFO_LINES 7 38cdf0e10cSrcweir#define DLG_WIDTH (RSC_SP_DLG_INNERBORDER_LEFT + IMAGE_WIDTH + RSC_SP_CTRL_X + INFO_WIDTH + RSC_SP_DLG_INNERBORDER_RIGHT) 39cdf0e10cSrcweir 40cdf0e10cSrcweir#define COL_1 RSC_SP_DLG_INNERBORDER_LEFT 41cdf0e10cSrcweir#define COL_2 (COL_1 + IMAGE_WIDTH + RSC_SP_CTRL_X) 42cdf0e10cSrcweir#define COL_4 (DLG_WIDTH - RSC_SP_DLG_INNERBORDER_LEFT - RSC_CD_PUSHBUTTON_WIDTH) 43cdf0e10cSrcweir#define COL_3 (COL_4 - RSC_SP_CTRL_GROUP_X - RSC_CD_PUSHBUTTON_WIDTH) 44cdf0e10cSrcweir 45cdf0e10cSrcweir#define ROW_1 RSC_SP_DLG_INNERBORDER_TOP 46cdf0e10cSrcweir#define ROW_2 (ROW_1 + INFO_LINES * RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_GROUP_Y) 47cdf0e10cSrcweir#define ROW_3 (ROW_2 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_CTRL_GROUP_Y) 48cdf0e10cSrcweir 49cdf0e10cSrcweir#define DLG_HEIGHT (ROW_3 + RSC_CD_PUSHBUTTON_HEIGHT + RSC_SP_DLG_INNERBORDER_BOTTOM) 50cdf0e10cSrcweir#define MAX_BUTTON_WIDTH (DLG_WIDTH - RSC_SP_DLG_INNERBORDER_LEFT - RSC_SP_DLG_INNERBORDER_RIGHT - RSC_SP_CTRL_GROUP_X) / 2 51cdf0e10cSrcweir 52cdf0e10cSrcweir#endif // #ifndef _NEWERVERSIONWARNING_HRC 53cdf0e10cSrcweir 54