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#include "svtools/controldims.hrc"
23
24#include "dp_gui.hrc"
25
26#define LOCAL_WIDTH (50 * RSC_BS_CHARWIDTH)
27#define LOCAL_TEXT_HEIGHT (2 * RSC_CD_FIXEDTEXT_HEIGHT)
28#define LOCAL_LIST_HEIGHT (6 * RSC_BS_CHARHEIGHT)
29
30ModalDialog RID_DLG_DEPENDENCIES
31{
32	HelpID = "desktop:ModalDialog:RID_DLG_DEPENDENCIES" ;
33	Size = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + LOCAL_WIDTH + RSC_SP_DLG_INNERBORDER_RIGHT,
34		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	Text [en-US] = "System dependencies check" ;
36	Sizeable = TRUE ;
37	Moveable = TRUE ;
38	Closeable = TRUE ;
39	FixedText RID_DLG_DEPENDENCIES_TEXT
40	{
41		Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP ) ;
42		Size = MAP_APPFONT ( LOCAL_WIDTH, LOCAL_TEXT_HEIGHT ) ;
43		Text [en-US] = "The extension cannot be installed as the following\nsystem dependencies are not fulfilled:";
44		NoLabel = TRUE ;
45	};
46	ListBox RID_DLG_DEPENDENCIES_LIST
47	{
48		HelpID = "desktop:ListBox:RID_DLG_DEPENDENCIES:RID_DLG_DEPENDENCIES_LIST" ;
49		Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP + LOCAL_TEXT_HEIGHT + RSC_SP_CTRL_DESC_Y ) ;
50		Size = MAP_APPFONT ( LOCAL_WIDTH, LOCAL_LIST_HEIGHT ) ;
51	};
52	OKButton RID_DLG_DEPENDENCIES_OK
53	{
54		Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + LOCAL_WIDTH - RSC_CD_PUSHBUTTON_WIDTH / 2,
55			RSC_SP_DLG_INNERBORDER_TOP + LOCAL_TEXT_HEIGHT + RSC_SP_CTRL_DESC_Y + LOCAL_LIST_HEIGHT + RSC_SP_CTRL_Y ) ;
56		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
57		DefButton = TRUE ;
58	};
59};
60
61// ********************************************************************** EOF
62