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_FXEDIT_INCLUDE_FXET_LIST_H_ |
8 #define FPDFSDK_INCLUDE_FXEDIT_FXET_LIST_H_ | 8 #define FPDFSDK_FXEDIT_INCLUDE_FXET_LIST_H_ |
9 | 9 |
10 #include "fpdfsdk/include/fxedit/fx_edit.h" | 10 #include "fpdfsdk/fxedit/include/fx_edit.h" |
11 | 11 |
12 class IFX_Edit; | 12 class IFX_Edit; |
13 | 13 |
14 class CLST_Size { | 14 class CLST_Size { |
15 public: | 15 public: |
16 CLST_Size() : x(0.0f), y(0.0f) {} | 16 CLST_Size() : x(0.0f), y(0.0f) {} |
17 | 17 |
18 CLST_Size(FX_FLOAT other_x, FX_FLOAT other_y) { | 18 CLST_Size(FX_FLOAT other_x, FX_FLOAT other_y) { |
19 x = other_x; | 19 x = other_x; |
20 y = other_y; | 20 y = other_y; |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 IFX_List_Notify* m_pNotify; | 333 IFX_List_Notify* m_pNotify; |
334 FX_BOOL m_bNotifyFlag; | 334 FX_BOOL m_bNotifyFlag; |
335 CFX_FloatPoint m_ptScrollPos; | 335 CFX_FloatPoint m_ptScrollPos; |
336 CPLST_Select m_aSelItems; // for multiple | 336 CPLST_Select m_aSelItems; // for multiple |
337 int32_t m_nSelItem; // for single | 337 int32_t m_nSelItem; // for single |
338 int32_t m_nFootIndex; // for multiple | 338 int32_t m_nFootIndex; // for multiple |
339 FX_BOOL m_bCtrlSel; // for multiple | 339 FX_BOOL m_bCtrlSel; // for multiple |
340 int32_t m_nCaretIndex; // for multiple | 340 int32_t m_nCaretIndex; // for multiple |
341 }; | 341 }; |
342 | 342 |
343 #endif // FPDFSDK_INCLUDE_FXEDIT_FXET_LIST_H_ | 343 #endif // FPDFSDK_FXEDIT_INCLUDE_FXET_LIST_H_ |
OLD | NEW |