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_EDITCTRL_H_ | 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDITCTRL_H_ |
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDITCTRL_H_ | 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDITCTRL_H_ |
9 | 9 |
10 #include "../../../core/include/fxcrt/fx_string.h" | 10 #include "../../../core/include/fxcrt/fx_string.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 virtual void OnInsertWord(const CPVT_
WordPlace& place, const CPVT_WordPlace& oldplace){} | 49 virtual void OnInsertWord(const CPVT_
WordPlace& place, const CPVT_WordPlace& oldplace){} |
50 virtual void OnInsertReturn(const CPV
T_WordPlace& place, const CPVT_WordPlace& oldplace){} | 50 virtual void OnInsertReturn(const CPV
T_WordPlace& place, const CPVT_WordPlace& oldplace){} |
51 virtual void OnBackSpace(const CPVT_W
ordPlace& place, const CPVT_WordPlace& oldplace){} | 51 virtual void OnBackSpace(const CPVT_W
ordPlace& place, const CPVT_WordPlace& oldplace){} |
52 virtual void OnDelete(const CPVT_Word
Place& place, const CPVT_WordPlace& oldplace){} | 52 virtual void OnDelete(const CPVT_Word
Place& place, const CPVT_WordPlace& oldplace){} |
53 virtual void OnClear(const CPVT_WordP
lace& place, const CPVT_WordPlace& oldplace){} | 53 virtual void OnClear(const CPVT_WordP
lace& place, const CPVT_WordPlace& oldplace){} |
54 virtual void OnInsertText(const CPVT_
WordPlace& place, const CPVT_WordPlace& oldplace){} | 54 virtual void OnInsertText(const CPVT_
WordPlace& place, const CPVT_WordPlace& oldplace){} |
55 virtual void OnSetText(const CPVT_Wor
dPlace& place, const CPVT_WordPlace& oldplace){} | 55 virtual void OnSetText(const CPVT_Wor
dPlace& place, const CPVT_WordPlace& oldplace){} |
56 virtual void OnAddUndo(CPWL_Edit* pEd
it) {} | 56 virtual void OnAddUndo(CPWL_Edit* pEd
it) {} |
57 }; | 57 }; |
58 | 58 |
59 class PWL_CLASS CPWL_EditCtrl : public CPWL_Wnd, public IFX_Edit_Notify | 59 class CPWL_EditCtrl : public CPWL_Wnd, public IFX_Edit_Notify |
60 { | 60 { |
61 friend class CPWL_Edit_Notify; | 61 friend class CPWL_Edit_Notify; |
62 | 62 |
63 public: | 63 public: |
64 CPWL_EditCtrl(); | 64 CPWL_EditCtrl(); |
65 virtual ~CPWL_EditCtrl(); | 65 virtual ~CPWL_EditCtrl(); |
66 | 66 |
67 public: | 67 public: |
68 virtual void OnCreate(PWL_CREATEPARAM
& cp); | 68 virtual void OnCreate(PWL_CREATEPARAM
& cp); |
69 virtual void OnCreated(); | 69 virtual void OnCreated(); |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 CPWL_Caret* m_pEditCaret; | 167 CPWL_Caret* m_pEditCaret; |
168 FX_BOOL m_bMouseDown; | 168 FX_BOOL m_bMouseDown; |
169 IPWL_Edit_Notify* m_pEditNotify; | 169 IPWL_Edit_Notify* m_pEditNotify; |
170 | 170 |
171 private: | 171 private: |
172 int32_t m_nCharSet; | 172 int32_t m_nCharSet; |
173 int32_t m_nCodePage; | 173 int32_t m_nCodePage; |
174 }; | 174 }; |
175 | 175 |
176 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDITCTRL_H_ | 176 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDITCTRL_H_ |
OLD | NEW |