xref: /trunk/main/cui/source/options/optmemory.hrc (revision af7f2cbf3d6a5481a2f45e7fae5e85a32449c47d)
1*8414840eSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*8414840eSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*8414840eSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*8414840eSAndrew Rist * distributed with this work for additional information
6*8414840eSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*8414840eSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*8414840eSAndrew Rist * "License"); you may not use this file except in compliance
9*8414840eSAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
11*8414840eSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
13*8414840eSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*8414840eSAndrew Rist * software distributed under the License is distributed on an
15*8414840eSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*8414840eSAndrew Rist * KIND, either express or implied.  See the License for the
17*8414840eSAndrew Rist * specific language governing permissions and limitations
18*8414840eSAndrew Rist * under the License.
19cdf0e10cSrcweir *
20*8414840eSAndrew Rist *************************************************************/
21*8414840eSAndrew Rist
22*8414840eSAndrew Rist
23cdf0e10cSrcweir#ifndef _OFA_OPTMEMORY_HRC
24cdf0e10cSrcweir#define _OFA_OPTMEMORY_HRC
25cdf0e10cSrcweir
26cdf0e10cSrcweir#include <svtools/controldims.hrc>
27cdf0e10cSrcweir
28cdf0e10cSrcweir// defines for positions and sizes ---------------------------------------
29cdf0e10cSrcweir
30cdf0e10cSrcweir#define WHOLE_WIDTH             248
31cdf0e10cSrcweir
32cdf0e10cSrcweir#define COLSPACE                RSC_SP_CTRL_DESC_X
33cdf0e10cSrcweir#define COL0                    6
34cdf0e10cSrcweir#define COL1                    (COL0+6)
35cdf0e10cSrcweir#define COL2                    (COL1+140)          // width text before control
36cdf0e10cSrcweir#define COL3                    (COL2+COLSPACE)
37cdf0e10cSrcweir#define COL4                    (COL3+30)           // width control
38cdf0e10cSrcweir#define COL5                    (COL4+COLSPACE)
39cdf0e10cSrcweir#define COL6                    (WHOLE_WIDTH)       // width text after control (unit)
40cdf0e10cSrcweir
41cdf0e10cSrcweir#define ROWSPACE                RSC_SP_CTRL_DESC_Y
42cdf0e10cSrcweir#define ROW0                    3
43cdf0e10cSrcweir#define ROW1                    ( ROW0+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE )
44cdf0e10cSrcweir#define ROW2                    ( ROW1+RSC_CD_TEXTBOX_HEIGHT+ROWSPACE )
45cdf0e10cSrcweir#define ROW3                    ( ROW2+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE )
46cdf0e10cSrcweir#define ROW4                    ( ROW3+RSC_CD_TEXTBOX_HEIGHT+ROWSPACE )
47cdf0e10cSrcweir#define ROW5                    ( ROW4+RSC_CD_TEXTBOX_HEIGHT+ROWSPACE )
48cdf0e10cSrcweir#define ROW6                    ( ROW5+RSC_CD_TEXTBOX_HEIGHT+ROWSPACE )
49cdf0e10cSrcweir#define ROW7                    ( ROW6+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE )
50cdf0e10cSrcweir#define ROW8                    ( ROW7+RSC_CD_TEXTBOX_HEIGHT+ROWSPACE )
51cdf0e10cSrcweir#define ROW9                    ( ROW8+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE )
52cdf0e10cSrcweir
53cdf0e10cSrcweir#define DIFF(v1,v2)             (v2-v1)
54cdf0e10cSrcweir#define OFFS_TEXTBOX_FIXEDTEXT(base)    (base+(RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2)
55cdf0e10cSrcweir
56cdf0e10cSrcweir#define WIDTH1                  DIFF( COL1, COL2 )
57cdf0e10cSrcweir#define WIDTH2                  DIFF( COL3, COL4 )
58cdf0e10cSrcweir#define WIDTH3                  DIFF( COL5, COL6 )
59cdf0e10cSrcweir// tabpage memory --------------------------------------------------------
60cdf0e10cSrcweir
61cdf0e10cSrcweir#define GB_UNDO                         10
62cdf0e10cSrcweir#define FT_UNDO                         11
63cdf0e10cSrcweir#define ED_UNDO                         12
64cdf0e10cSrcweir#define GB_GRAPHICCACHE                 13
65cdf0e10cSrcweir#define FT_GRAPHICCACHE                 14
66cdf0e10cSrcweir#define FT_GRAPHICCACHE_UNIT            15
67cdf0e10cSrcweir#define FT_GRAPHICOBJECTCACHE_UNIT      16
68cdf0e10cSrcweir#define FT_GRAPHICOBJECTTIME_UNIT       17
69cdf0e10cSrcweir#define NF_GRAPHICCACHE                 18
70cdf0e10cSrcweir#define FT_GRAPHICOBJECTCACHE           19
71cdf0e10cSrcweir#define NF_GRAPHICOBJECTCACHE           20
72cdf0e10cSrcweir#define FT_GRAPHICOBJECTTIME            21
73cdf0e10cSrcweir#define TF_GRAPHICOBJECTTIME            22
74cdf0e10cSrcweir#define GB_OLECACHE                     23
75cdf0e10cSrcweir#define FT_OLECACHE                     24
76cdf0e10cSrcweir#define NF_OLECACHE                     25
77cdf0e10cSrcweir#define FL_QUICKLAUNCH                  26
78cdf0e10cSrcweir#define CB_QUICKLAUNCH                  27
79cdf0e10cSrcweir#define STR_QUICKLAUNCH_UNX                 28
80cdf0e10cSrcweir
81cdf0e10cSrcweir#endif // #ifndef _OFA_OPTMEMORY_HRC
82