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 "fpdfsdk/include/pdfwindow/PWL_Button.h" | 10 #include "fpdfsdk/include/pdfwindow/PWL_Button.h" |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 ~CPWL_Note() override; | 298 ~CPWL_Note() override; |
299 | 299 |
300 IPWL_NoteItem* Reply(); | 300 IPWL_NoteItem* Reply(); |
301 void EnableNotify(FX_BOOL bEnabled); | 301 void EnableNotify(FX_BOOL bEnabled); |
302 void SetIconType(int32_t nType); | 302 void SetIconType(int32_t nType); |
303 void SetOptionsText(const CFX_WideString& sText); | 303 void SetOptionsText(const CFX_WideString& sText); |
304 void EnableRead(FX_BOOL bEnabled); | 304 void EnableRead(FX_BOOL bEnabled); |
305 void EnableModify(FX_BOOL bEnabled); | 305 void EnableModify(FX_BOOL bEnabled); |
306 | 306 |
307 CFX_WideString GetReplyString() const; | 307 CFX_WideString GetReplyString() const; |
308 void SetReplyString(const CFX_WideString& string); | 308 void SetReplyString(const CFX_WideString& str); |
309 | 309 |
310 // CPWL_NoteItem | 310 // CPWL_NoteItem |
311 void SetSubjectName(const CFX_WideString& sName) override; | 311 void SetSubjectName(const CFX_WideString& sName) override; |
312 void SetAuthorName(const CFX_WideString& sName) override; | 312 void SetAuthorName(const CFX_WideString& sName) override; |
313 CFX_WideString GetAuthorName() const override; | 313 CFX_WideString GetAuthorName() const override; |
314 void SetBkColor(const CPWL_Color& color) override; | 314 void SetBkColor(const CPWL_Color& color) override; |
315 void ResetSubjectName(int32_t nItemIndex) override {} | 315 void ResetSubjectName(int32_t nItemIndex) override {} |
316 FX_BOOL IsTopItem() const override { return TRUE; } | 316 FX_BOOL IsTopItem() const override { return TRUE; } |
317 const CPWL_Note* GetNote() const override; | 317 const CPWL_Note* GetNote() const override; |
318 IPWL_NoteNotify* GetNoteNotify() const override; | 318 IPWL_NoteNotify* GetNoteNotify() const override; |
(...skipping 23 matching lines...) Expand all Loading... |
342 CPWL_ScrollBar* m_pContentsBar; | 342 CPWL_ScrollBar* m_pContentsBar; |
343 CPWL_Note_Options* m_pOptions; | 343 CPWL_Note_Options* m_pOptions; |
344 IPWL_NoteNotify* m_pNoteNotify; | 344 IPWL_NoteNotify* m_pNoteNotify; |
345 FX_BOOL m_bResizing; | 345 FX_BOOL m_bResizing; |
346 PWL_SCROLL_INFO m_OldScrollInfo; | 346 PWL_SCROLL_INFO m_OldScrollInfo; |
347 FX_BOOL m_bEnableNotify; | 347 FX_BOOL m_bEnableNotify; |
348 CFX_WideString m_sReplyString; | 348 CFX_WideString m_sReplyString; |
349 }; | 349 }; |
350 | 350 |
351 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_NOTE_H_ | 351 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_NOTE_H_ |
OLD | NEW |