| 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_INCLUDE_FWL_CORE_FWL_NOTE_H_ | 7 #ifndef XFA_INCLUDE_FWL_CORE_FWL_NOTE_H_ |
| 8 #define XFA_INCLUDE_FWL_CORE_FWL_NOTE_H_ | 8 #define XFA_INCLUDE_FWL_CORE_FWL_NOTE_H_ |
| 9 | 9 |
| 10 #include "core/include/fxcrt/fx_coordinates.h" |
| 11 #include "xfa/fxgraphics/include/cfx_graphics.h" |
| 10 #include "xfa/include/fwl/core/fwl_error.h" | 12 #include "xfa/include/fwl/core/fwl_error.h" |
| 11 #include "xfa/include/fxgraphics/fx_graphics.h" | |
| 12 | 13 |
| 13 class IFWL_Widget; | 14 class IFWL_Widget; |
| 14 class IFWL_NoteThread; | 15 class IFWL_NoteThread; |
| 15 class CFWL_Note; | 16 class CFWL_Note; |
| 16 class CFWL_Message; | 17 class CFWL_Message; |
| 17 class CFWL_MsgActivate; | 18 class CFWL_MsgActivate; |
| 18 class CFWL_MsgDeactivate; | 19 class CFWL_MsgDeactivate; |
| 19 class CFWL_MsgMouse; | 20 class CFWL_MsgMouse; |
| 20 class CFWL_MsgMouseWheel; | 21 class CFWL_MsgMouseWheel; |
| 21 class CFWL_MsgKey; | 22 class CFWL_MsgKey; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 37 class CFWL_EvtDraw; | 38 class CFWL_EvtDraw; |
| 38 class CFWL_EvtClick; | 39 class CFWL_EvtClick; |
| 39 class CFWL_EvtScroll; | 40 class CFWL_EvtScroll; |
| 40 class CFWL_EvtClose; | 41 class CFWL_EvtClose; |
| 41 class CFWL_EvtContextMenu; | 42 class CFWL_EvtContextMenu; |
| 42 class CFWL_EvtMenuCommand; | 43 class CFWL_EvtMenuCommand; |
| 43 class CFWL_EvtSizeChanged; | 44 class CFWL_EvtSizeChanged; |
| 44 class CFWL_EvtIdle; | 45 class CFWL_EvtIdle; |
| 45 class IFWL_NoteDriver; | 46 class IFWL_NoteDriver; |
| 46 class IFWL_NoteLoop; | 47 class IFWL_NoteLoop; |
| 48 |
| 47 #define FWL_MSG_Activate L"FWL_MESSAGE_Activate" | 49 #define FWL_MSG_Activate L"FWL_MESSAGE_Activate" |
| 48 #define FWL_MSG_Deactivate L"FWL_MESSAGE_Deactivate" | 50 #define FWL_MSG_Deactivate L"FWL_MESSAGE_Deactivate" |
| 49 #define FWL_MSG_SetFocus L"FWL_MESSAGE_SetFocus" | 51 #define FWL_MSG_SetFocus L"FWL_MESSAGE_SetFocus" |
| 50 #define FWL_MSG_KillFocus L"FWL_MESSAGE_KillFocus" | 52 #define FWL_MSG_KillFocus L"FWL_MESSAGE_KillFocus" |
| 51 #define FWL_MSG_Mouse L"FWL_MESSAGE_Mouse" | 53 #define FWL_MSG_Mouse L"FWL_MESSAGE_Mouse" |
| 52 #define FWL_MSG_MouseWheel L"FWL_MESSAGE_MouseWheel" | 54 #define FWL_MSG_MouseWheel L"FWL_MESSAGE_MouseWheel" |
| 53 #define FWL_MSG_Key L"FWL_MESSAGE_Key" | 55 #define FWL_MSG_Key L"FWL_MESSAGE_Key" |
| 54 #define FWL_MSG_Cursor L"FWL_MESSAGE_Cursor" | 56 #define FWL_MSG_Cursor L"FWL_MESSAGE_Cursor" |
| 55 #define FWL_MSG_Size L"FWL_MESSAGE_Size" | 57 #define FWL_MSG_Size L"FWL_MESSAGE_Size" |
| 56 #define FWL_MSG_WindowMove L"FWL_MESSAGE_WindowMove" | 58 #define FWL_MSG_WindowMove L"FWL_MESSAGE_WindowMove" |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 FWL_ERR FWL_AddToolTipTarget(IFWL_ToolTipTarget* pTarget); | 372 FWL_ERR FWL_AddToolTipTarget(IFWL_ToolTipTarget* pTarget); |
| 371 FWL_ERR FWL_RemoveToolTipTarget(IFWL_ToolTipTarget* pTarget); | 373 FWL_ERR FWL_RemoveToolTipTarget(IFWL_ToolTipTarget* pTarget); |
| 372 FWL_ERR FWL_SetToolTipInitialDelay(int32_t iDelayTime); | 374 FWL_ERR FWL_SetToolTipInitialDelay(int32_t iDelayTime); |
| 373 FWL_ERR FWL_SetToolTipAutoPopDelay(int32_t iDelayTime); | 375 FWL_ERR FWL_SetToolTipAutoPopDelay(int32_t iDelayTime); |
| 374 typedef FX_BOOL (*FWLMessageHookCallback)(CFWL_Message* msg, void* info); | 376 typedef FX_BOOL (*FWLMessageHookCallback)(CFWL_Message* msg, void* info); |
| 375 FWL_ERR FWL_SetHook(IFWL_NoteDriver* driver, | 377 FWL_ERR FWL_SetHook(IFWL_NoteDriver* driver, |
| 376 FWLMessageHookCallback callback, | 378 FWLMessageHookCallback callback, |
| 377 void* info); | 379 void* info); |
| 378 | 380 |
| 379 #endif // XFA_INCLUDE_FWL_CORE_FWL_NOTE_H_ | 381 #endif // XFA_INCLUDE_FWL_CORE_FWL_NOTE_H_ |
| OLD | NEW |