Merge to XFA: Use stdint.h types throughout PDFium.
[pdfium.git] / fpdfsdk / include / pdfwindow / PWL_Icon.h
index 4a084fd..c09f7a9 100644 (file)
@@ -4,8 +4,11 @@
  
 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
 
-#ifndef _PWL_ICON_H_
-#define _PWL_ICON_H_
+#ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICON_H_
+#define FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICON_H_
+
+#include "../../../core/include/fxcrt/fx_string.h"
+#include "PWL_Wnd.h"
 
 class PWL_CLASS CPWL_Image : public CPWL_Wnd
 {
@@ -42,7 +45,7 @@ public:
        virtual void                                    GetScale(FX_FLOAT & fHScale,FX_FLOAT & fVScale);
        virtual void                                    GetImageOffset(FX_FLOAT & x,FX_FLOAT & y);
 
-       FX_INT32                                                GetScaleMethod();
+       int32_t                                         GetScaleMethod();
        FX_BOOL                                                 IsProportionalScale();
        void                                                    GetIconPosition(FX_FLOAT & fLeft, FX_FLOAT & fBottom);
        FX_BOOL                                                 GetFittingBounds();
@@ -54,6 +57,4 @@ private:
 };
 
 
-#endif // !defined(AFX_PWL_BUTTON_H__5A6080AA_33C5_4FC9_91FC_D9644C41120A__INCLUDED_)
-
-
+#endif  // FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICON_H_