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 FPDFSDK_INCLUDE_PDFWINDOW_PWL_SCROLLBAR_H_ | 7 #ifndef FPDFSDK_PDFWINDOW_PWL_SCROLLBAR_H_ |
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_SCROLLBAR_H_ | 8 #define FPDFSDK_PDFWINDOW_PWL_SCROLLBAR_H_ |
9 | 9 |
10 #include "fpdfsdk/include/pdfwindow/PWL_Wnd.h" | 10 #include "fpdfsdk/pdfwindow/PWL_Wnd.h" |
11 | 11 |
12 class CPWL_SBButton; | 12 class CPWL_SBButton; |
13 class CPWL_ScrollBar; | 13 class CPWL_ScrollBar; |
14 | 14 |
15 struct PWL_SCROLL_INFO { | 15 struct PWL_SCROLL_INFO { |
16 public: | 16 public: |
17 PWL_SCROLL_INFO() | 17 PWL_SCROLL_INFO() |
18 : fContentMin(0.0f), | 18 : fContentMin(0.0f), |
19 fContentMax(0.0f), | 19 fContentMax(0.0f), |
20 fPlateWidth(0.0f), | 20 fPlateWidth(0.0f), |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 CPWL_SBButton* m_pMaxButton; | 147 CPWL_SBButton* m_pMaxButton; |
148 CPWL_SBButton* m_pPosButton; | 148 CPWL_SBButton* m_pPosButton; |
149 PWL_SCROLL_PRIVATEDATA m_sData; | 149 PWL_SCROLL_PRIVATEDATA m_sData; |
150 FX_BOOL m_bMouseDown; | 150 FX_BOOL m_bMouseDown; |
151 FX_BOOL m_bMinOrMax; | 151 FX_BOOL m_bMinOrMax; |
152 FX_BOOL m_bNotifyForever; | 152 FX_BOOL m_bNotifyForever; |
153 FX_FLOAT m_nOldPos; | 153 FX_FLOAT m_nOldPos; |
154 FX_FLOAT m_fOldPosButton; | 154 FX_FLOAT m_fOldPosButton; |
155 }; | 155 }; |
156 | 156 |
157 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_SCROLLBAR_H_ | 157 #endif // FPDFSDK_PDFWINDOW_PWL_SCROLLBAR_H_ |
OLD | NEW |