| 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 XFA_SRC_FWL_BASEWIDGET_FWL_PICTUREBOXIMP_H_ | 7 #ifndef XFA_FWL_BASEWIDGET_FWL_PICTUREBOXIMP_H_ |
| 8 #define XFA_SRC_FWL_BASEWIDGET_FWL_PICTUREBOXIMP_H_ | 8 #define XFA_FWL_BASEWIDGET_FWL_PICTUREBOXIMP_H_ |
| 9 | 9 |
| 10 #include "xfa/src/fwl/core/fwl_widgetimp.h" | 10 #include "xfa/fwl/core/fwl_widgetimp.h" |
| 11 | 11 |
| 12 class CFWL_WidgetImpProperties; | 12 class CFWL_WidgetImpProperties; |
| 13 class IFWL_Widget; | 13 class IFWL_Widget; |
| 14 class CFWL_PictureBoxImpDelegate; | 14 class CFWL_PictureBoxImpDelegate; |
| 15 | 15 |
| 16 class CFWL_PictureBoxImp : public CFWL_WidgetImp { | 16 class CFWL_PictureBoxImp : public CFWL_WidgetImp { |
| 17 public: | 17 public: |
| 18 CFWL_PictureBoxImp(const CFWL_WidgetImpProperties& properties, | 18 CFWL_PictureBoxImp(const CFWL_WidgetImpProperties& properties, |
| 19 IFWL_Widget* pOuter); | 19 IFWL_Widget* pOuter); |
| 20 ~CFWL_PictureBoxImp(); | 20 ~CFWL_PictureBoxImp(); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 43 class CFWL_PictureBoxImpDelegate : public CFWL_WidgetImpDelegate { | 43 class CFWL_PictureBoxImpDelegate : public CFWL_WidgetImpDelegate { |
| 44 public: | 44 public: |
| 45 CFWL_PictureBoxImpDelegate(CFWL_PictureBoxImp* pOwner); | 45 CFWL_PictureBoxImpDelegate(CFWL_PictureBoxImp* pOwner); |
| 46 FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics, | 46 FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics, |
| 47 const CFX_Matrix* pMatrix = NULL) override; | 47 const CFX_Matrix* pMatrix = NULL) override; |
| 48 | 48 |
| 49 protected: | 49 protected: |
| 50 CFWL_PictureBoxImp* m_pOwner; | 50 CFWL_PictureBoxImp* m_pOwner; |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 #endif // XFA_SRC_FWL_BASEWIDGET_FWL_PICTUREBOXIMP_H_ | 53 #endif // XFA_FWL_BASEWIDGET_FWL_PICTUREBOXIMP_H_ |
| OLD | NEW |