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

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

Issue 453133004: clang-format all code (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 6 years, 4 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
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 _PWL_ICON_H_ 7 #ifndef _PWL_ICON_H_
8 #define _PWL_ICON_H_ 8 #define _PWL_ICON_H_
9 9
10 class PWL_CLASS CPWL_Image : public CPWL_Wnd 10 class PWL_CLASS CPWL_Image : public CPWL_Wnd {
11 { 11 public:
12 public: 12 CPWL_Image();
13 » CPWL_Image(); 13 virtual ~CPWL_Image();
14 » virtual ~CPWL_Image();
15 14
16 » virtual CFX_ByteString» » » GetImageAppStream(); 15 virtual CFX_ByteString GetImageAppStream();
17 16
18 » virtual void» » » » » GetScale(FX_FLOAT & fHSc ale,FX_FLOAT & fVScale); 17 virtual void GetScale(FX_FLOAT& fHScale, FX_FLOAT& fVScale);
19 » virtual void» » » » » GetImageOffset(FX_FLOAT & x,FX_FLOAT & y); 18 virtual void GetImageOffset(FX_FLOAT& x, FX_FLOAT& y);
20 » virtual CPDF_Stream *» » » GetPDFStream(); 19 virtual CPDF_Stream* GetPDFStream();
21 20
22 public: 21 public:
23 » void» » » » » » » SetPDFStream(CPD F_Stream* pStream);» 22 void SetPDFStream(CPDF_Stream* pStream);
24 » void» » » » » » » GetImageSize(FX_ FLOAT & fWidth,FX_FLOAT & fHeight); 23 void GetImageSize(FX_FLOAT& fWidth, FX_FLOAT& fHeight);
25 » CPDF_Matrix» » » » » » GetImageMatrix() ; 24 CPDF_Matrix GetImageMatrix();
26 » CFX_ByteString» » » » » GetImageAlias(); 25 CFX_ByteString GetImageAlias();
27 » void» » » » » » » SetImageAlias(FX _LPCSTR sImageAlias); 26 void SetImageAlias(FX_LPCSTR sImageAlias);
28 27
29 protected: 28 protected:
30 » CPDF_Stream*» » » » » m_pPDFStream; 29 CPDF_Stream* m_pPDFStream;
31 » CFX_ByteString» » » » » m_sImageAlias; 30 CFX_ByteString m_sImageAlias;
32 }; 31 };
33 32
34 class PWL_CLASS CPWL_Icon : public CPWL_Image 33 class PWL_CLASS CPWL_Icon : public CPWL_Image {
35 { 34 public:
36 public: 35 CPWL_Icon();
37 » CPWL_Icon(); 36 virtual ~CPWL_Icon();
38 » virtual ~CPWL_Icon();
39 37
40 » virtual CPDF_IconFit *» » » GetIconFit(){return m_pIconFit;} ; 38 virtual CPDF_IconFit* GetIconFit() { return m_pIconFit; };
41 39
42 » virtual void» » » » » GetScale(FX_FLOAT & fHSc ale,FX_FLOAT & fVScale); 40 virtual void GetScale(FX_FLOAT& fHScale, FX_FLOAT& fVScale);
43 » virtual void» » » » » GetImageOffset(FX_FLOAT & x,FX_FLOAT & y); 41 virtual void GetImageOffset(FX_FLOAT& x, FX_FLOAT& y);
44 42
45 » FX_INT32» » » » » » GetScaleMethod() ; 43 FX_INT32 GetScaleMethod();
46 » FX_BOOL»» » » » » » IsProportionalSc ale(); 44 FX_BOOL IsProportionalScale();
47 » void» » » » » » » GetIconPosition( FX_FLOAT & fLeft, FX_FLOAT & fBottom); 45 void GetIconPosition(FX_FLOAT& fLeft, FX_FLOAT& fBottom);
48 » FX_BOOL»» » » » » » GetFittingBounds (); 46 FX_BOOL GetFittingBounds();
49 47
50 » void» » » » » » » SetIconFit(CPDF_ IconFit * pIconFit){m_pIconFit = pIconFit;}; 48 void SetIconFit(CPDF_IconFit* pIconFit) { m_pIconFit = pIconFit; };
51 49
52 private: 50 private:
53 » CPDF_IconFit *» » » » » m_pIconFit; 51 CPDF_IconFit* m_pIconFit;
54 }; 52 };
55 53
56 54 #endif // !defined(AFX_PWL_BUTTON_H__5A6080AA_33C5_4FC9_91FC_D9644C41120A__INCL UDED_)
57 #endif // !defined(AFX_PWL_BUTTON_H__5A6080AA_33C5_4FC9_91FC_D9644C41120A__INCLU DED_)
58
59
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698