1*158fda6aSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*158fda6aSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*158fda6aSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*158fda6aSAndrew Rist * distributed with this work for additional information 6*158fda6aSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*158fda6aSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*158fda6aSAndrew Rist * "License"); you may not use this file except in compliance 9*158fda6aSAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 11*158fda6aSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 13*158fda6aSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*158fda6aSAndrew Rist * software distributed under the License is distributed on an 15*158fda6aSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*158fda6aSAndrew Rist * KIND, either express or implied. See the License for the 17*158fda6aSAndrew Rist * specific language governing permissions and limitations 18*158fda6aSAndrew Rist * under the License. 19cdf0e10cSrcweir * 20*158fda6aSAndrew Rist *************************************************************/ 21*158fda6aSAndrew Rist 22*158fda6aSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#include "svtools/controldims.hrc" 25cdf0e10cSrcweir 26cdf0e10cSrcweir#include "dp_gui.hrc" 27cdf0e10cSrcweir 28cdf0e10cSrcweir#define LOCAL_WIDTH (50 * RSC_BS_CHARWIDTH) 29cdf0e10cSrcweir#define LOCAL_TEXT_HEIGHT (2 * RSC_CD_FIXEDTEXT_HEIGHT) 30cdf0e10cSrcweir#define LOCAL_LIST_HEIGHT (6 * RSC_BS_CHARHEIGHT) 31cdf0e10cSrcweir 32cdf0e10cSrcweirModalDialog RID_DLG_DEPENDENCIES { 33cdf0e10cSrcweir HelpID = "desktop:ModalDialog:RID_DLG_DEPENDENCIES"; 34cdf0e10cSrcweir Size = MAP_APPFONT( 35cdf0e10cSrcweir (RSC_SP_DLG_INNERBORDER_LEFT + LOCAL_WIDTH + 36cdf0e10cSrcweir RSC_SP_DLG_INNERBORDER_RIGHT), 37cdf0e10cSrcweir (RSC_SP_DLG_INNERBORDER_TOP + LOCAL_TEXT_HEIGHT + RSC_SP_CTRL_DESC_Y + 38cdf0e10cSrcweir LOCAL_LIST_HEIGHT + RSC_SP_CTRL_Y + RSC_CD_PUSHBUTTON_HEIGHT + 39cdf0e10cSrcweir RSC_SP_DLG_INNERBORDER_BOTTOM)); 40cdf0e10cSrcweir Text[en-US] = "System dependencies check"; 41cdf0e10cSrcweir Sizeable = TRUE; 42cdf0e10cSrcweir Moveable = TRUE; 43cdf0e10cSrcweir Closeable = TRUE; 44cdf0e10cSrcweir FixedText RID_DLG_DEPENDENCIES_TEXT { 45cdf0e10cSrcweir Pos = MAP_APPFONT( 46cdf0e10cSrcweir RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP); 47cdf0e10cSrcweir Size = MAP_APPFONT(LOCAL_WIDTH, LOCAL_TEXT_HEIGHT); 48cdf0e10cSrcweir Text[en-US] = "The extension cannot be installed as the following\nsystem dependencies are not fulfilled:"; 49cdf0e10cSrcweir NoLabel = TRUE; 50cdf0e10cSrcweir }; 51cdf0e10cSrcweir ListBox RID_DLG_DEPENDENCIES_LIST { 52cdf0e10cSrcweir HelpID = "desktop:ListBox:RID_DLG_DEPENDENCIES:RID_DLG_DEPENDENCIES_LIST"; 53cdf0e10cSrcweir Pos = MAP_APPFONT( 54cdf0e10cSrcweir RSC_SP_DLG_INNERBORDER_LEFT, 55cdf0e10cSrcweir (RSC_SP_DLG_INNERBORDER_TOP + LOCAL_TEXT_HEIGHT + 56cdf0e10cSrcweir RSC_SP_CTRL_DESC_Y)); 57cdf0e10cSrcweir Size = MAP_APPFONT(LOCAL_WIDTH, LOCAL_LIST_HEIGHT); 58cdf0e10cSrcweir }; 59cdf0e10cSrcweir OKButton RID_DLG_DEPENDENCIES_OK { 60cdf0e10cSrcweir Pos = MAP_APPFONT( 61cdf0e10cSrcweir (RSC_SP_DLG_INNERBORDER_LEFT + 62cdf0e10cSrcweir (LOCAL_WIDTH - RSC_CD_PUSHBUTTON_WIDTH) / 2), 63cdf0e10cSrcweir (RSC_SP_DLG_INNERBORDER_TOP + LOCAL_TEXT_HEIGHT + 64cdf0e10cSrcweir RSC_SP_CTRL_DESC_Y + LOCAL_LIST_HEIGHT + RSC_SP_CTRL_Y)); 65cdf0e10cSrcweir Size = MAP_APPFONT(RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT); 66cdf0e10cSrcweir DefButton = TRUE; 67cdf0e10cSrcweir }; 68cdf0e10cSrcweir}; 69