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 <memory> | 10 #include <memory> |
11 #include <unordered_map> | 11 #include <unordered_map> |
12 | 12 |
13 #include "xfa/fwl/core/cfwl_event.h" | 13 #include "xfa/fwl/core/cfwl_event.h" |
14 #include "xfa/fwl/core/cfwl_message.h" | 14 #include "xfa/fwl/core/cfwl_message.h" |
15 #include "xfa/fwl/core/fwl_error.h" | 15 #include "xfa/fwl/core/fwl_error.h" |
16 #include "xfa/fwl/core/ifwl_widget.h" | 16 #include "xfa/fwl/core/ifwl_widget.h" |
17 #include "xfa/fxgraphics/include/cfx_graphics.h" | 17 #include "xfa/fxgraphics/cfx_graphics.h" |
18 | 18 |
19 enum FWL_KeyFlag { | 19 enum FWL_KeyFlag { |
20 FWL_KEYFLAG_Ctrl = 1 << 0, | 20 FWL_KEYFLAG_Ctrl = 1 << 0, |
21 FWL_KEYFLAG_Alt = 1 << 1, | 21 FWL_KEYFLAG_Alt = 1 << 1, |
22 FWL_KEYFLAG_Shift = 1 << 2, | 22 FWL_KEYFLAG_Shift = 1 << 2, |
23 FWL_KEYFLAG_Command = 1 << 3, | 23 FWL_KEYFLAG_Command = 1 << 3, |
24 FWL_KEYFLAG_LButton = 1 << 4, | 24 FWL_KEYFLAG_LButton = 1 << 4, |
25 FWL_KEYFLAG_RButton = 1 << 5, | 25 FWL_KEYFLAG_RButton = 1 << 5, |
26 FWL_KEYFLAG_MButton = 1 << 6 | 26 FWL_KEYFLAG_MButton = 1 << 6 |
27 }; | 27 }; |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 ~CFWL_ToolTipContainer(); | 148 ~CFWL_ToolTipContainer(); |
149 | 149 |
150 CFWL_ToolTipImp* m_pToolTipImp; | 150 CFWL_ToolTipImp* m_pToolTipImp; |
151 std::unique_ptr<CFWL_CoreToolTipDP> m_pToolTipDp; | 151 std::unique_ptr<CFWL_CoreToolTipDP> m_pToolTipDp; |
152 | 152 |
153 private: | 153 private: |
154 static CFWL_ToolTipContainer* s_pInstance; | 154 static CFWL_ToolTipContainer* s_pInstance; |
155 }; | 155 }; |
156 | 156 |
157 #endif // XFA_FWL_CORE_FWL_NOTEIMP_H_ | 157 #endif // XFA_FWL_CORE_FWL_NOTEIMP_H_ |
OLD | NEW |