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_CORE_IFWL_SCROLLBAR_H_ | 7 #ifndef XFA_FWL_CORE_IFWL_SCROLLBAR_H_ |
8 #define XFA_FWL_CORE_IFWL_SCROLLBAR_H_ | 8 #define XFA_FWL_CORE_IFWL_SCROLLBAR_H_ |
9 | 9 |
10 #include "core/fxcrt/fx_system.h" | 10 #include "core/fxcrt/fx_system.h" |
| 11 #include "xfa/fwl/core/cfwl_evtscroll.h" |
11 #include "xfa/fwl/core/cfwl_widgetproperties.h" | 12 #include "xfa/fwl/core/cfwl_widgetproperties.h" |
12 #include "xfa/fwl/core/ifwl_dataprovider.h" | 13 #include "xfa/fwl/core/ifwl_dataprovider.h" |
13 #include "xfa/fwl/core/ifwl_timer.h" | 14 #include "xfa/fwl/core/ifwl_timer.h" |
14 #include "xfa/fwl/core/ifwl_widget.h" | 15 #include "xfa/fwl/core/ifwl_widget.h" |
15 | 16 |
16 class IFWL_Widget; | 17 class IFWL_Widget; |
17 | 18 |
18 #define FWL_STYLEEXT_SCB_Horz (0L << 0) | 19 #define FWL_STYLEEXT_SCB_Horz (0L << 0) |
19 #define FWL_STYLEEXT_SCB_Vert (1L << 0) | 20 #define FWL_STYLEEXT_SCB_Vert (1L << 0) |
20 | 21 |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 CFX_RectF m_rtMinBtn; | 143 CFX_RectF m_rtMinBtn; |
143 CFX_RectF m_rtMaxBtn; | 144 CFX_RectF m_rtMaxBtn; |
144 CFX_RectF m_rtMinTrack; | 145 CFX_RectF m_rtMinTrack; |
145 CFX_RectF m_rtMaxTrack; | 146 CFX_RectF m_rtMaxTrack; |
146 bool m_bCustomLayout; | 147 bool m_bCustomLayout; |
147 FX_FLOAT m_fMinThumb; | 148 FX_FLOAT m_fMinThumb; |
148 IFWL_ScrollBar::Timer m_Timer; | 149 IFWL_ScrollBar::Timer m_Timer; |
149 }; | 150 }; |
150 | 151 |
151 #endif // XFA_FWL_CORE_IFWL_SCROLLBAR_H_ | 152 #endif // XFA_FWL_CORE_IFWL_SCROLLBAR_H_ |
OLD | NEW |