Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Side by Side Diff: xfa/fwl/core/fwl_widgetdef.h

Issue 1948583002: Remove FWL_WGTHITTEST_* defines in favour of enum class. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fwl/core/fwl_formimp.cpp ('k') | xfa/fwl/core/fwl_widgetimp.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_CORE_FWL_WIDGETDEF_H_ 7 #ifndef XFA_FWL_CORE_FWL_WIDGETDEF_H_
8 #define XFA_FWL_CORE_FWL_WIDGETDEF_H_ 8 #define XFA_FWL_CORE_FWL_WIDGETDEF_H_
9 9
10 #define FWL_WGTSTYLE_OverLapper (0L << 0) 10 #define FWL_WGTSTYLE_OverLapper (0L << 0)
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #define FWL_WGTSTYLE_NoBackground (1L << 28) 43 #define FWL_WGTSTYLE_NoBackground (1L << 28)
44 #define FWL_WGTSTYLE_WindowTypeMask (3L << 0) 44 #define FWL_WGTSTYLE_WindowTypeMask (3L << 0)
45 #define FWL_WGTSTATE_Restored (0L << 0) 45 #define FWL_WGTSTATE_Restored (0L << 0)
46 #define FWL_WGTSTATE_Minimized (1L << 0) 46 #define FWL_WGTSTATE_Minimized (1L << 0)
47 #define FWL_WGTSTATE_Maximized (2L << 0) 47 #define FWL_WGTSTATE_Maximized (2L << 0)
48 #define FWL_WGTSTATE_Disabled (1L << 2) 48 #define FWL_WGTSTATE_Disabled (1L << 2)
49 #define FWL_WGTSTATE_Deactivated (1L << 3) 49 #define FWL_WGTSTATE_Deactivated (1L << 3)
50 #define FWL_WGTSTATE_Focused (1L << 4) 50 #define FWL_WGTSTATE_Focused (1L << 4)
51 #define FWL_WGTSTATE_Invisible (1L << 5) 51 #define FWL_WGTSTATE_Invisible (1L << 5)
52 #define FWL_WGTSTATE_MAX (6) 52 #define FWL_WGTSTATE_MAX (6)
53 #define FWL_WGTHITTEST_Unknown 0 53
54 #define FWL_WGTHITTEST_Client 1
55 #define FWL_WGTHITTEST_Left 2
56 #define FWL_WGTHITTEST_Top 3
57 #define FWL_WGTHITTEST_Right 4
58 #define FWL_WGTHITTEST_Bottom 5
59 #define FWL_WGTHITTEST_LeftTop 6
60 #define FWL_WGTHITTEST_RightTop 7
61 #define FWL_WGTHITTEST_LeftBottom 8
62 #define FWL_WGTHITTEST_RightBottom 9
63 #define FWL_WGTHITTEST_Icon 10
64 #define FWL_WGTHITTEST_Titlebar 11
65 #define FWL_WGTHITTEST_MinBox 12
66 #define FWL_WGTHITTEST_MaxBox 13
67 #define FWL_WGTHITTEST_CloseBox 14
68 #define FWL_WGTHITTEST_HScrollBar 15
69 #define FWL_WGTHITTEST_VScrollBar 16
70 #define FWL_WGTHITTEST_Border 17
71 #define FWL_WGTHITTEST_Edge 18
72 #define FWL_WGTHITTEST_Edit 19
73 #define FWL_WGTHITTEST_HyperLink 20
74 #define FWL_WGTHITTEST_MAX 21
75 #define FWL_VKEY_LButton 0x01 54 #define FWL_VKEY_LButton 0x01
76 #define FWL_VKEY_RButton 0x02 55 #define FWL_VKEY_RButton 0x02
77 #define FWL_VKEY_MButton 0x04 56 #define FWL_VKEY_MButton 0x04
78 #define FWL_VKEY_Back 0x08 57 #define FWL_VKEY_Back 0x08
79 #define FWL_VKEY_Tab 0x09 58 #define FWL_VKEY_Tab 0x09
80 #define FWL_VKEY_Clear 0x0C 59 #define FWL_VKEY_Clear 0x0C
81 #define FWL_VKEY_Return 0x0D 60 #define FWL_VKEY_Return 0x0D
82 #define FWL_VKEY_Shift 0x10 61 #define FWL_VKEY_Shift 0x10
83 #define FWL_VKEY_Control 0x11 62 #define FWL_VKEY_Control 0x11
84 #define FWL_VKEY_Menu 0x12 63 #define FWL_VKEY_Menu 0x12
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 #define FWL_VKEY_Exsel 0xF8 217 #define FWL_VKEY_Exsel 0xF8
239 #define FWL_VKEY_Ereof 0xF9 218 #define FWL_VKEY_Ereof 0xF9
240 #define FWL_VKEY_Play 0xFA 219 #define FWL_VKEY_Play 0xFA
241 #define FWL_VKEY_Zoom 0xFB 220 #define FWL_VKEY_Zoom 0xFB
242 #define FWL_VKEY_NoName 0xFC 221 #define FWL_VKEY_NoName 0xFC
243 #define FWL_VKEY_PA1 0xFD 222 #define FWL_VKEY_PA1 0xFD
244 #define FWL_VKEY_OEM_Clear 0xFE 223 #define FWL_VKEY_OEM_Clear 0xFE
245 #define FWL_VKEY_Unknown 0 224 #define FWL_VKEY_Unknown 0
246 225
247 #endif // XFA_FWL_CORE_FWL_WIDGETDEF_H_ 226 #endif // XFA_FWL_CORE_FWL_WIDGETDEF_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/fwl_formimp.cpp ('k') | xfa/fwl/core/fwl_widgetimp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698