xref: /aoo42x/main/uui/source/masterpasscrtdlg.hrc (revision 4a0882b5)
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#ifndef UUI_MASTERPASSCRT_HRC
25#define UUI_MASTERPASSCRT_HRC
26
27#include <svtools/controldims.hrc>
28
29//============================================================================
30
31#define FT_INFOTEXT                 10
32#define FL_INFOTEXT                 11
33
34#define FT_MASTERPASSWORD_CRT       20
35#define ED_MASTERPASSWORD_CRT       21
36#define FT_MASTERPASSWORD_REPEAT	22
37#define ED_MASTERPASSWORD_REPEAT	23
38#define FT_MASTERPASSWORD_WARNING	24
39#define FL_FIXED_LINE               30
40
41#define FT_CAUTIONTEXT              30
42#define FL_CAUTIONTEXT              31
43
44#define BTN_MASTERPASSCRT_OK		50
45#define BTN_MASTERPASSCRT_CANCEL	51
46#define BTN_MASTERPASSCRT_HELP		52
47
48#define ROW_0                       (RSC_SP_FLGR_INNERBORDER_TOP)
49#define ROW_1                       (ROW_0+7*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
50#define ROW_2                       (ROW_1+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_CTRL_DESC_Y)
51#define ROW_3                       (ROW_2+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
52#define ROW_4                       (ROW_3+RSC_CD_TEXTBOX_HEIGHT+RSC_SP_CTRL_DESC_Y)
53#define ROW_5                       (ROW_4+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
54#define ROW_6                       (ROW_5+RSC_CD_TEXTBOX_HEIGHT+RSC_SP_CTRL_X)
55#define ROW_7                       (ROW_6+8*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
56#define ROW_8                       (ROW_7+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_CTRL_DESC_Y)
57#define ROW_9                       (ROW_8+RSC_CD_PUSHBUTTON_HEIGHT+RSC_SP_CTRL_X)
58
59#define COL_0                       (RSC_SP_FLGR_INNERBORDER_LEFT)
60#define COL_2                       (DLG_WIDTH-RSC_SP_FLGR_INNERBORDER_LEFT-RSC_CD_PUSHBUTTON_WIDTH)
61#define COL_1                       (COL_2-RSC_SP_CTRL_GROUP_X-RSC_CD_PUSHBUTTON_WIDTH)
62
63#define DLG_WIDTH                   180
64#define CTRL_WIDTH                  (DLG_WIDTH-2*RSC_SP_FLGR_INNERBORDER_LEFT)
65#define DLG_HEIGHT                  (ROW_9)
66
67#endif // UUI_MASTERPASSCRT_HRC
68
69