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 _PWL_SCROLLBAR_H_ | 7 #ifndef PWL_SCROLLBAR_H_ |
8 #define _PWL_SCROLLBAR_H_ | 8 #define PWL_SCROLLBAR_H_ |
9 | 9 |
10 #include "PWL_Wnd.h" | 10 #include "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 { | 16 { |
17 public: | 17 public: |
18 PWL_SCROLL_INFO() : fContentMin(0.0f), fContentMax(0.0f), fPlateWidth(0. 0f), fBigStep(0.0f), fSmallStep(0.0f) | 18 PWL_SCROLL_INFO() : fContentMin(0.0f), fContentMax(0.0f), fPlateWidth(0. 0f), fBigStep(0.0f), fSmallStep(0.0f) |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
156 CPWL_SBButton* m_pMaxButton; | 156 CPWL_SBButton* m_pMaxButton; |
157 CPWL_SBButton* m_pPosButton; | 157 CPWL_SBButton* m_pPosButton; |
158 PWL_SCROLL_PRIVATEDATA m_sData; | 158 PWL_SCROLL_PRIVATEDATA m_sData; |
159 FX_BOOL m_bMouseDown; | 159 FX_BOOL m_bMouseDown; |
160 FX_BOOL m_bMinOrMax; | 160 FX_BOOL m_bMinOrMax; |
161 FX_BOOL m_bNotifyForever; | 161 FX_BOOL m_bNotifyForever; |
162 FX_FLOAT m_nOldPos; | 162 FX_FLOAT m_nOldPos; |
163 FX_FLOAT m_fOldPosButton; | 163 FX_FLOAT m_fOldPosButton; |
164 }; | 164 }; |
165 | 165 |
166 #endif // !defined(AFX_PWL_SCROLLBAR_H__DCFEC082_2651_48A4_B8F3_63F1B3CC5E10__IN CLUDED_) | 166 #endif // PWL_SCROLLBAR_H_ |
167 | 167 |
168 | 168 |
169 | |
Lei Zhang
2015/05/27 23:18:21
extra lines?
Tom Sepez
2015/05/28 18:19:56
Done.
| |
OLD | NEW |