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_ADAPTER_CURSORMGR_H | 7 #ifndef _FWL_ADAPTER_CURSORMGR_H |
8 #define _FWL_ADAPTER_CURSORMGR_H | 8 #define _FWL_ADAPTER_CURSORMGR_H |
9 class CFX_DIBitmap; | 9 class CFX_DIBitmap; |
10 class IFWL_AdapterCursorMgr; | 10 class IFWL_AdapterCursorMgr; |
(...skipping 18 matching lines...) Expand all Loading... |
29 virtual ~IFWL_AdapterCursorMgr() {} | 29 virtual ~IFWL_AdapterCursorMgr() {} |
30 virtual FWL_HCURSOR GetSystemCursor(FWL_CURSORTYPE eCursorType) = 0; | 30 virtual FWL_HCURSOR GetSystemCursor(FWL_CURSORTYPE eCursorType) = 0; |
31 virtual FWL_HCURSOR GetCustomCursor(const CFX_DIBitmap* pBitmap, | 31 virtual FWL_HCURSOR GetCustomCursor(const CFX_DIBitmap* pBitmap, |
32 FX_FLOAT xHotspot = 0, | 32 FX_FLOAT xHotspot = 0, |
33 FX_FLOAT yHotspot = 0) = 0; | 33 FX_FLOAT yHotspot = 0) = 0; |
34 virtual FWL_ERR SetCursor(FWL_HCURSOR hCursor) = 0; | 34 virtual FWL_ERR SetCursor(FWL_HCURSOR hCursor) = 0; |
35 virtual FWL_ERR ShowCursor(FX_BOOL bShow) = 0; | 35 virtual FWL_ERR ShowCursor(FX_BOOL bShow) = 0; |
36 virtual FWL_ERR GetCursorPos(CFX_PointF& pt) = 0; | 36 virtual FWL_ERR GetCursorPos(CFX_PointF& pt) = 0; |
37 }; | 37 }; |
38 #endif | 38 #endif |
OLD | NEW |