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_CORE_FWL_NOTEIMP_H_ | 7 #ifndef XFA_FWL_CORE_FWL_NOTEIMP_H_ |
8 #define XFA_FWL_CORE_FWL_NOTEIMP_H_ | 8 #define XFA_FWL_CORE_FWL_NOTEIMP_H_ |
9 | 9 |
10 #include "xfa/fwl/core/cfwl_event.h" | 10 #include "xfa/fwl/core/cfwl_event.h" |
11 #include "xfa/fwl/core/cfwl_message.h" | 11 #include "xfa/fwl/core/cfwl_message.h" |
12 #include "xfa/fwl/core/fwl_error.h" | 12 #include "xfa/fwl/core/fwl_error.h" |
13 #include "xfa/fwl/core/ifwl_widget.h" | 13 #include "xfa/fwl/core/ifwl_widget.h" |
14 #include "xfa/fxgraphics/include/cfx_graphics.h" | 14 #include "xfa/fxgraphics/include/cfx_graphics.h" |
15 | 15 |
16 #define FWL_KEYFLAG_Ctrl (1 << 0) | 16 enum FWL_KeyFlag { |
17 #define FWL_KEYFLAG_Alt (1 << 1) | 17 FWL_KEYFLAG_Ctrl = 1 << 0, |
18 #define FWL_KEYFLAG_Shift (1 << 2) | 18 FWL_KEYFLAG_Alt = 1 << 1, |
19 #define FWL_KEYFLAG_Command (1 << 3) | 19 FWL_KEYFLAG_Shift = 1 << 2, |
20 #define FWL_KEYFLAG_LButton (1 << 4) | 20 FWL_KEYFLAG_Command = 1 << 3, |
21 #define FWL_KEYFLAG_RButton (1 << 5) | 21 FWL_KEYFLAG_LButton = 1 << 4, |
22 #define FWL_KEYFLAG_MButton (1 << 6) | 22 FWL_KEYFLAG_RButton = 1 << 5, |
| 23 FWL_KEYFLAG_MButton = 1 << 6 |
| 24 }; |
23 | 25 |
24 class CFWL_CoreToolTipDP; | 26 class CFWL_CoreToolTipDP; |
25 class CFWL_MsgActivate; | 27 class CFWL_MsgActivate; |
26 class CFWL_MsgDeactivate; | 28 class CFWL_MsgDeactivate; |
27 class CFWL_MsgDropFiles; | 29 class CFWL_MsgDropFiles; |
28 class CFWL_MsgKey; | 30 class CFWL_MsgKey; |
29 class CFWL_MsgKillFocus; | 31 class CFWL_MsgKillFocus; |
30 class CFWL_MsgMouse; | 32 class CFWL_MsgMouse; |
31 class CFWL_MsgMouseWheel; | 33 class CFWL_MsgMouseWheel; |
32 class CFWL_MsgSetFocus; | 34 class CFWL_MsgSetFocus; |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 IFWL_ToolTipTarget* pCurTarget; | 157 IFWL_ToolTipTarget* pCurTarget; |
156 CFWL_ToolTipImp* m_pToolTipImp; | 158 CFWL_ToolTipImp* m_pToolTipImp; |
157 CFWL_CoreToolTipDP* m_ToolTipDp; | 159 CFWL_CoreToolTipDP* m_ToolTipDp; |
158 CFX_ArrayTemplate<IFWL_ToolTipTarget*> m_arrWidget; | 160 CFX_ArrayTemplate<IFWL_ToolTipTarget*> m_arrWidget; |
159 | 161 |
160 private: | 162 private: |
161 static CFWL_ToolTipContainer* s_pInstance; | 163 static CFWL_ToolTipContainer* s_pInstance; |
162 }; | 164 }; |
163 | 165 |
164 #endif // XFA_FWL_CORE_FWL_NOTEIMP_H_ | 166 #endif // XFA_FWL_CORE_FWL_NOTEIMP_H_ |
OLD | NEW |