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

Side by Side Diff: fpdfsdk/include/pdfwindow/PWL_Icon.h

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/include/pdfwindow/PWL_FontMap.h ('k') | fpdfsdk/include/pdfwindow/PWL_Label.h » ('j') | 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 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICON_H_ 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICON_H_
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICON_H_ 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICON_H_
9 9
10 #include "../../../core/include/fxcrt/fx_string.h" 10 #include "../../../core/include/fxcrt/fx_string.h"
11 #include "PWL_Wnd.h" 11 #include "PWL_Wnd.h"
12 12
13 class PWL_CLASS CPWL_Image : public CPWL_Wnd 13 class PWL_CLASS CPWL_Image : public CPWL_Wnd
14 { 14 {
15 public: 15 public:
16 CPWL_Image(); 16 CPWL_Image();
17 virtual ~CPWL_Image(); 17 virtual ~CPWL_Image();
18 18
19 virtual CFX_ByteString GetImageAppStream(); 19 virtual CFX_ByteString GetImageAppStream();
20 20
21 virtual void GetScale(FX_FLOAT & fHSc ale,FX_FLOAT & fVScale); 21 virtual void GetScale(FX_FLOAT & fHSc ale,FX_FLOAT & fVScale);
22 virtual void GetImageOffset(FX_FLOAT & x,FX_FLOAT & y); 22 virtual void GetImageOffset(FX_FLOAT & x,FX_FLOAT & y);
23 virtual CPDF_Stream * GetPDFStream(); 23 virtual CPDF_Stream * GetPDFStream();
24 24
25 public: 25 public:
26 void SetPDFStream(CPD F_Stream* pStream); 26 void SetPDFStream(CPD F_Stream* pStream);
27 void GetImageSize(FX_ FLOAT & fWidth,FX_FLOAT & fHeight); 27 void GetImageSize(FX_ FLOAT & fWidth,FX_FLOAT & fHeight);
28 CPDF_Matrix GetImageMatrix() ; 28 CPDF_Matrix GetImageMatrix() ;
29 CFX_ByteString GetImageAlias(); 29 CFX_ByteString GetImageAlias();
30 » void» » » » » » » SetImageAlias(FX _LPCSTR sImageAlias); 30 » void» » » » » » » SetImageAlias(co nst FX_CHAR* sImageAlias);
31 31
32 protected: 32 protected:
33 CPDF_Stream* m_pPDFStream; 33 CPDF_Stream* m_pPDFStream;
34 CFX_ByteString m_sImageAlias; 34 CFX_ByteString m_sImageAlias;
35 }; 35 };
36 36
37 class PWL_CLASS CPWL_Icon : public CPWL_Image 37 class PWL_CLASS CPWL_Icon : public CPWL_Image
38 { 38 {
39 public: 39 public:
40 CPWL_Icon(); 40 CPWL_Icon();
(...skipping 10 matching lines...) Expand all
51 FX_BOOL GetFittingBounds (); 51 FX_BOOL GetFittingBounds ();
52 52
53 void SetIconFit(CPDF_ IconFit * pIconFit){m_pIconFit = pIconFit;}; 53 void SetIconFit(CPDF_ IconFit * pIconFit){m_pIconFit = pIconFit;};
54 54
55 private: 55 private:
56 CPDF_IconFit * m_pIconFit; 56 CPDF_IconFit * m_pIconFit;
57 }; 57 };
58 58
59 59
60 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICON_H_ 60 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICON_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/pdfwindow/PWL_FontMap.h ('k') | fpdfsdk/include/pdfwindow/PWL_Label.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698