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_FXEDIT_FXET_LIST_H_ | 7 #ifndef FPDFSDK_INCLUDE_FXEDIT_FXET_LIST_H_ |
8 #define FPDFSDK_INCLUDE_FXEDIT_FXET_LIST_H_ | 8 #define FPDFSDK_INCLUDE_FXEDIT_FXET_LIST_H_ |
9 | 9 |
10 #include "../../../core/include/fpdfapi/fpdf_parser.h" // For CPDF_Point. | 10 #include "../../../core/include/fpdfapi/fpdf_parser.h" // For CPDF_Point. |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 FX_BOOL IsItemVisible(int32_t nItemIndex) const; | 332 FX_BOOL IsItemVisible(int32_t nItemIndex) const; |
333 void SetScrollInfo(); | 333 void SetScrollInfo(); |
334 void SetScrollPosY(FX_FLOAT fy); | 334 void SetScrollPosY(FX_FLOAT fy); |
335 virtual void ReArrange(int32_t nItemIndex); | 335 virtual void ReArrange(int32_t nItemIndex); |
336 | 336 |
337 private: | 337 private: |
338 IFX_List_Notify* m_pNotify; | 338 IFX_List_Notify* m_pNotify; |
339 FX_BOOL m_bNotifyFlag; | 339 FX_BOOL m_bNotifyFlag; |
340 CPDF_Point m_ptScrollPos; | 340 CPDF_Point m_ptScrollPos; |
341 CPLST_Select m_aSelItems; // for multiple | 341 CPLST_Select m_aSelItems; // for multiple |
342 int32_t m_nSelItem; // for single | 342 int32_t m_nSelItem; // for single |
343 int32_t m_nFootIndex; // for multiple | 343 int32_t m_nFootIndex; // for multiple |
344 FX_BOOL m_bCtrlSel; // for multiple | 344 FX_BOOL m_bCtrlSel; // for multiple |
345 int32_t m_nCaretIndex; // for multiple | 345 int32_t m_nCaretIndex; // for multiple |
346 }; | 346 }; |
347 | 347 |
348 #endif // FPDFSDK_INCLUDE_FXEDIT_FXET_LIST_H_ | 348 #endif // FPDFSDK_INCLUDE_FXEDIT_FXET_LIST_H_ |
OLD | NEW |