| 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_SIGNATURE_H_ | 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_SIGNATURE_H_ |
| 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_SIGNATURE_H_ | 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_SIGNATURE_H_ |
| 9 | 9 |
| 10 #include "PWL_Icon.h" | 10 #include "PWL_Icon.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 { | 36 { |
| 37 public: | 37 public: |
| 38 CPWL_Signature(); | 38 CPWL_Signature(); |
| 39 virtual ~CPWL_Signature(); | 39 virtual ~CPWL_Signature(); |
| 40 | 40 |
| 41 void SetText(
const FX_WCHAR* sText); | 41 void SetText(
const FX_WCHAR* sText); |
| 42 void SetDescr
iption(const FX_WCHAR* string); | 42 void SetDescr
iption(const FX_WCHAR* string); |
| 43 void SetImage
(CFX_DIBSource* pImage); | 43 void SetImage
(CFX_DIBSource* pImage); |
| 44 void SetImage
Stream(CPDF_Stream * pStream, const FX_CHAR* sImageAlias); | 44 void SetImage
Stream(CPDF_Stream * pStream, const FX_CHAR* sImageAlias); |
| 45 | 45 |
| 46 » void» » » » » » » » SetTextF
lag(FX_BOOL bTextExist); | 46 » void» » » » » » » » SetTextF
lag(bool bTextExist); |
| 47 » void» » » » » » » » SetImage
Flag(FX_BOOL bImageExist); | 47 » void» » » » » » » » SetImage
Flag(bool bImageExist); |
| 48 » void» » » » » » » » SetFoxit
Flag(FX_BOOL bFlagExist); | 48 » void» » » » » » » » SetFoxit
Flag(bool bFlagExist); |
| 49 | 49 |
| 50 protected: | 50 protected: |
| 51 virtual void RePosChildWnd(); | 51 virtual void RePosChildWnd(); |
| 52 virtual void CreateChildWnd(c
onst PWL_CREATEPARAM & cp); | 52 virtual void CreateChildWnd(c
onst PWL_CREATEPARAM & cp); |
| 53 | 53 |
| 54 virtual void DrawThisAppearan
ce(CFX_RenderDevice* pDevice, CPDF_Matrix* pUser2Device); | 54 virtual void DrawThisAppearan
ce(CFX_RenderDevice* pDevice, CPDF_Matrix* pUser2Device); |
| 55 virtual void GetThisAppearanc
eStream(CFX_ByteTextBuf & sAppStream); | 55 virtual void GetThisAppearanc
eStream(CFX_ByteTextBuf & sAppStream); |
| 56 | 56 |
| 57 private: | 57 private: |
| 58 CPWL_Label* m_pText; | 58 CPWL_Label* m_pText; |
| 59 CPWL_Label* m_pDescr
iption; | 59 CPWL_Label* m_pDescr
iption; |
| 60 CPWL_Signature_Image* m_pImage; | 60 CPWL_Signature_Image* m_pImage; |
| 61 | 61 |
| 62 » FX_BOOL»» » » » » » » m_bTextE
xist; | 62 » bool» » » » » » » » m_bTextE
xist; |
| 63 » FX_BOOL»» » » » » » » m_bImage
Exist; | 63 » bool» » » » » » » » m_bImage
Exist; |
| 64 » FX_BOOL»» » » » » » » m_bFlagE
xist; | 64 » bool» » » » » » » » m_bFlagE
xist; |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_SIGNATURE_H_ | 67 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_SIGNATURE_H_ |
| OLD | NEW |