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