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_NOTE_H_ | 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_NOTE_H_ |
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_NOTE_H_ | 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_NOTE_H_ |
9 | 9 |
10 #include "PWL_Button.h" | 10 #include "PWL_Button.h" |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 { | 138 { |
139 public: | 139 public: |
140 CPWL_Note_Edit(); | 140 CPWL_Note_Edit(); |
141 virtual ~CPWL_Note_Edit(); | 141 virtual ~CPWL_Note_Edit(); |
142 | 142 |
143 void EnableNo
tify(FX_BOOL bEnable) {m_bEnableNotify = bEnable;} | 143 void EnableNo
tify(FX_BOOL bEnable) {m_bEnableNotify = bEnable;} |
144 virtual FX_FLOAT GetItemHeight(FX
_FLOAT fLimitWidth); | 144 virtual FX_FLOAT GetItemHeight(FX
_FLOAT fLimitWidth); |
145 FX_FLOAT GetItemL
eftMargin(); | 145 FX_FLOAT GetItemL
eftMargin(); |
146 FX_FLOAT GetItemR
ightMargin(); | 146 FX_FLOAT GetItemR
ightMargin(); |
147 | 147 |
148 » virtual void» » » » » » SetText(FX_LPCWS
TR csText); | 148 » virtual void» » » » » » SetText(const FX
_WCHAR* csText); |
149 | 149 |
150 protected: | 150 protected: |
151 virtual void OnNotify(CPWL_Wn
d* pWnd, FX_DWORD msg, intptr_t wParam = 0, intptr_t lParam = 0); | 151 virtual void OnNotify(CPWL_Wn
d* pWnd, FX_DWORD msg, intptr_t wParam = 0, intptr_t lParam = 0); |
152 virtual void RePosChildWnd(); | 152 virtual void RePosChildWnd(); |
153 virtual void OnSetFocus(); | 153 virtual void OnSetFocus(); |
154 virtual void OnKillFocus(); | 154 virtual void OnKillFocus(); |
155 | 155 |
156 private: | 156 private: |
157 FX_BOOL m_bEnabl
eNotify; | 157 FX_BOOL m_bEnabl
eNotify; |
158 FX_FLOAT m_fOldIt
emHeight; | 158 FX_FLOAT m_fOldIt
emHeight; |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 IPWL_NoteNotify* m_pNoteNotify; | 351 IPWL_NoteNotify* m_pNoteNotify; |
352 FX_BOOL m_bResiz
ing; | 352 FX_BOOL m_bResiz
ing; |
353 PWL_SCROLL_INFO m_OldScrollInfo; | 353 PWL_SCROLL_INFO m_OldScrollInfo; |
354 CPDF_Rect m_rcCapt
ion; | 354 CPDF_Rect m_rcCapt
ion; |
355 FX_BOOL m_bEnalb
leNotify; | 355 FX_BOOL m_bEnalb
leNotify; |
356 IPopup_Note* m_pPopupNote; | 356 IPopup_Note* m_pPopupNote; |
357 CFX_WideString m_sReplyString; | 357 CFX_WideString m_sReplyString; |
358 }; | 358 }; |
359 | 359 |
360 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_NOTE_H_ | 360 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_NOTE_H_ |
OLD | NEW |