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 _PWL_ICON_H_ | 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICON_H_ |
8 #define _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 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 void GetIconPosition(
FX_FLOAT & fLeft, FX_FLOAT & fBottom); | 50 void GetIconPosition(
FX_FLOAT & fLeft, FX_FLOAT & fBottom); |
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 // !defined(AFX_PWL_BUTTON_H__5A6080AA_33C5_4FC9_91FC_D9644C41120A__INCLU
DED_) | 60 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICON_H_ |
61 | |
62 | |
OLD | NEW |