xref: /aoo4110/main/uui/source/newerverwarn.src (revision b1cdbd2c)
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
23
24#define __RSC
25
26#include "newerverwarn.hrc"
27#include "ids.hrc"
28
29#define STD_MASKCOLOR Color { Red=0xffff; Green=0x0000; Blue=0xffff; }
30
31ModalDialog RID_DLG_NEWER_VERSION_WARNING
32{
33    HelpId = HID_DLG_NEWERVERSIONWARNING;
34	OutputSize = TRUE ;
35    Size = MAP_APPFONT ( DLG_WIDTH , DLG_HEIGHT ) ;
36	SvLook = TRUE ;
37	Moveable = TRUE ;
38    Closeable = TRUE ;
39    Text [ en-US ] = "%PRODUCTNAME Update Available" ;
40    FixedImage FI_IMAGE
41    {
42        Pos = MAP_APPFONT ( COL_1 , ROW_1  );
43        Size = MAP_APPFONT ( IMAGE_WIDTH , IMAGE_HEIGHT );
44        Hide = FALSE;
45        Fixed = Image
46        {
47            ImageBitmap = Bitmap { File = "versionwarning.png"; };
48            MaskColor = STD_MASKCOLOR;
49        };
50    };
51    FixedText FT_INFO
52    {
53        Pos = MAP_APPFONT( COL_2, ROW_1 );
54        Size = MAP_APPFONT( INFO_WIDTH, INFO_LINES * RSC_CD_FIXEDTEXT_HEIGHT );
55        Wordbreak = TRUE;
56        Text [ en-US ] = "This document was created by a newer version of %PRODUCTNAME. It may contain features not supported by your current version.\n\nClick 'Update Now...' to run online update and get the latest version of %PRODUCTNAME.";
57    };
58    FixedLine FL_BUTTON
59	{
60        Pos = MAP_APPFONT ( 0 , ROW_2 ) ;
61        Size = MAP_APPFONT ( DLG_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ;
62	};
63    PushButton PB_UPDATE
64	{
65        HelpID = "uui:PushButton:RID_DLG_NEWER_VERSION_WARNING:PB_UPDATE";
66        Pos = MAP_APPFONT ( COL_3 , ROW_3 ) ;
67        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
68		TabStop = TRUE ;
69        Text [ en-US ] = "~Update Now..." ;
70	};
71    CancelButton PB_LATER
72    {
73        Pos = MAP_APPFONT ( COL_4 , ROW_3 ) ;
74        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
75        TabStop = TRUE ;
76        Text [ en-US ] = "~Later" ;
77    };
78};
79