fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / include / tools / rc.h
blob5bcd4cb7f3b702efc8ea7ed9778e868bc5748b18
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef _TOOLS_RC_H
21 #define _TOOLS_RC_H
23 #include <tools/rcid.h>
25 // Defines for all "Window" resources.
26 // (Here are all window styles that are not in WinBits)
27 #define RSC_EXTRAMAPUNIT 0xFFFF // do not change that value!
29 typedef short RSWND_STYLE;
31 #define RSWND_DISABLED 0x01
32 #define RSWND_CLIENTSIZE 0x02
34 #define WINDOW_XYMAPMODE 0x0001
35 #define WINDOW_X 0x0002
36 #define WINDOW_Y 0x0004
37 #define WINDOW_WHMAPMODE 0x0008
38 #define WINDOW_WIDTH 0x0010
39 #define WINDOW_HEIGHT 0x0020
40 #define WINDOW_TEXT 0x0080
41 #define WINDOW_HELPTEXT 0x0100
42 #define WINDOW_QUICKTEXT 0x0200
43 #define WINDOW_EXTRALONG 0x0800
44 #define WINDOW_UNIQUEID 0x1000
45 #define WINDOW_BORDER_STYLE 0x2000
46 #define WINDOW_HELPID 0x4000
48 // For "WorkWindow" resources:
49 #define WORKWIN_SHOWNORMAL 0
50 #define WORKWIN_SHOWMINIMIZED 1
51 #define WORKWIN_SHOWMAXIMIZED 2
53 // For "FixedBitmap" resource:
54 #define RSC_FIXEDBITMAP_BITMAP 0x0001
56 // For "FixedImage" resource:
57 #define RSC_FIXEDIMAGE_IMAGE 0x0001
59 // For "MenuButton" resources:
60 #define RSCMENUBUTTON_MENU 0x01
62 // For all menu resources:
63 #define RSC_MENU_ITEMS 0x01
64 #define RSC_MENU_TEXT 0x02
65 #define RSC_MENU_DEFAULTITEMID 0x04
67 // "MenuItem" resource options:
68 #define RSC_MENUITEM_SEPARATOR 0x001
69 #define RSC_MENUITEM_ID 0x002
70 #define RSC_MENUITEM_STATUS 0x004
71 #define RSC_MENUITEM_TEXT 0x008
72 #define RSC_MENUITEM_BITMAP 0x010
73 #define RSC_MENUITEM_HELPTEXT 0x020
74 #define RSC_MENUITEM_HELPID 0x040
75 #define RSC_MENUITEM_KEYCODE 0x080
76 #define RSC_MENUITEM_MENU 0x100
77 #define RSC_MENUITEM_CHECKED 0x200
78 #define RSC_MENUITEM_DISABLE 0x400
79 #define RSC_MENUITEM_COMMAND 0x800
81 // "AccelKey" resource options:
82 #define ACCELITEM_ACCEL 0x01
83 #define ACCELITEM_KEY 0x02
85 // For "Field" resources:
86 #define PATTERNFORMATTER_STRICTFORMAT 0x01
87 #define PATTERNFORMATTER_EDITMASK 0x02
88 #define PATTERNFORMATTER_LITTERALMASK 0x04
90 #define NUMERICFORMATTER_MIN 0x01
91 #define NUMERICFORMATTER_MAX 0x02
92 #define NUMERICFORMATTER_STRICTFORMAT 0x04
93 //#define NUMERICFORMATTER_I12 0x08 // removed (2005-06-17)
94 #define NUMERICFORMATTER_DECIMALDIGITS 0x10
95 #define NUMERICFORMATTER_VALUE 0x20
96 #define NUMERICFORMATTER_NOTHOUSANDSEP 0x40
98 #define METRICFORMATTER_UNIT 0x01
99 #define METRICFORMATTER_CUSTOMUNITTEXT 0x02
101 #define DATEFORMATTER_MIN 0x01
102 #define DATEFORMATTER_MAX 0x02
103 #define DATEFORMATTER_LONGFORMAT 0x04
104 #define DATEFORMATTER_STRICTFORMAT 0x08
105 //#define DATEFORMATTER_I12 0x10 // removed (2005-06-17)
106 #define DATEFORMATTER_VALUE 0x20
108 #define TIMEFORMATTER_MIN 0x01
109 #define TIMEFORMATTER_MAX 0x02
110 #define TIMEFORMATTER_TIMEFIELDFORMAT 0x04
111 #define TIMEFORMATTER_DURATION 0x08
112 #define TIMEFORMATTER_STRICTFORMAT 0x10
113 //#define TIMEFORMATTER_I12 0x20 // removed (2005-06-17)
114 #define TIMEFORMATTER_VALUE 0x40
116 #define NUMERICFIELD_FIRST 0x01
117 #define NUMERICFIELD_LAST 0x02
118 #define NUMERICFIELD_SPINSIZE 0x04
120 #define METRICFIELD_FIRST 0x01
121 #define METRICFIELD_LAST 0x02
122 #define METRICFIELD_SPINSIZE 0x04
124 #define CURRENCYFIELD_FIRST 0x01
125 #define CURRENCYFIELD_LAST 0x02
126 #define CURRENCYFIELD_SPINSIZE 0x04
128 #define DATEFIELD_FIRST 0x01
129 #define DATEFIELD_LAST 0x02
131 #define TIMEFIELD_FIRST 0x01
132 #define TIMEFIELD_LAST 0x02
134 // For "ToolBoxItem" resources:
135 #define RSC_TOOLBOXITEM_ID 0x0001
136 #define RSC_TOOLBOXITEM_TYPE 0x0002
137 #define RSC_TOOLBOXITEM_STATUS 0x0004
138 #define RSC_TOOLBOXITEM_HELPID 0x0008
139 #define RSC_TOOLBOXITEM_TEXT 0x0010
140 #define RSC_TOOLBOXITEM_HELPTEXT 0x0020
141 #define RSC_TOOLBOXITEM_BITMAP 0x0040
142 #define RSC_TOOLBOXITEM_IMAGE 0x0080
143 #define RSC_TOOLBOXITEM_DISABLE 0x0100
144 #define RSC_TOOLBOXITEM_STATE 0x0200
145 #define RSC_TOOLBOXITEM_HIDE 0x0400
146 #define RSC_TOOLBOXITEM_COMMAND 0x0800
147 #define RSC_TOOLBOXITEM_MENUSTRINGS 0x1000
149 // For "ToolBox" resources:
150 #define RSC_TOOLBOX_BUTTONTYPE 0x01
151 #define RSC_TOOLBOX_ALIGN 0x02
152 #define RSC_TOOLBOX_LINECOUNT 0x04
153 #define RSC_TOOLBOX_FLOATLINES 0x08
154 #define RSC_TOOLBOX_CUSTOMIZE 0x10
155 #define RSC_TOOLBOX_MENUSTRINGS 0x20
156 #define RSC_TOOLBOX_ITEMIMAGELIST 0x40
157 #define RSC_TOOLBOX_ITEMLIST 0x80
159 // For "MoreButton" resources:
160 #define RSC_MOREBUTTON_STATE 0x01
161 #define RSC_MOREBUTTON_MAPUNIT 0x02
162 #define RSC_MOREBUTTON_DELTA 0x04
164 // For "FloatingWindow" resources:
165 #define RSC_FLOATINGWINDOW_WHMAPMODE 0x01
166 #define RSC_FLOATINGWINDOW_WIDTH 0x02
167 #define RSC_FLOATINGWINDOW_HEIGHT 0x04
168 #define RSC_FLOATINGWINDOW_ZOOMIN 0x08
170 // For "DockingWindow" resources:
171 #define RSC_DOCKINGWINDOW_XYMAPMODE 0x01
172 #define RSC_DOCKINGWINDOW_X 0x02
173 #define RSC_DOCKINGWINDOW_Y 0x04
174 #define RSC_DOCKINGWINDOW_FLOATING 0x08
176 // For "TabControlItem" resources:
177 #define RSC_TABCONTROLITEM_ID 0x0001
178 #define RSC_TABCONTROLITEM_TEXT 0x0002
179 #define RSC_TABCONTROLITEM_PAGERESID 0x0008
181 // For "TabControl" resources:
182 #define RSC_TABCONTROL_ITEMLIST 0x01
184 // For "ImageButtons":
185 #define RSC_IMAGEBUTTON_IMAGE 0x01
186 #define RSC_IMAGEBUTTON_SYMBOL 0x02
187 #define RSC_IMAGEBUTTON_STATE 0x04
189 // For "ImageRadioButtons":
190 #define RSC_IMAGERADIOBUTTON_IMAGE 0x01
192 // For "Image":
193 #define RSC_IMAGE_IMAGEBITMAP 0x01
194 #define RSC_IMAGE_MASKBITMAP 0x02
195 #define RSC_IMAGE_MASKCOLOR 0x04
197 // For "ImageList":
198 #define RSC_IMAGELIST_IMAGEBITMAP 0x01
199 #define RSC_IMAGELIST_MASKBITMAP 0x02
200 #define RSC_IMAGELIST_MASKCOLOR 0x04
201 #define RSC_IMAGELIST_IDLIST 0x08
202 #define RSC_IMAGELIST_IDCOUNT 0x10
204 // FIXME obsolete, should be removed by MM
205 #define RSC_COLOR (RSC_NOTYPE + 0x16)
206 #define TIME_HOUR 0x01
207 #define TIME_MINUTE 0x02
208 #define TIME_SECOND 0x04
209 #define TIME_SEC100 0x08
210 #define DATE_YEAR 0x01
211 #define DATE_MONTH 0x02
212 #define DATE_DAY 0x04
214 #endif
216 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */