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_SDADAPTERIMP_H_ | 7 #ifndef XFA_FWL_CORE_FWL_SDADAPTERIMP_H_ |
8 #define XFA_FWL_CORE_FWL_SDADAPTERIMP_H_ | 8 #define XFA_FWL_CORE_FWL_SDADAPTERIMP_H_ |
9 | 9 |
10 #include "xfa/fwl/core/ifwl_adapterthreadmgr.h" | 10 #include "xfa/fwl/core/ifwl_adapterthreadmgr.h" |
(...skipping 28 matching lines...) Expand all Loading... |
39 | 39 |
40 public: | 40 public: |
41 virtual FWL_ERR GetWidgetRect(IFWL_Widget* pWidget, CFX_RectF& rect); | 41 virtual FWL_ERR GetWidgetRect(IFWL_Widget* pWidget, CFX_RectF& rect); |
42 virtual FWL_ERR SetWidgetIcon(IFWL_Widget* pWidget, | 42 virtual FWL_ERR SetWidgetIcon(IFWL_Widget* pWidget, |
43 const CFX_DIBitmap* pIcon, | 43 const CFX_DIBitmap* pIcon, |
44 FX_BOOL bBig); | 44 FX_BOOL bBig); |
45 virtual FWL_ERR SetWidgetCaption(IFWL_Widget* pWidget, | 45 virtual FWL_ERR SetWidgetCaption(IFWL_Widget* pWidget, |
46 const CFX_WideStringC& wsCaption); | 46 const CFX_WideStringC& wsCaption); |
47 virtual FWL_ERR SetBorderRegion(IFWL_Widget* pWidget, CFX_Path* pPath); | 47 virtual FWL_ERR SetBorderRegion(IFWL_Widget* pWidget, CFX_Path* pPath); |
48 virtual FWL_ERR SetTransparent(IFWL_Widget* pWidget, uint32_t dwAlpha); | 48 virtual FWL_ERR SetTransparent(IFWL_Widget* pWidget, uint32_t dwAlpha); |
49 virtual FWL_ERR SetFullScreen(IFWL_Widget* pWidget, FX_BOOL bFullScreen); | |
50 virtual FX_BOOL CheckMessage(); | 49 virtual FX_BOOL CheckMessage(); |
51 virtual FX_BOOL IsIdleMessage(); | 50 virtual FX_BOOL IsIdleMessage(); |
52 virtual FWL_ERR DispatchMessage(); | 51 virtual FWL_ERR DispatchMessage(); |
53 virtual FWL_ERR GetWidgetDC(IFWL_Widget* pWidget, void*& pDC); | 52 virtual FWL_ERR GetWidgetDC(IFWL_Widget* pWidget, void*& pDC); |
54 virtual FWL_ERR ReleaseWidgetDC(IFWL_Widget* pWidget, | 53 virtual FWL_ERR ReleaseWidgetDC(IFWL_Widget* pWidget, |
55 void* pDC, | 54 void* pDC, |
56 CFX_RectF* pClip = 0); | 55 CFX_RectF* pClip = 0); |
57 virtual void* GetWindow(IFWL_Widget* pWidget); | 56 virtual void* GetWindow(IFWL_Widget* pWidget); |
58 virtual uint32_t GetKeyState(uint32_t dwVirtKey); | 57 virtual uint32_t GetKeyState(uint32_t dwVirtKey); |
59 virtual FWL_ERR RunLoop(IFWL_Widget* widget); | 58 virtual FWL_ERR RunLoop(IFWL_Widget* widget); |
(...skipping 13 matching lines...) Expand all Loading... |
73 class CFWL_SDAdapterThreadMgr : public IFWL_AdapterThreadMgr { | 72 class CFWL_SDAdapterThreadMgr : public IFWL_AdapterThreadMgr { |
74 public: | 73 public: |
75 CFWL_SDAdapterThreadMgr(); | 74 CFWL_SDAdapterThreadMgr(); |
76 ~CFWL_SDAdapterThreadMgr(); | 75 ~CFWL_SDAdapterThreadMgr(); |
77 | 76 |
78 public: | 77 public: |
79 virtual IFWL_Thread* GetCurrentThread(); | 78 virtual IFWL_Thread* GetCurrentThread(); |
80 }; | 79 }; |
81 | 80 |
82 #endif // XFA_FWL_CORE_FWL_SDADAPTERIMP_H_ | 81 #endif // XFA_FWL_CORE_FWL_SDADAPTERIMP_H_ |
OLD | NEW |