xref: /trunk/main/cui/source/options/optmemory.hrc (revision 8414840e)
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#ifndef _OFA_OPTMEMORY_HRC
24#define _OFA_OPTMEMORY_HRC
25
26#include <svtools/controldims.hrc>
27
28// defines for positions and sizes ---------------------------------------
29
30#define WHOLE_WIDTH				248
31
32#define COLSPACE				RSC_SP_CTRL_DESC_X
33#define COL0					6
34#define COL1					(COL0+6)
35#define COL2					(COL1+140)			// width text before control
36#define COL3					(COL2+COLSPACE)
37#define COL4					(COL3+30)			// width control
38#define COL5					(COL4+COLSPACE)
39#define COL6					(WHOLE_WIDTH)		// width text after control (unit)
40
41#define ROWSPACE				RSC_SP_CTRL_DESC_Y
42#define ROW0					3
43#define ROW1					( ROW0+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE )
44#define ROW2					( ROW1+RSC_CD_TEXTBOX_HEIGHT+ROWSPACE )
45#define ROW3					( ROW2+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE )
46#define ROW4					( ROW3+RSC_CD_TEXTBOX_HEIGHT+ROWSPACE )
47#define ROW5					( ROW4+RSC_CD_TEXTBOX_HEIGHT+ROWSPACE )
48#define ROW6					( ROW5+RSC_CD_TEXTBOX_HEIGHT+ROWSPACE )
49#define ROW7					( ROW6+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE )
50#define ROW8					( ROW7+RSC_CD_TEXTBOX_HEIGHT+ROWSPACE )
51#define ROW9					( ROW8+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE )
52
53#define DIFF(v1,v2)				(v2-v1)
54#define OFFS_TEXTBOX_FIXEDTEXT(base)	(base+(RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2)
55
56#define WIDTH1					DIFF( COL1, COL2 )
57#define WIDTH2					DIFF( COL3, COL4 )
58#define WIDTH3					DIFF( COL5, COL6 )
59// tabpage memory --------------------------------------------------------
60
61#define GB_UNDO							10
62#define FT_UNDO							11
63#define ED_UNDO							12
64#define GB_GRAPHICCACHE					13
65#define FT_GRAPHICCACHE					14
66#define FT_GRAPHICCACHE_UNIT			15
67#define FT_GRAPHICOBJECTCACHE_UNIT		16
68#define FT_GRAPHICOBJECTTIME_UNIT		17
69#define NF_GRAPHICCACHE					18
70#define FT_GRAPHICOBJECTCACHE			19
71#define NF_GRAPHICOBJECTCACHE			20
72#define FT_GRAPHICOBJECTTIME			21
73#define TF_GRAPHICOBJECTTIME			22
74#define GB_OLECACHE						23
75#define FT_OLECACHE						24
76#define NF_OLECACHE                 	25
77#define FL_QUICKLAUNCH					26
78#define CB_QUICKLAUNCH					27
79#define STR_QUICKLAUNCH_UNX 				28
80
81#endif // #ifndef _OFA_OPTMEMORY_HRC
82
83