summaryrefslogtreecommitdiff
path: root/include/tools/rcid.h
blob: 9c90f91775aff7f5dad5ca6299bcb37561dd37e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#ifndef _TOOLS_RCID_H
#define _TOOLS_RCID_H

#include <tools/resid.hxx>

// Definition of the version number
#define RSCVERSION_ID           200U
// Definition of an invalid identifier
#define RC_NO_ID                (sal_uInt32(0xFFFFFFFF))

// Resource types
// Minimum is 0x100 due to MS-Windows resource types
// (RSC_NOTYPE=0x100) is defined in resid.hxx
#define RSC_BYNAME              (RSC_NOTYPE + 0x01)
#define RSC_VERSIONCONTROL      (RSC_NOTYPE + 0x02) // Version control

#define RSC_RESOURCE            (RSC_NOTYPE + 0x10)
#define RSC_STRING              (RSC_NOTYPE + 0x11)
#define RSC_BITMAP              (RSC_NOTYPE + 0x13)
#define RSC_ACCEL               (RSC_NOTYPE + 0x1a)
#define RSC_ACCELITEM           (RSC_NOTYPE + 0x1b) // only used internally
#define RSC_MENU                (RSC_NOTYPE + 0x1c)
#define RSC_MENUITEM            (RSC_NOTYPE + 0x1d) // only used internally
#define RSC_KEYCODE             (RSC_NOTYPE + 0x1f)
#define RSC_TIME                (RSC_NOTYPE + 0x20)
#define RSC_DATE                (RSC_NOTYPE + 0x21)
//#define RSC_INTERNATIONAL     (RSC_NOTYPE + 0x22) // removed (2005-06-17)
#define RSC_IMAGE               (RSC_NOTYPE + 0x23)
#define RSC_IMAGELIST           (RSC_NOTYPE + 0x24)

#define RSC_MESSBOX             (RSC_NOTYPE + 0x30)
#define RSC_INFOBOX             (RSC_NOTYPE + 0x31)
#define RSC_WARNINGBOX          (RSC_NOTYPE + 0x32)
#define RSC_ERRORBOX            (RSC_NOTYPE + 0x33)
#define RSC_QUERYBOX            (RSC_NOTYPE + 0x34)
#define RSC_WINDOW              (RSC_NOTYPE + 0x35)
#define RSC_SYSWINDOW           (RSC_NOTYPE + 0x36)
#define RSC_WORKWIN             (RSC_NOTYPE + 0x37)
#define RSC_MDIWINDOW           (RSC_NOTYPE + 0x38)
#define RSC_FLOATINGWINDOW      (RSC_NOTYPE + 0x39)
#define RSC_DIALOG              (RSC_NOTYPE + 0x3a)
#define RSC_MODELESSDIALOG      (RSC_NOTYPE + 0x3b)
#define RSC_MODALDIALOG         (RSC_NOTYPE + 0x3c)
#define RSC_CONTROL             (RSC_NOTYPE + 0x44)
#define RSC_BUTTON              (RSC_NOTYPE + 0x45)
#define RSC_PUSHBUTTON          (RSC_NOTYPE + 0x46)
#define RSC_OKBUTTON            (RSC_NOTYPE + 0x47)
#define RSC_CANCELBUTTON        (RSC_NOTYPE + 0x48)
#define RSC_HELPBUTTON          (RSC_NOTYPE + 0x49)
#define RSC_IMAGEBUTTON         (RSC_NOTYPE + 0x4a)
#define RSC_MENUBUTTON          (RSC_NOTYPE + 0x4b)
#define RSC_MOREBUTTON          (RSC_NOTYPE + 0x4c)
#define RSC_SPINBUTTON          (RSC_NOTYPE + 0x4d)
#define RSC_RADIOBUTTON         (RSC_NOTYPE + 0x4e)

#define RSC_CHECKBOX            (RSC_NOTYPE + 0x50)
#define RSC_TRISTATEBOX         (RSC_NOTYPE + 0x51)
#define RSC_EDIT                (RSC_NOTYPE + 0x52)
#define RSC_MULTILINEEDIT       (RSC_NOTYPE + 0x53)
#define RSC_COMBOBOX            (RSC_NOTYPE + 0x54)
#define RSC_LISTBOX             (RSC_NOTYPE + 0x55)
#define RSC_MULTILISTBOX        (RSC_NOTYPE + 0x56)
#define RSC_TEXT                (RSC_NOTYPE + 0x57)
#define RSC_FIXEDLINE           (RSC_NOTYPE + 0x58)
#define RSC_FIXEDBITMAP         (RSC_NOTYPE + 0x59)
#define RSC_FIXEDIMAGE          (RSC_NOTYPE + 0x5a)
#define RSC_GROUPBOX            (RSC_NOTYPE + 0x5c)
#define RSC_SCROLLBAR           (RSC_NOTYPE + 0x5d)
#define RSC_SCROLLBARBOX        (RSC_NOTYPE + 0x5e)
#define RSC_SPLITTER            (RSC_NOTYPE + 0x5f)
#define RSC_SPLITWINDOW         (RSC_NOTYPE + 0x60)
#define RSC_SPINFIELD           (RSC_NOTYPE + 0x61)
#define RSC_PATTERNFIELD        (RSC_NOTYPE + 0x62)
#define RSC_NUMERICFIELD        (RSC_NOTYPE + 0x63)
#define RSC_METRICFIELD         (RSC_NOTYPE + 0x64)
#define RSC_CURRENCYFIELD       (RSC_NOTYPE + 0x65)
#define RSC_DATEFIELD           (RSC_NOTYPE + 0x66)
#define RSC_TIMEFIELD           (RSC_NOTYPE + 0x67)
#define RSC_PATTERNBOX          (RSC_NOTYPE + 0x68)
#define RSC_NUMERICBOX          (RSC_NOTYPE + 0x69)
#define RSC_METRICBOX           (RSC_NOTYPE + 0x6a)
#define RSC_CURRENCYBOX         (RSC_NOTYPE + 0x6b)
#define RSC_DATEBOX             (RSC_NOTYPE + 0x6c)
#define RSC_TIMEBOX             (RSC_NOTYPE + 0x6d)
#define RSC_LONGCURRENCYFIELD   (RSC_NOTYPE + 0x6e)
#define RSC_LONGCURRENCYBOX     (RSC_NOTYPE + 0x6f)
#define RSC_TOOLBOXITEM         (RSC_NOTYPE + 0x70)
#define RSC_TOOLBOX             (RSC_NOTYPE + 0x71)
#define RSC_DOCKINGWINDOW       (RSC_NOTYPE + 0x72)
#define RSC_STATUSBAR           (RSC_NOTYPE + 0x73)
#define RSC_TABPAGE             (RSC_NOTYPE + 0x74)
#define RSC_TABCONTROL          (RSC_NOTYPE + 0x75)
#define RSC_TABDIALOG           (RSC_NOTYPE + 0x76)
#define RSC_TABCONTROLITEM      (RSC_NOTYPE + 0x77)
#define RSC_TREELISTBOX         (RSC_NOTYPE + 0x78)
#define RSC_STRINGARRAY         (RSC_NOTYPE + 0x79)

// (RSC_NOTYPE + 0x200) - (RSC_NOTYPE + 0x300) reserved for Sfx

#define RT_SYS_BITMAP           (RSC_NOTYPE + 0xf2)
#define RT_SYS_STRING           (RSC_NOTYPE + 0xf3) // special case
#define RT_SYS_FILE             (RSC_NOTYPE + 0xf4) // not implemented

#endif

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */