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. |
11 #include "fx_edit.h" | 11 #include "fx_edit.h" |
12 | 12 |
13 class IFX_Edit; | 13 class IFX_Edit; |
14 | 14 |
15 class CLST_Size { | 15 class CLST_Size { |
16 public: | 16 public: |
17 CLST_Size() : x(0.0f), y(0.0f) {} | 17 CLST_Size() : x(0.0f), y(0.0f) {} |
18 | 18 |
19 CLST_Size(FX_FLOAT other_x, FX_FLOAT other_y) { | 19 CLST_Size(FX_FLOAT other_x, FX_FLOAT other_y) { |
20 x = other_x; | 20 x = other_x; |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 FX_BOOL m_bNotifyFlag; | 342 FX_BOOL m_bNotifyFlag; |
343 CPDF_Point m_ptScrollPos; | 343 CPDF_Point m_ptScrollPos; |
344 CPLST_Select m_aSelItems; // for multiple | 344 CPLST_Select m_aSelItems; // for multiple |
345 int32_t m_nSelItem; // for single | 345 int32_t m_nSelItem; // for single |
346 int32_t m_nFootIndex; // for multiple | 346 int32_t m_nFootIndex; // for multiple |
347 FX_BOOL m_bCtrlSel; // for multiple | 347 FX_BOOL m_bCtrlSel; // for multiple |
348 int32_t m_nCaretIndex; // for multiple | 348 int32_t m_nCaretIndex; // for multiple |
349 }; | 349 }; |
350 | 350 |
351 #endif // FPDFSDK_INCLUDE_FXEDIT_FXET_LIST_H_ | 351 #endif // FPDFSDK_INCLUDE_FXEDIT_FXET_LIST_H_ |
OLD | NEW |