OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef XFA_FWL_FWL_WIDGETDEF_H_ | 7 #ifndef XFA_FWL_FWL_WIDGETDEF_H_ |
8 #define XFA_FWL_FWL_WIDGETDEF_H_ | 8 #define XFA_FWL_FWL_WIDGETDEF_H_ |
9 | 9 |
10 #define FWL_WGTSTYLE_OverLapper 0 | 10 #define FWL_WGTSTYLE_OverLapper 0 |
11 #define FWL_WGTSTYLE_Popup (1L << 0) | 11 #define FWL_WGTSTYLE_Popup (1L << 0) |
12 #define FWL_WGTSTYLE_Child (2L << 0) | 12 #define FWL_WGTSTYLE_Child (2L << 0) |
13 #define FWL_WGTSTYLE_Border (1L << 2) | 13 #define FWL_WGTSTYLE_Border (1L << 2) |
14 #define FWL_WGTSTYLE_HScroll (1L << 9) | |
15 #define FWL_WGTSTYLE_VScroll (1L << 11) | 14 #define FWL_WGTSTYLE_VScroll (1L << 11) |
16 #define FWL_WGTSTYLE_LeftScrollbar (1L << 12) | |
17 #define FWL_WGTSTYLE_LeftAlignment (0L << 13) | |
18 #define FWL_WGTSTYLE_CenterAlignment (1L << 13) | |
19 #define FWL_WGTSTYLE_RightAlignment (2L << 13) | |
20 #define FWL_WGTSTYLE_TopAlignment (0L << 15) | |
21 #define FWL_WGTSTYLE_VCenterAlignment (1L << 15) | |
22 #define FWL_WGTSTYLE_BottomAlignment (2L << 15) | |
23 #define FWL_WGTSTYLE_RTLReading (1L << 17) | |
24 #define FWL_WGTSTYLE_EdgeNone (0L << 19) | |
25 #define FWL_WGTSTYLE_EdgeFlat (1L << 19) | |
26 #define FWL_WGTSTYLE_EdgeRaised (2L << 19) | |
27 #define FWL_WGTSTYLE_EdgeSunken (3L << 19) | |
28 #define FWL_WGTSTYLE_EdgeMask (3L << 19) | |
29 #define FWL_WGTSTYLE_Shadow (3L << 21) | |
30 #define FWL_WGTSTYLE_Group (1L << 22) | 15 #define FWL_WGTSTYLE_Group (1L << 22) |
31 #define FWL_WGTSTYLE_TabStop (1L << 23) | |
32 #define FWL_WGTSTYLE_Offscreen (1L << 24) | 16 #define FWL_WGTSTYLE_Offscreen (1L << 24) |
33 #define FWL_WGTSTYLE_DragAcceptFiles (1L << 25) | |
34 #define FWL_WGTSTYLE_TopMost (1L << 26) | |
35 #define FWL_WGTSTYLE_TransParent (1L << 27) | |
36 #define FWL_WGTSTYLE_NoBackground (1L << 28) | 17 #define FWL_WGTSTYLE_NoBackground (1L << 28) |
37 #define FWL_WGTSTYLE_WindowTypeMask (3L << 0) | 18 #define FWL_WGTSTYLE_WindowTypeMask (3L << 0) |
38 | 19 |
39 #define FWL_WGTSTATE_Disabled (1L << 2) | 20 #define FWL_WGTSTATE_Disabled (1L << 2) |
40 #define FWL_WGTSTATE_Focused (1L << 4) | 21 #define FWL_WGTSTATE_Focused (1L << 4) |
41 #define FWL_WGTSTATE_Invisible (1L << 5) | 22 #define FWL_WGTSTATE_Invisible (1L << 5) |
42 #define FWL_WGTSTATE_MAX (6) | 23 #define FWL_WGTSTATE_MAX (6) |
43 | 24 |
44 #define FWL_VKEY_LButton 0x01 | 25 #define FWL_VKEY_LButton 0x01 |
45 #define FWL_VKEY_RButton 0x02 | 26 #define FWL_VKEY_RButton 0x02 |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 #define FWL_VKEY_Exsel 0xF8 | 189 #define FWL_VKEY_Exsel 0xF8 |
209 #define FWL_VKEY_Ereof 0xF9 | 190 #define FWL_VKEY_Ereof 0xF9 |
210 #define FWL_VKEY_Play 0xFA | 191 #define FWL_VKEY_Play 0xFA |
211 #define FWL_VKEY_Zoom 0xFB | 192 #define FWL_VKEY_Zoom 0xFB |
212 #define FWL_VKEY_NoName 0xFC | 193 #define FWL_VKEY_NoName 0xFC |
213 #define FWL_VKEY_PA1 0xFD | 194 #define FWL_VKEY_PA1 0xFD |
214 #define FWL_VKEY_OEM_Clear 0xFE | 195 #define FWL_VKEY_OEM_Clear 0xFE |
215 #define FWL_VKEY_Unknown 0 | 196 #define FWL_VKEY_Unknown 0 |
216 | 197 |
217 #endif // XFA_FWL_FWL_WIDGETDEF_H_ | 198 #endif // XFA_FWL_FWL_WIDGETDEF_H_ |
OLD | NEW |