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 _FWL_WIDGETMGR_H | 7 #ifndef XFA_INCLUDE_FWL_CORE_FWL_WIDGETMGR_H_ |
8 #define _FWL_WIDGETMGR_H | 8 #define XFA_INCLUDE_FWL_CORE_FWL_WIDGETMGR_H_ |
| 9 |
9 class IFWL_Widget; | 10 class IFWL_Widget; |
10 class IFWL_WidgetMgr; | 11 class IFWL_WidgetMgr; |
11 class IFWL_WidgetMgrDelegate; | 12 class IFWL_WidgetMgrDelegate; |
12 enum FWL_WGTRELATION { | 13 enum FWL_WGTRELATION { |
13 FWL_WGTRELATION_Parent = 0, | 14 FWL_WGTRELATION_Parent = 0, |
14 FWL_WGTRELATION_Owner, | 15 FWL_WGTRELATION_Owner, |
15 FWL_WGTRELATION_FirstSibling, | 16 FWL_WGTRELATION_FirstSibling, |
16 FWL_WGTRELATION_PriorSibling, | 17 FWL_WGTRELATION_PriorSibling, |
17 FWL_WGTRELATION_NextSibling, | 18 FWL_WGTRELATION_NextSibling, |
18 FWL_WGTRELATION_LastSibling, | 19 FWL_WGTRELATION_LastSibling, |
(...skipping 25 matching lines...) Expand all Loading... |
44 virtual FWL_ERR OnSetCapability( | 45 virtual FWL_ERR OnSetCapability( |
45 FX_DWORD dwCapability = FWL_WGTMGR_DisableThread) = 0; | 46 FX_DWORD dwCapability = FWL_WGTMGR_DisableThread) = 0; |
46 virtual int32_t OnProcessMessageToForm(CFWL_Message* pMessage) = 0; | 47 virtual int32_t OnProcessMessageToForm(CFWL_Message* pMessage) = 0; |
47 virtual FWL_ERR OnDrawWidget(IFWL_Widget* pWidget, | 48 virtual FWL_ERR OnDrawWidget(IFWL_Widget* pWidget, |
48 CFX_Graphics* pGraphics, | 49 CFX_Graphics* pGraphics, |
49 const CFX_Matrix* pMatrix = NULL) = 0; | 50 const CFX_Matrix* pMatrix = NULL) = 0; |
50 }; | 51 }; |
51 FWL_ERR FWL_WidgetMgrSnapshot(IFWL_Widget* pWidget, | 52 FWL_ERR FWL_WidgetMgrSnapshot(IFWL_Widget* pWidget, |
52 const CFX_WideString* saveFile, | 53 const CFX_WideString* saveFile, |
53 const CFX_Matrix* pMatrix = NULL); | 54 const CFX_Matrix* pMatrix = NULL); |
54 #endif | 55 |
| 56 #endif // XFA_INCLUDE_FWL_CORE_FWL_WIDGETMGR_H_ |
OLD | NEW |