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 #include "xfa/fwl/core/fwl_sdadapterimp.h" | 7 #include "xfa/fwl/core/fwl_sdadapterimp.h" |
8 | 8 |
9 #include "core/fxcrt/include/fx_system.h" | 9 #include "core/fxcrt/include/fx_system.h" |
10 #include "xfa/fwl/core/fwl_noteimp.h" | 10 #include "xfa/fwl/core/fwl_noteimp.h" |
(...skipping 68 matching lines...) Loading... |
79 FWL_ERR CFWL_SDAdapterWidgetMgr::SetWidgetCaption( | 79 FWL_ERR CFWL_SDAdapterWidgetMgr::SetWidgetCaption( |
80 IFWL_Widget* pWidget, | 80 IFWL_Widget* pWidget, |
81 const CFX_WideStringC& wsCaption) { | 81 const CFX_WideStringC& wsCaption) { |
82 return FWL_ERR_Succeeded; | 82 return FWL_ERR_Succeeded; |
83 } | 83 } |
84 FWL_ERR CFWL_SDAdapterWidgetMgr::SetBorderRegion(IFWL_Widget* pWidget, | 84 FWL_ERR CFWL_SDAdapterWidgetMgr::SetBorderRegion(IFWL_Widget* pWidget, |
85 CFX_Path* pPath) { | 85 CFX_Path* pPath) { |
86 return FWL_ERR_Succeeded; | 86 return FWL_ERR_Succeeded; |
87 } | 87 } |
88 FWL_ERR CFWL_SDAdapterWidgetMgr::SetTransparent(IFWL_Widget* pWidget, | 88 FWL_ERR CFWL_SDAdapterWidgetMgr::SetTransparent(IFWL_Widget* pWidget, |
89 FX_DWORD dwAlpha) { | 89 uint32_t dwAlpha) { |
90 return FWL_ERR_Succeeded; | 90 return FWL_ERR_Succeeded; |
91 } | 91 } |
92 FWL_ERR CFWL_SDAdapterWidgetMgr::SetFullScreen(IFWL_Widget* pWidget, | 92 FWL_ERR CFWL_SDAdapterWidgetMgr::SetFullScreen(IFWL_Widget* pWidget, |
93 FX_BOOL bFullScreen) { | 93 FX_BOOL bFullScreen) { |
94 return FWL_ERR_Succeeded; | 94 return FWL_ERR_Succeeded; |
95 } | 95 } |
96 FX_BOOL CFWL_SDAdapterWidgetMgr::CheckMessage() { | 96 FX_BOOL CFWL_SDAdapterWidgetMgr::CheckMessage() { |
97 return TRUE; | 97 return TRUE; |
98 } | 98 } |
99 FX_BOOL CFWL_SDAdapterWidgetMgr::IsIdleMessage() { | 99 FX_BOOL CFWL_SDAdapterWidgetMgr::IsIdleMessage() { |
100 return TRUE; | 100 return TRUE; |
101 } | 101 } |
102 FWL_ERR CFWL_SDAdapterWidgetMgr::DispatchMessage() { | 102 FWL_ERR CFWL_SDAdapterWidgetMgr::DispatchMessage() { |
103 return FWL_ERR_Succeeded; | 103 return FWL_ERR_Succeeded; |
104 } | 104 } |
105 FWL_ERR CFWL_SDAdapterWidgetMgr::GetWidgetDC(IFWL_Widget* pWidget, void*& pDC) { | 105 FWL_ERR CFWL_SDAdapterWidgetMgr::GetWidgetDC(IFWL_Widget* pWidget, void*& pDC) { |
106 return FWL_ERR_Succeeded; | 106 return FWL_ERR_Succeeded; |
107 } | 107 } |
108 FWL_ERR CFWL_SDAdapterWidgetMgr::ReleaseWidgetDC(IFWL_Widget* pWidget, | 108 FWL_ERR CFWL_SDAdapterWidgetMgr::ReleaseWidgetDC(IFWL_Widget* pWidget, |
109 void* pDC, | 109 void* pDC, |
110 CFX_RectF* pClip) { | 110 CFX_RectF* pClip) { |
111 return FWL_ERR_Succeeded; | 111 return FWL_ERR_Succeeded; |
112 } | 112 } |
113 void* CFWL_SDAdapterWidgetMgr::GetWindow(IFWL_Widget* pWidget) { | 113 void* CFWL_SDAdapterWidgetMgr::GetWindow(IFWL_Widget* pWidget) { |
114 return NULL; | 114 return NULL; |
115 } | 115 } |
116 FX_DWORD CFWL_SDAdapterWidgetMgr::GetKeyState(FX_DWORD dwVirtKey) { | 116 uint32_t CFWL_SDAdapterWidgetMgr::GetKeyState(uint32_t dwVirtKey) { |
117 return 0; | 117 return 0; |
118 } | 118 } |
119 FWL_ERR CFWL_SDAdapterWidgetMgr::RunLoop(IFWL_Widget* widget) { | 119 FWL_ERR CFWL_SDAdapterWidgetMgr::RunLoop(IFWL_Widget* widget) { |
120 return FWL_ERR_Succeeded; | 120 return FWL_ERR_Succeeded; |
121 } | 121 } |
122 FWL_ERR CFWL_SDAdapterWidgetMgr::EndLoop() { | 122 FWL_ERR CFWL_SDAdapterWidgetMgr::EndLoop() { |
123 return FWL_ERR_Succeeded; | 123 return FWL_ERR_Succeeded; |
124 } | 124 } |
125 FWL_ERR CFWL_SDAdapterWidgetMgr::InitMenu(IFWL_Menu* pMenu, | 125 FWL_ERR CFWL_SDAdapterWidgetMgr::InitMenu(IFWL_Menu* pMenu, |
126 IFWL_MenuDP* pMenuData) { | 126 IFWL_MenuDP* pMenuData) { |
(...skipping 39 matching lines...) Loading... |
166 } | 166 } |
167 FWL_ERR CFWL_SDAdapterThreadMgr::Kill(FWL_HTHREAD hThread, int32_t iExitCode) { | 167 FWL_ERR CFWL_SDAdapterThreadMgr::Kill(FWL_HTHREAD hThread, int32_t iExitCode) { |
168 return FWL_ERR_Succeeded; | 168 return FWL_ERR_Succeeded; |
169 } | 169 } |
170 FWL_ERR CFWL_SDAdapterThreadMgr::Stop(FWL_HTHREAD hThread, int32_t iExitCode) { | 170 FWL_ERR CFWL_SDAdapterThreadMgr::Stop(FWL_HTHREAD hThread, int32_t iExitCode) { |
171 return FWL_ERR_Succeeded; | 171 return FWL_ERR_Succeeded; |
172 } | 172 } |
173 IFWL_Thread* CFWL_SDAdapterThreadMgr::GetCurrentThread() { | 173 IFWL_Thread* CFWL_SDAdapterThreadMgr::GetCurrentThread() { |
174 return FWL_GetApp(); | 174 return FWL_GetApp(); |
175 } | 175 } |
OLD | NEW |