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