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_SRC_FWL_SRC_BASEWIDGET_FWL_CARETIMP_H_ | 7 #ifndef XFA_SRC_FWL_BASEWIDGET_FWL_CARETIMP_H_ |
8 #define XFA_SRC_FWL_SRC_BASEWIDGET_FWL_CARETIMP_H_ | 8 #define XFA_SRC_FWL_BASEWIDGET_FWL_CARETIMP_H_ |
9 | 9 |
10 #include "xfa/include/fwl/core/fwl_timer.h" | 10 #include "xfa/include/fwl/core/fwl_timer.h" |
11 #include "xfa/src/fwl/src/core/fwl_widgetimp.h" | 11 #include "xfa/src/fwl/core/fwl_widgetimp.h" |
12 | 12 |
13 class CFWL_WidgetImpProperties; | 13 class CFWL_WidgetImpProperties; |
14 class IFWL_Widget; | 14 class IFWL_Widget; |
15 class CFWL_CaretImpDelegate; | 15 class CFWL_CaretImpDelegate; |
16 | 16 |
17 class CFWL_CaretImp : public CFWL_WidgetImp { | 17 class CFWL_CaretImp : public CFWL_WidgetImp { |
18 public: | 18 public: |
19 CFWL_CaretImp(const CFWL_WidgetImpProperties& properties, | 19 CFWL_CaretImp(const CFWL_WidgetImpProperties& properties, |
20 IFWL_Widget* pOuter); | 20 IFWL_Widget* pOuter); |
21 virtual ~CFWL_CaretImp(); | 21 virtual ~CFWL_CaretImp(); |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 public: | 57 public: |
58 CFWL_CaretImpDelegate(CFWL_CaretImp* pOwner); | 58 CFWL_CaretImpDelegate(CFWL_CaretImp* pOwner); |
59 int32_t OnProcessMessage(CFWL_Message* pMessage) override; | 59 int32_t OnProcessMessage(CFWL_Message* pMessage) override; |
60 FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics, | 60 FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics, |
61 const CFX_Matrix* pMatrix = NULL) override; | 61 const CFX_Matrix* pMatrix = NULL) override; |
62 | 62 |
63 protected: | 63 protected: |
64 CFWL_CaretImp* m_pOwner; | 64 CFWL_CaretImp* m_pOwner; |
65 }; | 65 }; |
66 | 66 |
67 #endif // XFA_SRC_FWL_SRC_BASEWIDGET_FWL_CARETIMP_H_ | 67 #endif // XFA_SRC_FWL_BASEWIDGET_FWL_CARETIMP_H_ |
OLD | NEW |