Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(495)

Side by Side Diff: fpdfsdk/src/pdfwindow/PWL_Signature.cpp

Issue 1171733003: Remove typdefs for pointer types in fx_system.h (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Manual fixes. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fpdfsdk/src/pdfwindow/PWL_Note.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "../../include/pdfwindow/PDFWindow.h" 7 #include "../../include/pdfwindow/PDFWindow.h"
8 #include "../../include/pdfwindow/PWL_Wnd.h" 8 #include "../../include/pdfwindow/PWL_Wnd.h"
9 #include "../../include/pdfwindow/PWL_Icon.h" 9 #include "../../include/pdfwindow/PWL_Icon.h"
10 #include "../../include/pdfwindow/PWL_Signature.h" 10 #include "../../include/pdfwindow/PWL_Signature.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 m_bImageExist = bImageExist; 92 m_bImageExist = bImageExist;
93 93
94 RePosChildWnd(); 94 RePosChildWnd();
95 } 95 }
96 96
97 void CPWL_Signature::SetFoxitFlag(FX_BOOL bFlagExist) 97 void CPWL_Signature::SetFoxitFlag(FX_BOOL bFlagExist)
98 { 98 {
99 m_bFlagExist = bFlagExist; 99 m_bFlagExist = bFlagExist;
100 } 100 }
101 101
102 void CPWL_Signature::SetText(FX_LPCWSTR sText) 102 void CPWL_Signature::SetText(const FX_WCHAR* sText)
103 { 103 {
104 m_pText->SetText(sText); 104 m_pText->SetText(sText);
105 105
106 RePosChildWnd(); 106 RePosChildWnd();
107 } 107 }
108 108
109 void CPWL_Signature::SetDescription(FX_LPCWSTR string) 109 void CPWL_Signature::SetDescription(const FX_WCHAR* string)
110 { 110 {
111 m_pDescription->SetText(string); 111 m_pDescription->SetText(string);
112 112
113 RePosChildWnd(); 113 RePosChildWnd();
114 } 114 }
115 115
116 void CPWL_Signature::SetImage(CFX_DIBSource* pImage) 116 void CPWL_Signature::SetImage(CFX_DIBSource* pImage)
117 { 117 {
118 m_pImage->SetImage(pImage); 118 m_pImage->SetImage(pImage);
119 119
120 RePosChildWnd(); 120 RePosChildWnd();
121 } 121 }
122 122
123 void CPWL_Signature::SetImageStream(CPDF_Stream * pStream, FX_LPCSTR sImageAlias ) 123 void CPWL_Signature::SetImageStream(CPDF_Stream * pStream, const FX_CHAR* sImage Alias)
124 { 124 {
125 m_pImage->SetPDFStream(pStream); 125 m_pImage->SetPDFStream(pStream);
126 m_pImage->SetImageAlias(sImageAlias); 126 m_pImage->SetImageAlias(sImageAlias);
127 127
128 RePosChildWnd(); 128 RePosChildWnd();
129 } 129 }
130 130
131 void CPWL_Signature::RePosChildWnd() 131 void CPWL_Signature::RePosChildWnd()
132 { 132 {
133 CPDF_Rect rcClient = GetClientRect(); 133 CPDF_Rect rcClient = GetClientRect();
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 pDevice->DrawPath(&path, pUser2Device, &gsd, 0, ArgbEncode(255,255,0,0), FXFILL_ALTERNATE); 211 pDevice->DrawPath(&path, pUser2Device, &gsd, 0, ArgbEncode(255,255,0,0), FXFILL_ALTERNATE);
212 */ 212 */
213 } 213 }
214 214
215 void CPWL_Signature::GetThisAppearanceStream(CFX_ByteTextBuf & sAppStream) 215 void CPWL_Signature::GetThisAppearanceStream(CFX_ByteTextBuf & sAppStream)
216 { 216 {
217 CPWL_Wnd::GetThisAppearanceStream(sAppStream); 217 CPWL_Wnd::GetThisAppearanceStream(sAppStream);
218 } 218 }
219 219
220 220
OLDNEW
« no previous file with comments | « fpdfsdk/src/pdfwindow/PWL_Note.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698