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