| 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_WIDGETIMP_H_ | 7 #ifndef XFA_FWL_CORE_FWL_WIDGETIMP_H_ |
| 8 #define XFA_FWL_CORE_FWL_WIDGETIMP_H_ | 8 #define XFA_FWL_CORE_FWL_WIDGETIMP_H_ |
| 9 | 9 |
| 10 #include "core/fxcrt/include/fx_coordinates.h" | 10 #include "core/fxcrt/include/fx_coordinates.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 virtual IFWL_Widget* GetOwner(); | 42 virtual IFWL_Widget* GetOwner(); |
| 43 virtual FWL_ERR SetOwner(IFWL_Widget* pOwner); | 43 virtual FWL_ERR SetOwner(IFWL_Widget* pOwner); |
| 44 virtual IFWL_Widget* GetOuter(); | 44 virtual IFWL_Widget* GetOuter(); |
| 45 virtual uint32_t GetStyles(); | 45 virtual uint32_t GetStyles(); |
| 46 virtual FWL_ERR ModifyStyles(uint32_t dwStylesAdded, | 46 virtual FWL_ERR ModifyStyles(uint32_t dwStylesAdded, |
| 47 uint32_t dwStylesRemoved); | 47 uint32_t dwStylesRemoved); |
| 48 virtual uint32_t GetStylesEx(); | 48 virtual uint32_t GetStylesEx(); |
| 49 virtual FWL_ERR ModifyStylesEx(uint32_t dwStylesExAdded, | 49 virtual FWL_ERR ModifyStylesEx(uint32_t dwStylesExAdded, |
| 50 uint32_t dwStylesExRemoved); | 50 uint32_t dwStylesExRemoved); |
| 51 virtual uint32_t GetStates(); | 51 virtual uint32_t GetStates(); |
| 52 virtual FWL_ERR SetStates(uint32_t dwStates, FX_BOOL bSet = TRUE); | 52 virtual void SetStates(uint32_t dwStates, FX_BOOL bSet = TRUE); |
| 53 virtual FWL_ERR SetPrivateData(void* module_id, | 53 virtual FWL_ERR SetPrivateData(void* module_id, |
| 54 void* pData, | 54 void* pData, |
| 55 PD_CALLBACK_FREEDATA callback); | 55 PD_CALLBACK_FREEDATA callback); |
| 56 virtual void* GetPrivateData(void* module_id); | 56 virtual void* GetPrivateData(void* module_id); |
| 57 virtual FWL_ERR Update(); | 57 virtual FWL_ERR Update(); |
| 58 virtual FWL_ERR LockUpdate(); | 58 virtual FWL_ERR LockUpdate(); |
| 59 virtual FWL_ERR UnlockUpdate(); | 59 virtual FWL_ERR UnlockUpdate(); |
| 60 virtual uint32_t HitTest(FX_FLOAT fx, FX_FLOAT fy); | 60 virtual uint32_t HitTest(FX_FLOAT fx, FX_FLOAT fy); |
| 61 virtual FWL_ERR TransformTo(IFWL_Widget* pWidget, FX_FLOAT& fx, FX_FLOAT& fy); | 61 virtual FWL_ERR TransformTo(IFWL_Widget* pWidget, FX_FLOAT& fx, FX_FLOAT& fy); |
| 62 virtual FWL_ERR TransformTo(IFWL_Widget* pWidget, CFX_RectF& rt); | 62 virtual FWL_ERR TransformTo(IFWL_Widget* pWidget, CFX_RectF& rt); |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 public: | 162 public: |
| 163 CFWL_WidgetImpDelegate(); | 163 CFWL_WidgetImpDelegate(); |
| 164 ~CFWL_WidgetImpDelegate() override {} | 164 ~CFWL_WidgetImpDelegate() override {} |
| 165 int32_t OnProcessMessage(CFWL_Message* pMessage) override; | 165 int32_t OnProcessMessage(CFWL_Message* pMessage) override; |
| 166 FWL_ERR OnProcessEvent(CFWL_Event* pEvent) override; | 166 FWL_ERR OnProcessEvent(CFWL_Event* pEvent) override; |
| 167 FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics, | 167 FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics, |
| 168 const CFX_Matrix* pMatrix = NULL) override; | 168 const CFX_Matrix* pMatrix = NULL) override; |
| 169 }; | 169 }; |
| 170 | 170 |
| 171 #endif // XFA_FWL_CORE_FWL_WIDGETIMP_H_ | 171 #endif // XFA_FWL_CORE_FWL_WIDGETIMP_H_ |
| OLD | NEW |