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_SCROLLBARIMP_H_ | 7 #ifndef XFA_SRC_FWL_BASEWIDGET_FWL_SCROLLBARIMP_H_ |
8 #define XFA_SRC_FWL_SRC_BASEWIDGET_FWL_SCROLLBARIMP_H_ | 8 #define XFA_SRC_FWL_BASEWIDGET_FWL_SCROLLBARIMP_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_ScrollBarImpDelegate; | 15 class CFWL_ScrollBarImpDelegate; |
16 | 16 |
17 class CFWL_ScrollBarImp : public CFWL_WidgetImp, public IFWL_Timer { | 17 class CFWL_ScrollBarImp : public CFWL_WidgetImp, public IFWL_Timer { |
18 public: | 18 public: |
19 CFWL_ScrollBarImp(const CFWL_WidgetImpProperties& properties, | 19 CFWL_ScrollBarImp(const CFWL_WidgetImpProperties& properties, |
20 IFWL_Widget* pOuter); | 20 IFWL_Widget* pOuter); |
21 ~CFWL_ScrollBarImp(); | 21 ~CFWL_ScrollBarImp(); |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 const CFX_RectF& rtItem, | 129 const CFX_RectF& rtItem, |
130 int32_t& iState, | 130 int32_t& iState, |
131 FX_FLOAT fx, | 131 FX_FLOAT fx, |
132 FX_FLOAT fy); | 132 FX_FLOAT fy); |
133 void DoMouseLeave(int32_t iItem, const CFX_RectF& rtItem, int32_t& iState); | 133 void DoMouseLeave(int32_t iItem, const CFX_RectF& rtItem, int32_t& iState); |
134 void DoMouseHover(int32_t iItem, const CFX_RectF& rtItem, int32_t& iState); | 134 void DoMouseHover(int32_t iItem, const CFX_RectF& rtItem, int32_t& iState); |
135 | 135 |
136 CFWL_ScrollBarImp* m_pOwner; | 136 CFWL_ScrollBarImp* m_pOwner; |
137 }; | 137 }; |
138 | 138 |
139 #endif // XFA_SRC_FWL_SRC_BASEWIDGET_FWL_SCROLLBARIMP_H_ | 139 #endif // XFA_SRC_FWL_BASEWIDGET_FWL_SCROLLBARIMP_H_ |
OLD | NEW |